summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
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: