MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / loadGuiSheet

Method loadGuiSheet

source/render/Gui.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void Gui::loadGuiSheet(guiSheet newSheet)
118{
119 CEGUI::System::getSingletonPtr()->getDefaultGUIContext().setRootWindow(mSheets[newSheet]);
120 // This shouldn't be needed, but the gui seems to not allways change when using hideGui without it.
121 CEGUI::System::getSingletonPtr()->getDefaultGUIContext().markAsDirty();
122}
123
124CEGUI::Window* Gui::getGuiSheet(guiSheet sheet)
125{

Callers 13

activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80
activateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected