From 5ea242d6b17e70f7d05898a89d112fdfa7222185 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 30 Mar 2013 16:57:46 +0100 Subject: Fix alpha blending. --- plugingui/pixelbuffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugingui/pixelbuffer.h') 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 +#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, -- cgit v1.2.3