From 6872cb2a97571258e5b4ef863eccd8ceec00f58a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 15:02:21 +0300 Subject: Improve drawImageRect in renderers. --- src/render/graphics.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/render/graphics.h') diff --git a/src/render/graphics.h b/src/render/graphics.h index e1d4f1ec4..93d2c5276 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -145,7 +145,7 @@ class Graphics : public gcn::Graphics void drawImage(const gcn::Image* image A_UNUSED, int srcX A_UNUSED, int srcY A_UNUSED, int dstX A_UNUSED, int dstY A_UNUSED, - int width A_UNUSED, int height A_UNUSED) override + int width A_UNUSED, int height A_UNUSED) override final { } @@ -170,21 +170,6 @@ class Graphics : public gcn::Graphics const int scaledWidth, const int scaledHeight) = 0; - /** - * 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 Image *const topLeft, - const Image *const topRight, - const Image *const bottomLeft, - const Image *const bottomRight, - const Image *const top, - const Image *const right, - const Image *const bottom, - const Image *const left, - const Image *const center); - /** * Draws a rectangle using images. 4 corner images, 4 side images and 1 * image for the inside. -- cgit v1.2.3-60-g2f50