Reputation: 11026
I've done little project that has scenes that i can change. Now i'm going to implement GUI using CEGUI. For each scene i want to use different layout and i want to create little wrapper that replaces layouts on screen change, so i don't need to implement something special in each scene to change layouts.
Upvotes: 1
Views: 289
Reputation: 11026
I've found in one tutorial these lines:
CEGUI::Window *guiRoot = CEGUI::WindowManager::getSingleton().loadWindowLayout("TextDemo.layout");
CEGUI::System::getSingleton().setGUISheet(guiRoot);
They've answered my question.
Upvotes: 1