View Single Post
Old 04-14-2007, 04:35 PM   #1
fenrian1
A Shissar Defiler
 
fenrian1's Avatar
 
Join Date: Jun 2005
Posts: 164
Interface Author - Click to view interfaces
Default Idea/suggestion for info display

While making my veliouse UI, I was stumped by the contradiction in needs of pet class characters between raiding and grouping. In an effort to make a mod that would work for both casual usage when pets dont have many bufs and raiding where all 30 need to be visible, I stumbled on an interesting solution.

The pet window is short and wide with a scrollable buf window that displays 6 accross and 5 down, this is fine for casual usage. There is then a window that is positioned in the upper left corner of the screen that displays all 30 bufs, this window can be minimized when not needed.

What I did was create a set of nested windows. Since buttons will only work when they are within the physical bounds of the parent window, the minimize button for the hovering buf list is in the pet window. The minimize button position is hard coded so it always appears in the title bar as well.

I started by makeing a custom window template using an clear corner of window_pieces01 for the title bar, then made a screen item using this template and sized it to about 15x10, this is about as small as you can make the window and still display the minimize button. I then created another window using WTD_Def2 that had the buf list in it. I set the <RelativePosition> to false, I could then position the list any where on the screen using the X and Y locations. The buf list is nested inside the custom screen, and the custom screen is nested inside the pet window. The minimize box in the custom screen will minimize the buf list screen. All the code is part of the pet window and since the element is outside the bounds of the parent, you can click through it.

After I was done I realized this could be used in many ways to improve UI moding, I have no plans to start another UI atm, so I thoght I would share some of my ideas in hopes that others will use of think of ideas of their own.

A portal style UI could be fashoined using only the EQMain window as the parent to hold all the graphics, you would then have a frame for your UI that you can click through.

Stats could be minimized or poped up depending on the group and class needs. Backgrounds for the pop ups could be made to fit with existing static windows so the UI would grow or shrink as needed.

Click through maps.

It might be possible to position things like the con indicator, flashing attack indicator and ooc icon inside another window with out complicated window layering(I plan to try this for next release of Veliouse to get rid of the xml error).

Pretty much the entire UI can be reduced to a set of button holders with click through elements to display infos.

Hope some people feel some inspiration from these ideas, they have me feeling a bit excited.

Fen
fenrian1 is offline   Reply With Quote