diff options
Diffstat (limited to 'src/render/sdlgraphics.h')
-rw-r--r-- | src/render/sdlgraphics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/sdlgraphics.h b/src/render/sdlgraphics.h index c705368e9..1b447c4a4 100644 --- a/src/render/sdlgraphics.h +++ b/src/render/sdlgraphics.h @@ -143,6 +143,13 @@ class SDLGraphics final : public Graphics void completeCache() override final; + /** + * Draws a rectangle using images. 4 corner images, 4 side images and 1 + * image for the inside. + */ + void drawImageRect(int x, int y, int w, int h, + const ImageRect &imgRect); + protected: int SDL_FakeUpperBlit(const SDL_Surface *const src, SDL_Rect *const srcrect, |