diff options
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index 93b2977d6..8567b4c1f 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -170,12 +170,9 @@ 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(int x, int y, int w, int h, - const ImageRect &imgRect); + virtual void drawImageRect(const int x, const int y, + const int w, const int h, + const ImageRect &imgRect) = 0; bool calcImageRect(ImageVertexes *const vert, const int x, const int y, @@ -215,14 +212,6 @@ class Graphics : public gcn::Graphics const int w, const int h, const ImageRect &imgRect) = 0; - /** - * Draws a rectangle using images. 4 corner images, 4 side images and 1 - * image for the inside. - */ - inline void drawImageRect(const gcn::Rectangle &area, - const ImageRect &imgRect) - { drawImageRect(area.x, area.y, area.width, area.height, imgRect); } - virtual void fillRectangle(const gcn::Rectangle& rectangle) override = 0; |