Changeset 6749 for code/trunk/src
- Timestamp:
- Apr 16, 2010, 8:13:36 PM (15 years ago)
- Location:
- code/trunk/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GUIManager.cc
r6746 r6749 127 127 resourceProvider_->setDefaultResourceGroup("GUI"); 128 128 129 // setup scripting129 // Setup scripting 130 130 luaState_.reset(new LuaState()); 131 131 rootFileInfo_ = Resource::getInfo("InitialiseGUI.lua"); … … 142 142 this->ceguiLogger_ = ceguiLogger.release(); 143 143 144 // create the CEGUI system singleton144 // Create the CEGUI system singleton 145 145 guiSystem_.reset(new System(guiRenderer_.get(), resourceProvider_, 0, scriptModule_.get())); 146 146 … … 160 160 this->rootWindow_->addChildWindow(this->hudRootWindow_); 161 161 this->rootWindow_->addChildWindow(this->menuRootWindow_); 162 163 // No background to start with (sets the alpha value to 0) 164 this->setBackgroundImage(""); 162 165 163 166 // Set up the sheet manager in the Lua framework -
code/trunk/src/libraries/core/GUIManager.h
r6746 r6749 107 107 108 108 void executeCode(const std::string& str); 109 110 109 template <typename FunctionType> 111 110 bool protectedCall(FunctionType function); … … 120 119 void mouseMoved (IntVector2 abs, IntVector2 rel, IntVector2 clippingSize); 121 120 void mouseScrolled (int abs, int rel); 121 122 122 scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine 123 123 scoped_ptr<LuaState> luaState_; //!< LuaState, access point to the Lua engine
Note: See TracChangeset
for help on using the changeset viewer.