EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   ExamineItem Window(title) (https://www.eq2interface.com/forums/showthread.php?t=5314)

Loktha 01-01-2006 01:36 AM

ExamineItem Window(title)
 
For the life of me, I can't figure out how to get the title to work properly. It is supposed to change depending on what your examining (armor, weapon, book, etc.)

The only thing it shows is the text I've inputed in the xml file(weapon), no matter what kind of item I examine in game.

I've compared the code to numerous files from other mods(that work properly) and I still can't get it to work.

What am I missing?

Deathbane27 01-01-2006 05:43 AM

The name is still WC_Title, right?

(Or just Title located at Examine.ExamineItem.WindowFrame.LeftGrouper should also work.)

Loktha 01-01-2006 02:42 PM

I did not know the name was so important. I'm not using groupers in the custom UI I'm building. Switching the name from Title to WC_Title did fix the problem.

Thanks Deathbane :)

Follow up question, since I'm learning as I work. What makes the name WC_Title so special? Is it defined somewhere else that I haven't found? Or how about WC_Frame or WC_Background? Is this something I'm going to have to re-examine with my other windows as well?

Thanks in advance.

Deathbane27 01-01-2006 03:45 PM

Possibly. There's various hard-coded elements within each window. Giving them certain names will give them certain functions, even in custom windows. I refer to it as "pushed data". Think of the server delivering a package to a specific person, and no one else can have it. "Your eyes only" type of deal. :p

WC_Title recieves the window title.

Buttons named WC_Close, WC_Help, and WC_Options get hard-coded Press functions.

Page objects WC_Frame, WC_Titlebar, and WC_Background (And whatever the new context is) respond to the Window Options settings.


All times are GMT -5. The time now is 06:11 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI