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
[SOLVED] Catch all CEGUI's event...
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
You're correct about how that's supposed to work, although in the 0.6.x series I introduced an issue that means it's not always reliable
If you encounter issues, you may have to subscribe some handlers to windows that just return true - this way the inject functions will also return true.
Sorry about the aggro!
CE.
You're correct about how that's supposed to work, although in the 0.6.x series I introduced an issue that means it's not always reliable
Sorry about the aggro!
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: Baidu [Spider] and 25 guests
