Changeset 7971 for code/branches/kicklib/src/libraries
- Timestamp:
- Feb 26, 2011, 8:13:15 PM (14 years ago)
- Location:
- code/branches/kicklib/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/libraries/core/GUIManager.cc
r7968 r7971 157 157 #ifdef ORXONOX_OLD_CEGUI 158 158 scriptModule_ = new LuaScriptModule(luaState_->getInternalLuaState()); 159 luaState_->doString("ORXONOX_OLD_CEGUI = true"); 159 160 #else 160 161 scriptModule_ = &LuaScriptModule::create(luaState_->getInternalLuaState()); -
code/branches/kicklib/src/libraries/core/GUIManager.h
r7968 r7971 120 120 static void setItemTooltipsEnabledHelper(CEGUI::Listbox* listbox, bool enabled); //tolua_export 121 121 122 static bool isCEGUIVersion7(void) { return CEGUIVERSION7; } // tolua_export123 124 122 static GUIManager& getInstance() { return Singleton<GUIManager>::getInstance(); } // tolua_export 125 123 … … 156 154 CEGUI::OgreCEGUIRenderer* guiRenderer_; //!< CEGUI's interface to the Ogre Engine 157 155 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider 158 static const bool CEGUIVERSION7 = false;159 156 #else 160 157 CEGUI::OgreRenderer* guiRenderer_; //!< CEGUI's interface to the Ogre Engine 161 158 CEGUI::OgreResourceProvider* resourceProvider_; //!< CEGUI's resource provider 162 159 CEGUI::OgreImageCodec* imageCodec_; 163 static const bool CEGUIVERSION7 = true;164 160 #endif 165 161 LuaState* luaState_; //!< LuaState, access point to the Lua engine
Note: See TracChangeset
for help on using the changeset viewer.