Hiding CEGUI

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Banania
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Wed Jan 12, 2005 12:06
Location: Paris, France

Hiding CEGUI

Postby Banania » Tue Nov 02, 2004 13:19

Hi,

Is there a way to hide CEGUI quickly when I don't need the GUI ?

I could hide all my windows one by one but I'd rather use a more global approach if there is one, something like

System::getSingleton().hideGUI();

Is there a proper way to do that?
Banania

User avatar
Emmeran
Quite a regular
Quite a regular
Posts: 46
Joined: Wed Jan 12, 2005 12:06
Location: Germany, near Nuremberg
Contact:

Hiding CEGUI

Postby Emmeran » Tue Nov 02, 2004 14:40

why don't you hide the DefaultGUISheet?

Code: Select all

System::getSingleton().getGUISheet()->hide();

User avatar
Banania
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Wed Jan 12, 2005 12:06
Location: Paris, France

Hiding CEGUI

Postby Banania » Tue Nov 02, 2004 15:03

Thanks, I'll try that !
Banania

User avatar
Banania
Not too shy to talk
Not too shy to talk
Posts: 38
Joined: Wed Jan 12, 2005 12:06
Location: Paris, France

Hiding CEGUI

Postby Banania » Tue Nov 02, 2004 15:08

Exactly what I was looking for. It works fine !

Thanks again.
Banania


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests