summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-17 14:55:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-17 14:55:48 +0100
commitd369bbe7164dd35e75a7bad9e7b5497512bb5fe9 (patch)
treee5077f726ffe80016f7609af4a84f548b06b6546 /plugingui/painter.h
parent0f981dab5d477e82abe4b01f6477193707997f7d (diff)
Added PNG loadin support through a new Image class.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h
index f236369..467e612 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -33,6 +33,7 @@
#include "colour.h"
#include "pixelbuffer.h"
#include "font.h"
+#include "image.h"
namespace GUI {
@@ -67,6 +68,7 @@ public:
void drawCircle(int x, int y, double r);
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 clear();