summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index dc26ac05e..2973bc006 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -193,6 +193,15 @@ class SurfaceGraphics 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(const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect)
+ { }
+
protected:
BlitMode mBlitMode;
SDL_Surface *mTarget;