EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > Bugs

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-27-2004, 08:04 PM
Imadruid Imadruid is offline
A Dervish Cutthroat
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 38
Default Window Frames being Overwritten

Every interface file I have had modified so far has had a bug in it.

First some background. It appears that EQII renders the PAGEs in reverse order. When parsing the XML file, it renders the last thing in the PAGE first, then proceeds to render things before that. Example:

<page>
<icon>
<text>
<backdrop>
<window_frame>
</page>

This will first draw the window_frame, then the backdrop, then the text, and finally the icon. This can cause you problems if things aren't positioned properly. You may find that one object overwrites another. This can actually be put to good use one you understand how it works.

The problem I have been experiencing is that the default UI XML files all have the backdrop and window frame as the last things in the file. What this means, is that anytime you resize a window smaller than largest PAGE, the PAGE objects end up overwriting the frame of the window.

By moving the WC_Frame PAGE to be the very first thing in the initial PAGE, this alleviates the problem.

So, instead of having

<page>
<text>
<icon>
<wc_frame>
<wc_backdrop>
</page>

I now use:

<page>
<wc_frame>
<text>
<icon>
<wc_backdrop>
</page>

Hope that is clear, if not let me know and I'll see how I can word it different.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:46 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI