diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-24 15:31:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | b70bbf075a20524e6c1859fb18db0865c65182ca (patch) | |
tree | d5c4974d004da809b2e723b2b883faabfb95ae2f /src/resources/sdlimagehelper.h | |
parent | 8f670620dbf4c8092e9f834f9d65cbc607b81511 (diff) | |
download | mv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.gz mv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.bz2 mv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.xz mv-b70bbf075a20524e6c1859fb18db0865c65182ca.zip |
move surface combination into sdlimagehelper.
Diffstat (limited to 'src/resources/sdlimagehelper.h')
-rw-r--r-- | src/resources/sdlimagehelper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index 0aa3001b0..6f53c75ef 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -92,6 +92,11 @@ class SDLImageHelper final : public ImageHelper SDL_Surface *create32BitSurface(int width, int height) const override; + static int combineSurface(SDL_Surface *const src, + SDL_Rect *const srcrect, + SDL_Surface *const dst, + SDL_Rect *const dstrect); + protected: /** SDL_Surface to SDL_Surface Image loader */ Image *_SDLload(SDL_Surface *tmpImage) const A_WARN_UNUSED; |