summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-25 19:24:56 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-25 19:24:56 +0000
commit7cd9c0d02d148cdbacbca6624d8749a344ddbfe0 (patch)
tree8b8b61611584fe45c1f0908fb9b468559468d858 /src/openglgraphics.h
parent2c7d0b3518d72a7ab0726b72f7d2137e5944f049 (diff)
downloadmana-client-7cd9c0d02d148cdbacbca6624d8749a344ddbfe0.tar.gz
mana-client-7cd9c0d02d148cdbacbca6624d8749a344ddbfe0.tar.bz2
mana-client-7cd9c0d02d148cdbacbca6624d8749a344ddbfe0.tar.xz
mana-client-7cd9c0d02d148cdbacbca6624d8749a344ddbfe0.zip
Reduce code duplication.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index 434999bb..e303c803 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -54,9 +54,11 @@ class OpenGLGraphics : public Graphics
void drawLine(int x1, int y1, int x2, int y2);
- void drawRectangle(const gcn::Rectangle& rectangle);
+ void _drawRectangle(const gcn::Rectangle &rect, bool filled);
- void fillRectangle(const gcn::Rectangle &rectangle);
+ void drawRectangle(const gcn::Rectangle &rect);
+
+ void fillRectangle(const gcn::Rectangle &rect);
void setTargetPlane(int width, int height);