HostInterface: Add SaveScreenshot() method

This commit is contained in:
Connor McLaughlin
2020-03-16 00:03:57 +10:00
parent 2bb992a702
commit 6b68512ac1
2 changed files with 42 additions and 3 deletions

View File

@ -78,6 +78,9 @@ public:
/// Stops dumping audio to file if it has been started.
void StopDumpingAudio();
/// Saves a screenshot to the specified file. IF no file name is provided, one will be generated automatically.
bool SaveScreenshot(const char* filename = nullptr, bool full_resolution = true, bool apply_aspect_ratio = true);
virtual void ReportError(const char* message);
virtual void ReportMessage(const char* message);
virtual bool ConfirmMessage(const char* message);