summaryrefslogtreecommitdiff
path: root/plugingui/pixelbuffer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-06-04 18:36:00 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-06-04 18:37:42 +0200
commit3e747d769f63fde60f6095bd1ae7c651d4237f39 (patch)
tree92a5955413dac91972edf32b1824739038704720 /plugingui/pixelbuffer.h
parent538abc6cd8f4a5996640ec9800815fbac5c34b26 (diff)
Make Colour movabl;e and make Image contain a vector of Colour instead of raw char data.
Diffstat (limited to 'plugingui/pixelbuffer.h')
-rw-r--r--plugingui/pixelbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/pixelbuffer.h b/plugingui/pixelbuffer.h
index f07f9a8..8e7618d 100644
--- a/plugingui/pixelbuffer.h
+++ b/plugingui/pixelbuffer.h
@@ -69,7 +69,7 @@ public:
unsigned char blue,
unsigned char alpha);
- void addPixel(size_t x, size_t y, Colour c);
+ void addPixel(size_t x, size_t y, const Colour& c);
void pixel(size_t x, size_t y,
unsigned char* red,