Changeset 10624 for code/trunk/src/modules/designtools/ScreenshotManager.cc
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/modules/designtools/ScreenshotManager.cc
r9667 r10624 45 45 #include "core/config/ConfigValueIncludes.h" 46 46 #include "core/GraphicsManager.h" 47 #include "core/ PathConfig.h"47 #include "core/ConfigurablePaths.h" 48 48 #include "core/Resource.h" 49 #include "core/command/ConsoleCommand .h"50 #include " util/ScopedSingletonManager.h"49 #include "core/command/ConsoleCommandIncludes.h" 50 #include "core/singleton/ScopedSingletonIncludes.h" 51 51 #include "util/StringUtils.h" 52 52 … … 61 61 SetConsoleCommand("printScreenHD", &ScreenshotManager::makeScreenshot_s); 62 62 63 ManageScopedSingleton(ScreenshotManager, ScopeID::Graphics, false); 63 ManageScopedSingleton(ScreenshotManager, ScopeID::GRAPHICS, false); 64 65 RegisterAbstractClass(ScreenshotManager).inheritsFrom<Configurable>(); 64 66 65 67 /** … … 152 154 { 153 155 // Save it. 154 finalImage->save( PathConfig::getInstance().getLogPathString() + "screenshot_" + getTimestamp() + this->fileExtension_);156 finalImage->save(ConfigurablePaths::getLogPathString() + "screenshot_" + getTimestamp() + this->fileExtension_); 155 157 delete finalImage; 156 158 orxout(user_info) << "Finished taking " << this->gridSize_*this->windowWidth_ << "x" << this->gridSize_*this->windowHeight_ << " pixel HD screenshot. Storing in log/." << endl;
Note: See TracChangeset
for help on using the changeset viewer.