EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-01-2006, 01:36 AM
Loktha's Avatar
Loktha Loktha is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Server: Crushbone
Posts: 87
Default 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?
Reply With Quote
  #2  
Unread 01-01-2006, 05:43 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

The name is still WC_Title, right?

(Or just Title located at Examine.ExamineItem.WindowFrame.LeftGrouper should also work.)
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 01-01-2006 at 05:45 AM.
Reply With Quote
  #3  
Unread 01-01-2006, 02:42 PM
Loktha's Avatar
Loktha Loktha is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Server: Crushbone
Posts: 87
Default

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.
Reply With Quote
  #4  
Unread 01-01-2006, 03:45 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

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.

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.
__________________
If it ain't broke, it needs more features!
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 05:46 PM.


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