View Single Post
  #8  
Unread 11-21-2008, 06:05 PM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default

I'm not sure we're all on the same page or we each interpreted Zonx's idea in a different way.

gm9, why couldn't the cell size be based on the "basic" or "advanced" pages? It's not really calculating it from the element sizes.

Lets say that the basic page contains name, archetype, health, power and speaking icon. The size of the basic page might be 200,20. The advanced page would only contain the effect icons (or whatever else you guys wanted to add) and the size would completely overlap the basic page plus whatever other space you needed. So in the default UI, the advanced page might be 320,20. So if a user puts the raid window in advanced mode, the cell size would be 320x120(20*6) but in basic mode it would be (200,120). These values would be defined in the UI files because they are taken straight from the sizes of the basic and advanced pages.

If you wanted to design a vertical raid window with the icons underneath the name then the basic page would still be 200,20 and the advanced page would be 200,40. So when the user puts it in advanced mode, now the cell size becomes 200,240 (40*6).

All that the 'hard-coding' would do is change the cell size based on the basic or advanced page size but allow us to toggle the mode with a right-click window or user command instead of having to do it with a UI element.
Reply With Quote