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
17 unsigned char *_buffer;
24 int islocked() { return locked; }
29 __u8 *buffer() { return (__u8*)_buffer; }
30 int stride() { return _stride; }
31 eSize size() { return res; }
33 virtual void update()=0;
36 class eDBoxLCD: public eLCD
38 static eDBoxLCD *instance;
39 unsigned char inverted;
41 static eDBoxLCD *getInstance();
42 int setLCDParameter(int brightness, int contrast);
43 void setInverted( unsigned char );