summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index a0749795..18a3be51 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -120,6 +120,11 @@ class Graphics : public gcn::SDLGraphics {
int getHeight();
/**
+ * takes a screenshot, and saves it as a png
+ */
+ bool saveScreenshot();
+
+ /**
* takes a screenshot and returns it as SDL surface
*/
virtual SDL_Surface* getScreenshot();
@@ -127,6 +132,8 @@ class Graphics : public gcn::SDLGraphics {
protected:
SDL_Surface *mScreen;
bool mFullscreen, mHWAccel;
+ private:
+ int screenshotsCount;
};
#endif