#include <string>
Include dependency graph for screenshot.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | video |
Functions | |
| bool | takeScreenshot (video::IVideoDriver *driver, std::string &filename_out) |
| Take a screenshot and save it to disk. | |
| bool takeScreenshot | ( | video::IVideoDriver * | driver, |
| std::string & | filename_out ) |
Take a screenshot and save it to disk.
| driver | Video driver to use for the screenshot |
| filename_out | Output parameter that receives the path to the saved screenshot |
References fs::CreateAllDirs(), DIR_DELIM, errorstream, fmtgettext(), g_settings, Settings::get(), Settings::getS32(), infostream, fs::IsPathAbsolute(), itos(), mt_localtime(), porting::path_user, fs::PathExists(), rangelim(), sanity_check, and SCREENSHOT_MAX_SERIAL_TRIES.
Referenced by Client::makeScreenshot(), and GUIEngine::run().
Here is the call graph for this function:
Here is the caller graph for this function: