From 00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 18:19:40 +0300 Subject: add drawImageRect into each renderer. but copy function body to shared file. --- src/render/surfacegraphics.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/render/surfacegraphics.h') 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; -- cgit v1.2.3-70-g09d2