diff options
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r-- | plugingui/painter.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h index 467e612..02b8aba 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -69,6 +69,21 @@ public: void drawFilledCircle(int x, int y, int r); void drawImage(int x, int y, struct __img__ * img); void drawImage(int x, int y, Image *image); + void drawImageStretched(int x0, int y0, GUI::Image *image, + size_t width, size_t height); + + typedef struct { + Image *topLeft; + Image *top; + Image *topRight; + Image *left; + Image *right; + Image *bottomLeft; + Image *bottom; + Image *bottomRight; + Image *center; + } Box; + void drawBox(int x, int y, Box *box, int width, int height); void clear(); |