summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphic/graphic.h')
-rw-r--r--src/graphic/graphic.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h
index a3701531..5b61bb28 100644
--- a/src/graphic/graphic.h
+++ b/src/graphic/graphic.h
@@ -103,6 +103,18 @@ class Graphics : public gcn::AllegroGraphics {
~Graphics();
/**
+ * Draws a rectangle using 4 corner images, 4 side images and 1 image
+ * for the inside.
+ */
+ void drawImageRect(
+ int x, int y, int w, int h,
+ Image *topLeft, Image *topRight,
+ Image *bottomLeft, Image *bottomRight,
+ Image *top, Image *right,
+ Image *bottom, Image *left,
+ Image *center);
+
+ /**
* Updates the screen. This is done by either copying the buffer to the
* screen or swapping pages.
*/