Code: Select all
CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton();
mGUIRenderer = new CEGUI::OgreCEGUIRenderer(mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mSceneMgr);
CEGUI::WindowManager* mGUImngr = new CEGUI::WindowManager();
mGUISystem = new CEGUI::System(mGUIRenderer);
mEditorGuiSheet = CEGUI::WindowManager::getSingleton().createWindow("DefaultWindow", "root");
CEGUI::System::getSingleton().setGUISheet(mEditorGuiSheet);
Code: Select all