diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-04 18:36:00 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-04 18:37:42 +0200 |
commit | 3e747d769f63fde60f6095bd1ae7c651d4237f39 (patch) | |
tree | 92a5955413dac91972edf32b1824739038704720 /plugingui/pixelbuffer.h | |
parent | 538abc6cd8f4a5996640ec9800815fbac5c34b26 (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.h | 2 |
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, |