5 #include <lib/gdi/esize.h>
6 #include <lib/gdi/erect.h>
8 #define LCD_CONTRAST_MIN 0
9 #define LCD_CONTRAST_MAX 63
10 #define LCD_BRIGHTNESS_MIN 0
11 #define LCD_BRIGHTNESS_MAX 255
21 unsigned char *_buffer;
29 int islocked() { return locked; }
33 __u8 *buffer() { return (__u8*)_buffer; }
34 int stride() { return _stride; }
35 eSize size() { return res; }
37 virtual void update()=0;
41 class eDBoxLCD: public eLCD
43 static eDBoxLCD *instance;
44 unsigned char inverted;
55 static eDBoxLCD *getInstance();
56 int setLCDContrast(int contrast);
57 int setLCDBrightness(int brightness);
58 void setInverted( unsigned char );