Changeset 5695 for code/trunk/src/core/GUIManager.h
- Timestamp:
- Aug 30, 2009, 2:22:00 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/resource2 (added) merged: 3373-3374,5594,5597,5610-5611,5614,5624,5641,5644-5646,5650-5664,5667-5672,5682-5684,5688-5691,5694
- Property svn:mergeinfo changed
-
code/trunk/src/core/GUIManager.h
r5693 r5695 28 28 */ 29 29 30 /**31 @file32 @brief33 Declaration of the GUIManager class.34 */35 36 30 #ifndef _GUIManager_H__ 37 31 #define _GUIManager_H__ … … 43 37 #include <CEGUIForwardRefs.h> 44 38 #include <boost/scoped_ptr.hpp> 39 #include <boost/shared_ptr.hpp> 45 40 46 41 #include "util/OgreForwardRefs.h" … … 67 62 friend class Singleton<GUIManager>; 68 63 public: 69 GUIManager(Ogre::RenderWindow* renderWindow );64 GUIManager(Ogre::RenderWindow* renderWindow, const std::pair<int, int>& mousePosition, bool bFullScreen); 70 65 ~GUIManager(); 71 66 … … 87 82 GUIManager(const GUIManager& instance); //!< private and undefined copy c'tor (this is a singleton class) 88 83 89 void loadLuaCode();90 91 84 // keyHandler functions 92 85 void keyPressed (const KeyEvent& evt); … … 99 92 void mouseScrolled (int abs, int rel); 100 93 101 boost::scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine 102 boost::scoped_ptr<CEGUI::LuaScriptModule> scriptModule_; //!< CEGUI's script module to use Lua 103 boost::scoped_ptr<CEGUI::System> guiSystem_; //!< CEGUI's main system 104 Ogre::RenderWindow* renderWindow_; //!< Ogre's render window to give CEGUI access to it 105 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider 106 CEGUI::Logger* ceguiLogger_; //!< CEGUI's logger to be able to log CEGUI errors in our log 107 lua_State* luaState_; //!< Lua state, access point to the Lua engine 108 std::map<std::string, PlayerInfo*> players_; //!< Stores the player (owner) for each gui 94 scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine 95 scoped_ptr<LuaState> luaState_; //!< LuaState, access point to the Lua engine 96 scoped_ptr<CEGUI::LuaScriptModule> scriptModule_; //!< CEGUI's script module to use Lua 97 scoped_ptr<CEGUI::System> guiSystem_; //!< CEGUI's main system 98 shared_ptr<ResourceInfo> rootFileInfo_; //!< Resource information about the root script 99 Ogre::RenderWindow* renderWindow_; //!< Ogre's render window to give CEGUI access to it 100 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider 101 CEGUI::Logger* ceguiLogger_; //!< CEGUI's logger to be able to log CEGUI errors in our log 102 std::map<std::string, PlayerInfo*> players_; //!< Stores the player (owner) for each gui 109 103 110 static GUIManager* singletonPtr_s;//!< Singleton reference to GUIManager104 static GUIManager* singletonPtr_s; //!< Singleton reference to GUIManager 111 105 112 106 };
Note: See TracChangeset
for help on using the changeset viewer.