SOLVED - how can I temporarily disable mouse events?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Arcanor
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Sat Jan 27, 2007 14:03
Contact:

SOLVED - how can I temporarily disable mouse events?

Postby Arcanor » Wed Mar 28, 2007 19:53

I'm using the following:

Code: Select all

CEGUI::MouseCursor::getSingleton().setMutedState(true);

... but when I double-click the cegui window's title bar it is still "rolling up". I would expect that in the muted state it shouldn't respond to the double-click. is that wrong?

I've also tried this with:

Code: Select all

CEGUI::System::getSingleton().setMutedState(true);

... but I still have same problem, as the cegui window continues to respond to the double-click event against my wishes.

How can I temporarily disable mouse events?
Last edited by Arcanor on Wed Mar 28, 2007 22:54, edited 1 time in total.
Arcanoria - a SMORPG project - http://www.arcanoria.com

Arcanor
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Sat Jan 27, 2007 14:03
Contact:

Postby Arcanor » Wed Mar 28, 2007 22:54

I have resolved this with the following code:

Code: Select all

CEGUI::System::getSingleton().getGUISheet()->setEnabled(false);
Arcanoria - a SMORPG project - http://www.arcanoria.com


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests