Hiding the whole GUI?

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

blablub
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Tue Mar 01, 2011 11:56

Hiding the whole GUI?

Postby blablub » Mon Jul 04, 2011 17:34

Hi,

is there a way to hide (and later show again) the whole GUI?

Something like this?
CEGUI::System::getSingleton().renderGUI(false);

I can't just hide the root DefaultWindow from the layout. Problem is: If someone changes the name of it, I had to change the source code, because the Windows are accessed by its names (then the Window->hide() wouldn't work anymore because the Windows name doesn't exist anymore). I also have more than one Layout, where the root DefaultWindow have different names -> same problem.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Hiding the whole GUI?

Postby Kulik » Mon Jul 04, 2011 20:36

CEGUI::System::getSingleton().getGUISheet()->hide() ?
and ->show() of course


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests