Hi to all. I'm working hard on CEGUI but now dont'found a solution for a layout problem..
My program auto generate all elements by code (no external files or schema)
I have a "Debug" FrameWindow on root and need it always visible and usable.
and a "GameGUI" DefaultWindow on it with default parameters to use as GUI elements page container (not overlayed to Debug).
Debug is always visible but as a ghost and I can't click or move it.
Can I make "GameGUI" DefaultWindow background trasparent for events to get access to "Debug" window?
I tried setModalState setClipped distributesCapturedInputs but not work.
Can you help me?
Thanks.
[Solved] ghost window on back layer: need Pass Through
Moderators: CEGUI MVP, CEGUI Team
[Solved] ghost window on back layer: need Pass Through
Last edited by fixus971 on Sun May 17, 2009 08:16, edited 1 time in total.
Il calcolatore è straordinariamente veloce, accurato e stupido.
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
-
- Quite a regular
- Posts: 74
- Joined: Mon Apr 28, 2008 23:21
- Location: Australia
Re: ghost window on root because free DefaultWindow on front
Im not sure I understand, but i'll try to help .
If you want the backgroud to not be visible set the BackgroundEnabled property. If you do that you also may want to set the FrameEnabled property aswell.
However it seems to me that you want mouse clicks to get through to the debug window? If so you can set the MousePassThroughEnabled property to true on the GameGUI window.
You might also like this link:
http://www.cegui.org.uk/wiki/index.php/SetProperty
HTH.
ER.
If you want the backgroud to not be visible set the BackgroundEnabled property. If you do that you also may want to set the FrameEnabled property aswell.
However it seems to me that you want mouse clicks to get through to the debug window? If so you can set the MousePassThroughEnabled property to true on the GameGUI window.
You might also like this link:
http://www.cegui.org.uk/wiki/index.php/SetProperty
HTH.
ER.
Re: ghost window on root because free DefaultWindow on front
Thanks for your reply earthsruler
You understand my problem and give me a good explanation:
This night I'll try MousePassThroughEnabled.
Thanks!!
You understand my problem and give me a good explanation:
This night I'll try MousePassThroughEnabled.
Thanks!!
Il calcolatore è straordinariamente veloce, accurato e stupido.
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
[Solved] ghost window on back layer: need Pass Through Enabl
Hi. I try and all run well!
For a complete information, for others friends..
I'm found and used this code that begin with set..
Thanks Again
For a complete information, for others friends..
I'm found and used this code that begin with set..
Code: Select all
fw->setMousePassThroughEnabled(true);
Thanks Again
Il calcolatore è straordinariamente veloce, accurato e stupido.
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
Gli uomini sono incredibilmente lenti, imprecisi e creativi.
L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)
Who is online
Users browsing this forum: No registered users and 13 guests