summaryrefslogtreecommitdiff
path: root/glcddrivers/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'glcddrivers/image.h')
-rw-r--r--glcddrivers/image.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/glcddrivers/image.h b/glcddrivers/image.h
index 3e39e3f..2d3cb71 100644
--- a/glcddrivers/image.h
+++ b/glcddrivers/image.h
@@ -7,7 +7,9 @@
* This file is released under the GNU General Public License. Refer
* to the COPYING file distributed with this package.
*
- * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ * (c) 2004-2010 Andreas Regel <andreas.regel AT powarman.de>
+ * (c) 2010-2011 Wolfgang Astleitner <mrwastl AT users sourceforge net>
+ Andreas 'randy' Weinberger
*/
#ifndef _GLCDDRIVERS_IMAGE_H_
@@ -24,10 +26,8 @@ class cDriverConfig;
class cDriverImage : public cDriver
{
private:
- unsigned char * newLCD;
- unsigned char * oldLCD;
- cDriverConfig * config;
- cDriverConfig * oldConfig;
+ uint32_t * newLCD;
+ uint32_t * oldLCD;
int lineSize;
int counter;
@@ -41,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);
};