Page 1 of 1

Hiding CEGUI

Posted: Tue Nov 02, 2004 13:19
by Banania
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?

Hiding CEGUI

Posted: Tue Nov 02, 2004 14:40
by Emmeran
why don't you hide the DefaultGUISheet?

Code: Select all

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

Hiding CEGUI

Posted: Tue Nov 02, 2004 15:03
by Banania
Thanks, I'll try that !

Hiding CEGUI

Posted: Tue Nov 02, 2004 15:08
by Banania
Exactly what I was looking for. It works fine !

Thanks again.