Changeset 5911 for code/branches/core5/src/libraries/core
- Timestamp:
- Oct 8, 2009, 10:56:29 PM (15 years ago)
- Location:
- code/branches/core5/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/GUIManager.cc
r5855 r5911 101 101 : renderWindow_(renderWindow) 102 102 , resourceProvider_(0) 103 , camera_(NULL) 103 104 { 104 105 using namespace CEGUI; … … 174 175 void GUIManager::setCamera(Ogre::Camera* camera) 175 176 { 177 this->camera_ = camera; 176 178 if (camera == NULL) 177 179 this->guiRenderer_->setTargetSceneManager(0); -
code/branches/core5/src/libraries/core/GUIManager.h
r5738 r5911 71 71 72 72 void setCamera(Ogre::Camera* camera); 73 Ogre::Camera* getCamera() { return this->camera_; } 73 74 74 75 static GUIManager* getInstancePtr() { return singletonPtr_s; } … … 101 102 CEGUI::Logger* ceguiLogger_; //!< CEGUI's logger to be able to log CEGUI errors in our log 102 103 std::map<std::string, PlayerInfo*> players_; //!< Stores the player (owner) for each gui 104 Ogre::Camera* camera_; //!< Camera used to render the scene with the GUI 103 105 104 106 static GUIManager* singletonPtr_s; //!< Singleton reference to GUIManager
Note: See TracChangeset
for help on using the changeset viewer.