From 72544c3aa7005e6f0e60a505923b6afae4eba84d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 24 Mar 2013 13:47:19 +0100 Subject: Added box (image) renderer. --- plugingui/painter.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugingui/painter.h') diff --git a/plugingui/painter.h b/plugingui/painter.h index 467e612..4341fc3 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -70,6 +70,18 @@ public: void drawImage(int x, int y, struct __img__ * img); void drawImage(int x, int y, Image *image); + typedef struct { + Image *topLeft; + Image *top; + Image *topRight; + Image *left; + Image *right; + Image *bottomLeft; + Image *bottom; + Image *bottomRight; + } Box; + void drawBox(int x, int y, Box *box, int width, int height); + void clear(); private: -- cgit v1.2.3