Thread: Custom Window
View Single Post
  #4  
Unread 06-30-2008, 03:36 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Quote:
Originally Posted by shotokan View Post
How do you actually make a 'window'?
Well, you start off by making a file for it, for example eq2ui_custom_mywindow.xml. You then edit eq2ui_custom.xml and add an include for that window (ie, add: <include>eq2ui_custom_mywindow.xml</include>).

After that, you edit the new window file you made to include whatever you want. I recommend starting with an existing window if you don't know a lot about the UI, but either way you have to start with the <?xml ?> tag that you see in all of the UI files, then a <Page> (and at the end, </Page>) container that everything goes inside of. (The <?xml tag is self closing, i.e. it doesn't have a corresponding end tag anywhere).

If you could tell us what you would want this window to do, we might be able to help a bit more.
Reply With Quote