[SOLVED] Catch all CEGUI's event...
Posted: Sun Feb 01, 2009 09:30
Hi all,
is there a method to control (test a bool value) if CEGUI has recive a know-event (for example windows-dragging) so i can inject (or not) input to my application?
for a mouse click is simple: in the handler i set a boolean and after i test it (before a new injection of input i reset to false) but for default events??
so:
if there are valid inputs in CEGUI i don't want any input in my application
if no input in CEGUI -> input in my application
otherwise can i test if the mouse is enter in the window and so set a bool value...is it correct?
EDIT: i am a NOOB!!! i see return value of CEGUI's inject input and now i test it...if the return value is TRUE i don't inject input in my application.
thanks
is there a method to control (test a bool value) if CEGUI has recive a know-event (for example windows-dragging) so i can inject (or not) input to my application?
for a mouse click is simple: in the handler i set a boolean and after i test it (before a new injection of input i reset to false) but for default events??
so:
if there are valid inputs in CEGUI i don't want any input in my application
if no input in CEGUI -> input in my application
otherwise can i test if the mouse is enter in the window and so set a bool value...is it correct?
EDIT: i am a NOOB!!! i see return value of CEGUI's inject input and now i test it...if the return value is TRUE i don't inject input in my application.
thanks