Changeset 5935 for code/branches/pickup/src/libraries/core/GUIManager.cc
- Timestamp:
- Oct 13, 2009, 5:05:17 PM (16 years ago)
- Location:
- code/branches/pickup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup
- Property svn:mergeinfo changed
-
code/branches/pickup/src/libraries/core/GUIManager.cc
r5781 r5935 49 49 #endif 50 50 51 #include "util/Clock.h" 51 52 #include "util/Debug.h" 52 53 #include "util/Exception.h" 53 54 #include "util/OrxAssert.h" 54 55 #include "Core.h" 55 #include "Clock.h"56 56 #include "LuaState.h" 57 #include "PathConfig.h" 57 58 #include "Resource.h" 58 59 … … 62 63 { 63 64 public: 64 65 void logEvent(const CEGUI::String& message, CEGUI::LoggingLevel level = CEGUI::Standard) 65 66 { 66 67 int orxonoxLevel = CEGUI::Standard; … … 100 101 : renderWindow_(renderWindow) 101 102 , resourceProvider_(0) 103 , camera_(NULL) 102 104 { 103 105 using namespace CEGUI; … … 116 118 // Create our own logger to specify the filepath 117 119 std::auto_ptr<CEGUILogger> ceguiLogger(new CEGUILogger()); 118 ceguiLogger->setLogFilename( Core::getLogPathString() + "cegui.log");120 ceguiLogger->setLogFilename(PathConfig::getLogPathString() + "cegui.log"); 119 121 // set the log level according to ours (translate by subtracting 1) 120 122 ceguiLogger->setLoggingLevel( … … 173 175 void GUIManager::setCamera(Ogre::Camera* camera) 174 176 { 177 this->camera_ = camera; 175 178 if (camera == NULL) 176 179 this->guiRenderer_->setTargetSceneManager(0);
Note: See TracChangeset
for help on using the changeset viewer.