summaryrefslogtreecommitdiff
path: root/src/resources/screenshothelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-16 01:03:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-16 01:03:19 +0300
commit78fb544aeb8761e8d554487487bc27e610822e2d (patch)
tree45ec42f5dcba94cd391f54a4cef2c017d7318d38 /src/resources/screenshothelper.h
parentfcdc44b21bda79052205ca1884b7f3a1ebd32957 (diff)
downloadplus-78fb544aeb8761e8d554487487bc27e610822e2d.tar.gz
plus-78fb544aeb8761e8d554487487bc27e610822e2d.tar.bz2
plus-78fb544aeb8761e8d554487487bc27e610822e2d.tar.xz
plus-78fb544aeb8761e8d554487487bc27e610822e2d.zip
Use screenshort helpers for creating screenshots
Diffstat (limited to 'src/resources/screenshothelper.h')
-rw-r--r--src/resources/screenshothelper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/screenshothelper.h b/src/resources/screenshothelper.h
index bde76c15a..5c5545387 100644
--- a/src/resources/screenshothelper.h
+++ b/src/resources/screenshothelper.h
@@ -38,11 +38,11 @@ class ScreenshotHelper notfinal
virtual ~ScreenshotHelper()
{ }
- virtual void prepare(const int width,
- const int height) = 0;
+ virtual void prepare() = 0;
- virtual SDL_Surface *getScreenshot(const int width,
- const int height) = 0;
+ virtual SDL_Surface *getScreenshot() = 0;
};
+extern ScreenshotHelper *screenshortHelper;
+
#endif // RESOURCES_SCREENSHOTHELPER_H