Changeset 1653 for code/branches/gui/src/orxonox/gui/GUIManager.cc
- Timestamp:
- Aug 5, 2008, 9:50:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gui/GUIManager.cc
r1646 r1653 29 29 /** 30 30 @file 31 @brief Implementation of the GUIManager class. 31 @brief 32 Implementation of the GUIManager class. 32 33 */ 33 34 … … 120 121 { 121 122 // get the render window 122 renderWindow_ = GraphicsEngine::get Singleton().getRenderWindow();123 renderWindow_ = GraphicsEngine::getInstance().getRenderWindow(); 123 124 124 125 // Full screen viewport with Z order = 0 (top most). Don't yet feed a camera (so nothing gets rendered) … … 150 151 151 152 // register us as input handler 152 SimpleInputState* state = InputManager::getInstance().create SimpleInputState("gui", 30);153 SimpleInputState* state = InputManager::getInstance().createInputState<SimpleInputState>("gui", 30); 153 154 state->setHandler(this); 154 155 state->setJoyStickHandler(new EmptyHandler()); … … 159 160 catch (CEGUI::Exception& ex) 160 161 { 161 #if CEGUI_VERSION_M INOR < 6162 #if CEGUI_VERSION_MAJOR == 0 && CEGUI_VERSION_MINOR < 6 162 163 throw GeneralException(ex.getMessage().c_str()); 163 164 #else
Note: See TracChangeset
for help on using the changeset viewer.