Changeset 8704 for code/branches/presentation/src/libraries/core
- Timestamp:
- Jun 13, 2011, 2:35:18 PM (13 years ago)
- Location:
- code/branches/presentation/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/core/GUIManager.cc
r8647 r8704 262 262 COUT(3) << "Initialising CEGUI." << std::endl; 263 263 264 this->oldCEGUI_ = false; 265 264 266 // Note: No SceneManager specified yet 265 267 #ifdef ORXONOX_OLD_CEGUI 266 268 guiRenderer_ = new OgreCEGUIRenderer(GraphicsManager::getInstance().getRenderWindow(), Ogre::RENDER_QUEUE_OVERLAY, false, 3000); 267 269 resourceProvider_ = guiRenderer_->createResourceProvider(); 270 this->oldCEGUI_ = true; 268 271 #else 269 272 guiRenderer_ = &OgreRenderer::create(*GraphicsManager::getInstance().getRenderWindow()); -
code/branches/presentation/src/libraries/core/GUIManager.h
r8637 r8704 134 134 135 135 static GUIManager& getInstance() { return Singleton<GUIManager>::getInstance(); } // tolua_export 136 137 /** 138 @brief Check whether CEGUI is version < 0.7. 139 @return Returns true if the CEGUI version is < 0.7. False otherwise. 140 */ 141 inline bool usingOldCEGUI(void) { return this->oldCEGUI_; } // tolua_export 136 142 137 143 private: … … 186 192 static const std::string defaultScheme_; 187 193 std::string guiScheme_; 188 194 bool oldCEGUI_; 195 189 196 int numScrollLines_; ///< How many lines to scroll in a list if the scroll wheel is used 190 197
Note: See TracChangeset
for help on using the changeset viewer.