summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-24 13:47:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-24 13:47:19 +0100
commit72544c3aa7005e6f0e60a505923b6afae4eba84d (patch)
tree2a6940e5d6dffcd8c97a525f904661826a6292f7 /plugingui/painter.h
parentfbbfa1144e7bdaa0071ab7d27e447056e2e423c1 (diff)
Added box (image) renderer.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h12
1 files changed, 12 insertions, 0 deletions
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: