summaryrefslogtreecommitdiff
path: root/plugingui/pixelbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r--plugingui/pixelbuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h
index 21a6ceb..2b73503 100644
--- a/plugingui/pixelbuffer.h
+++ b/plugingui/pixelbuffer.h
@@ -29,6 +29,8 @@
#include <stdlib.h>
+#include "colour.h"
+
namespace GUI {
class PixelBuffer {
@@ -69,6 +71,8 @@ public:
unsigned char blue,
unsigned char alpha);
+ void addPixel(size_t x, size_t y, Colour c);
+
void pixel(size_t x, size_t y,
unsigned char *red,
unsigned char *green,