Generalized subscriber routines...
Posted: Fri Jan 14, 2005 05:37
instead of something like (as in one of the demos):
can we get something like:
This would allow one to do some type of general event. It is pretty much given that the user will be obtaining the window pointer some way or another anyway for an event... so wouldn't it be easier than having to call WindowManager::getSingleton().getWindow(..)? This would also remove the necessity of looking up the window by a specific name via the getWindow proc, thus leaving out all layout-specific stuff.
-Derek
Code: Select all
bool handleRadio(const CEGUI::EventArgs& e)
can we get something like:
Code: Select all
bool handleRadioItems(Window *pWnd, const CEGUI::EventArgs& e)
This would allow one to do some type of general event. It is pretty much given that the user will be obtaining the window pointer some way or another anyway for an event... so wouldn't it be easier than having to call WindowManager::getSingleton().getWindow(..)? This would also remove the necessity of looking up the window by a specific name via the getWindow proc, thus leaving out all layout-specific stuff.
-Derek