Changeset 2962
- Timestamp:
- May 10, 2009, 11:38:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gui/GUIManager.h
r2896 r2962 41 41 #include <CEGUISystem.h> 42 42 #include "core/input/InputInterfaces.h" 43 #include <map> 44 #include "overlays/GUIOverlay.h" 43 45 44 46 // Forward declaration … … 87 89 void executeCode(const std::string& str); 88 90 91 bool registerOverlay(std::string name, GUIOverlay* overlay); //!< Register a GUIOverlay with the GUIManager. 92 GUIOverlay* getOverlay(std::string name); // Get the GUIOverlay of the GUI with the given name. 93 89 94 void setCamera(Ogre::Camera* camera); 90 95 … … 129 134 State state_; //!< reflects state of the GUIManager 130 135 136 std::map<std::string, GUIOverlay*> guiOverlays_;//!< A list of all GUIOverlay's. 137 131 138 static GUIManager* singletonRef_s; //!< Singleton reference to GUIManager 139 132 140 }; // tolua_export 133 141 } // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.