Changeset 3338 for code/branches/resource/src/orxonox/gui/GUIManager.h
- Timestamp:
- Jul 23, 2009, 2:20:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/orxonox/gui/GUIManager.h
r3337 r3338 42 42 #include <string> 43 43 #include <CEGUIForwardRefs.h> 44 #include <boost/scoped_ptr.hpp> 44 45 45 46 #include "util/OgreForwardRefs.h" … … 67 68 // tolua_end 68 69 public: 69 /** 70 @enum State 71 The current state of the GUIManager. There should maybe be more (or we can omit this totally). 72 */ 73 enum State 74 { 75 Uninitialised, //!< Initial state of the GUIManager 76 Ready, //!< State after initialisation if ready 77 OnDisplay //!< State if GUI is displayed 78 }; 79 80 GUIManager(); 70 GUIManager(Ogre::RenderWindow* renderWindow); 81 71 ~GUIManager(); 82 83 bool initialise(Ogre::RenderWindow* renderWindow);84 72 85 73 void update(const Clock& time); … … 110 98 void mouseScrolled (int abs, int rel); 111 99 112 Ogre::RenderWindow* renderWindow_; //!< Ogre's render window to give CEGUI access to it113 CEGUI::OgreCEGUIRenderer* guiRenderer_; //!< CEGUI's interface to the Ogre Engine114 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider115 CEGUI::LuaScriptModule* scriptModule_; //!< CEGUI's script module to use Lua116 CEGUI:: Logger* ceguiLogger_; //!< CEGUI's logger to be able to log CEGUI errors in our log117 CEGUI:: System* guiSystem_; //!< CEGUI's main system118 lua_State* luaState_;//!< Lua state, access point to the Lua engine100 boost::scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine 101 boost::scoped_ptr<CEGUI::LuaScriptModule> scriptModule_; //!< CEGUI's script module to use Lua 102 boost::scoped_ptr<CEGUI::System> guiSystem_; //!< CEGUI's main system 103 Ogre::RenderWindow* renderWindow_; //!< Ogre's render window to give CEGUI access to it 104 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider 105 CEGUI::Logger* ceguiLogger_; //!< CEGUI's logger to be able to log CEGUI errors in our log 106 lua_State* luaState_; //!< Lua state, access point to the Lua engine 119 107 120 State state_; //!< reflects state of the GUIManager 121 122 static GUIManager* singletonRef_s; //!< Singleton reference to GUIManager 108 static GUIManager* singletonRef_s; //!< Singleton reference to GUIManager 123 109 124 110 }; // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.