diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-18 00:45:38 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-18 00:45:38 +0000 |
commit | 8a8086d758d7618f3900df057ac840667e867d0c (patch) | |
tree | f1953a29a2b17e32fd18ab9be581c9ee2a8dbd8d /src/graphics.h | |
parent | 76892afa102fd814b3821c246547f28feb3d7394 (diff) | |
download | mana-8a8086d758d7618f3900df057ac840667e867d0c.tar.gz mana-8a8086d758d7618f3900df057ac840667e867d0c.tar.bz2 mana-8a8086d758d7618f3900df057ac840667e867d0c.tar.xz mana-8a8086d758d7618f3900df057ac840667e867d0c.zip |
Changed Graphics::saveScreenshot to Graphics::getScreenshot. Now using the ImageWriter to save that screenshot.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.h b/src/graphics.h index b45bc15c..a0749795 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -120,9 +120,9 @@ class Graphics : public gcn::SDLGraphics { int getHeight(); /** - * takes a screenshot, and saves it as a png + * takes a screenshot and returns it as SDL surface */ - bool saveScreenshot(char *filename, ...); + virtual SDL_Surface* getScreenshot(); protected: SDL_Surface *mScreen; |