summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 15:02:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 15:02:21 +0300
commit6872cb2a97571258e5b4ef863eccd8ceec00f58a (patch)
treecbb2d9b7440618a92e24229986e79680119786bc /src/render/graphics.h
parent31fcdb31fb406531bec49ee2d1b3cc286ed3b5a8 (diff)
downloadplus-6872cb2a97571258e5b4ef863eccd8ceec00f58a.tar.gz
plus-6872cb2a97571258e5b4ef863eccd8ceec00f58a.tar.bz2
plus-6872cb2a97571258e5b4ef863eccd8ceec00f58a.tar.xz
plus-6872cb2a97571258e5b4ef863eccd8ceec00f58a.zip
Improve drawImageRect in renderers.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h17
1 files changed, 1 insertions, 16 deletions
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
{
}
@@ -174,21 +174,6 @@ class Graphics : public gcn::Graphics
* 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.
- */
void drawImageRect(int x, int y, int w, int h,
const ImageRect &imgRect);