diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-16 01:03:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-16 01:03:19 +0300 |
commit | 78fb544aeb8761e8d554487487bc27e610822e2d (patch) | |
tree | 45ec42f5dcba94cd391f54a4cef2c017d7318d38 /src/resources/sdlscreenshothelper.h | |
parent | fcdc44b21bda79052205ca1884b7f3a1ebd32957 (diff) | |
download | mv-78fb544aeb8761e8d554487487bc27e610822e2d.tar.gz mv-78fb544aeb8761e8d554487487bc27e610822e2d.tar.bz2 mv-78fb544aeb8761e8d554487487bc27e610822e2d.tar.xz mv-78fb544aeb8761e8d554487487bc27e610822e2d.zip |
Use screenshort helpers for creating screenshots
Diffstat (limited to 'src/resources/sdlscreenshothelper.h')
-rw-r--r-- | src/resources/sdlscreenshothelper.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/resources/sdlscreenshothelper.h b/src/resources/sdlscreenshothelper.h index 2f873937d..ff0989cd6 100644 --- a/src/resources/sdlscreenshothelper.h +++ b/src/resources/sdlscreenshothelper.h @@ -20,8 +20,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef RESOURCES_SDL2IMAGEHELPER_H -#define RESOURCES_SDL2IMAGEHELPER_H +#ifndef RESOURCES_SDLSCREENSHOTHELPER_H +#define RESOURCES_SDLSCREENSHOTHELPER_H #include "resources/screenshothelper.h" @@ -36,11 +36,9 @@ class SdlScreenshotHelper final : public ScreenshotHelper ~SdlScreenshotHelper(); - void prepare(const int width, - const int height) override final; + void prepare() override final; - SDL_Surface *getScreenshot(const int width, - const int height) override final; + SDL_Surface *getScreenshot() override final; }; -#endif // RESOURCES_SDL2IMAGEHELPER_H +#endif // RESOURCES_SDLSCREENSHOTHELPER_H |