From 82d929736a6188583fe3283b8fa2ce776f3cca21 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Sat, 25 Jun 2011 21:52:54 +0200 Subject: adapt all drivers to support SetPixel() with 32bit colours; Set8Pixels() is no longer virtual (generic implementation in base class) --- glcddrivers/g15daemon.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'glcddrivers/g15daemon.h') diff --git a/glcddrivers/g15daemon.h b/glcddrivers/g15daemon.h index 33e3381..839102c 100644 --- a/glcddrivers/g15daemon.h +++ b/glcddrivers/g15daemon.h @@ -4,6 +4,8 @@ * g15daemon.h - pseudo device for the g15daemon * Output goes to the g15daemon which then displays it * + * (c) 2005-2010 Andreas Regel + * (c) 2011 Wolfgang Astleitner */ #ifndef _GLCDDRIVERS_G15DAEMON_H_ @@ -30,7 +32,6 @@ private: int zoom; int CheckSetup(); - void SetPixel(int x, int y, uint32_t data); public: cDriverG15daemon(cDriverConfig * config); @@ -40,7 +41,8 @@ public: virtual int DeInit(); virtual void Clear(); - virtual void Set8Pixels(int x, int y, unsigned char data); + virtual void SetPixel(int x, int y, uint32_t data); + //virtual void Set8Pixels(int x, int y, unsigned char data); virtual void Refresh(bool refreshAll = false); }; -- cgit v1.2.3