From 3e747d769f63fde60f6095bd1ae7c651d4237f39 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 4 Jun 2016 18:36:00 +0200 Subject: Make Colour movabl;e and make Image contain a vector of Colour instead of raw char data. --- plugingui/pixelbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/pixelbuffer.h') 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, -- cgit v1.2.3