7 #include <lib/gdi/esize.h>
8 #include <lib/gdi/erect.h>
10 #define LCD_CONTRAST_MIN 0
11 #define LCD_CONTRAST_MAX 63
12 #define LCD_BRIGHTNESS_MIN 0
13 #define LCD_BRIGHTNESS_MAX 255
19 unsigned char *_buffer;
30 __u8 *buffer() { return (__u8*)_buffer; }
31 int stride() { return _stride; }
32 eSize size() { return res; }
34 virtual void update()=0;
37 class eDBoxLCD: public eLCD
39 static eDBoxLCD *instance;
40 unsigned char inverted;
42 static eDBoxLCD *getInstance();
43 int switchLCD(int state);
44 int setLCDParameter(int brightness, int contrast);
45 void setInverted( unsigned char );