Hi all,
I have a strange problem with a window containing 4 buttons.
I use that window instead of a menu. During rendering my scenes I set the window to visible(false) and enabled(false). But if I press the left mouse button it flickers. I do not understand why a disabled window is receiving mouse events and why it flickers if I set it to invisible.
So there are 2 possiblities:
- I misunderstood the decumentaion
- or its an irrlicht bug
I could not found a possibility to tell the window NOT to receive mouse inputs.
Did anybody know this problem or found a similar problem ?
Thanks for hints.
Alex
invisble and disabled iwindow flickers
invisble and disabled iwindow flickers
Any fool can make things bigger, more complex, and more violent. It takes a touch of genius-and a lot of courage-to move in the opposite direction.
(Albert Einstein)
(Albert Einstein)
Hmm... maybe a bit too simple.. but i try it anyway:
in the "addWindow"-Method there is a parameter called "bool modal".. set it to false... maybe it works...
alternatively you can disable guienv->drawAll() while the scenes are rendering
you could also set the parents of the Elements to the guiRoot (guienv->getRootGUIElement())
or much simpler... place the window out the screen and when you want to use it, place it back ^^
in the "addWindow"-Method there is a parameter called "bool modal".. set it to false... maybe it works...
alternatively you can disable guienv->drawAll() while the scenes are rendering
you could also set the parents of the Elements to the guiRoot (guienv->getRootGUIElement())
or much simpler... place the window out the screen and when you want to use it, place it back ^^
IrrLicht v0.14
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
Audiere Sounds-API v1.9.3
Current Project: KoulesXD