summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 6bd32ec2..b45bc15c 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -119,6 +119,11 @@ class Graphics : public gcn::SDLGraphics {
*/
int getHeight();
+ /**
+ * takes a screenshot, and saves it as a png
+ */
+ bool saveScreenshot(char *filename, ...);
+
protected:
SDL_Surface *mScreen;
bool mFullscreen, mHWAccel;