several changes..
2 * GraphLCD driver library
4 * driver.h - driver base class
6 * parts were taken from graphlcd plugin for the Video Disc Recorder
7 * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
9 * This file is released under the GNU General Public License. Refer
10 * to the COPYING file distributed with this package.
12 * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
15 #ifndef _GLCDDRIVERS_DRIVER_H_
16 #define _GLCDDRIVERS_DRIVER_H_
32 int Width() const { return width; }
33 int Height() const { return height; }
35 virtual int Init() { return 0; }
36 virtual int DeInit() { return 0; }
38 virtual void Clear() {}
39 virtual void Set8Pixels(int x, int y, unsigned char data) {}
40 virtual void SetScreen(const unsigned char * data, int width, int height, int lineSize);
41 virtual void Refresh(bool refreshAll = false) {}
42 virtual void SetBrightness(unsigned int percent) {}
43 virtual bool HasKeys();