There are circumstances where I want to be able to handle these three events within a frame window: EventMouseButtonDown EventMouseButtonUp EventMouseMove
There are other times when I want to allow these to drive the framewindow sizing.
If I have subscribed to these events can I decide within the associated handler(s) to handle the events or not, and if not how can I tell CEGUI to go ahead and do the "framewindow sizing"?
EventMouseButtonDown EventMouseButtonUp EventMouseMove
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
I think with the way events are wired at present, there is no quick way of saying to the system "I have handled this event, do no further processing".
This means that in order to sometimes size and sometimes not to size you would have to enable / disable sizing in your handler before the FrameWindow sizing handler gets called (which, happily in these cases, is after your event subscribers).
So, it's possible, just may not be the cleanest solution you've ever made
This means that in order to sometimes size and sometimes not to size you would have to enable / disable sizing in your handler before the FrameWindow sizing handler gets called (which, happily in these cases, is after your event subscribers).
So, it's possible, just may not be the cleanest solution you've ever made

- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Who is online
Users browsing this forum: No registered users and 20 guests