View Single Post
  #23  
Unread 07-30-2010, 06:30 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Regarding the Clock...

The way this window's visibility was handled in the past provided us with a mechanism for initializing custom windows and login scripts. I'm a little concerned the change to "hidden by default" will break this mechanism.

Would it be possible for you to include an "Initialization" window who's sole purpose is to fire "UIdidLoad" and "UIdidReload" events, guaranteed to fire after the rest of the UI finished rendering and was populated with data?

UIDidLoad would be a login only event.
UIdidReload would fire any other time the UI was reinitialized from XML.

This window would need to be scriptable but should have no rendered elements.

Edit: Optionally it could use existing event handlers if pushed off screen. Hidden to start, force a show after UI renders, then toggle Activate on/off for a reload.

Last edited by Zonx : 07-30-2010 at 06:36 AM.
Reply With Quote