X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgdi%2Flcd.h;h=e7b4c2c47149be77d2d29de680c1ffc7379ba832;hb=0951e9fb3386f8f941a7756910ff7162ebb98a4a;hp=e45d88b210289848973a72196dcbe035e59c3250;hpb=1c21fe13bb453d0f11c8a40461b3bfe7dba5cef1;p=vuplus_dvbapp diff --git a/lib/gdi/lcd.h b/lib/gdi/lcd.h index e45d88b..e7b4c2c 100644 --- a/lib/gdi/lcd.h +++ b/lib/gdi/lcd.h @@ -13,10 +13,11 @@ class eLCD { #ifdef SWIG - eLCD(eSize size); + eLCD(); ~eLCD(); #else protected: + void setSize(int xres, int yres, int bpp); eSize res; unsigned char *_buffer; int lcdfd; @@ -27,13 +28,13 @@ public: int lock(); void unlock(); int islocked() { return locked; } + bool detected() { return lcdfd >= 0; } #ifndef SWIG - eLCD(eSize size); + eLCD(); virtual ~eLCD(); __u8 *buffer() { return (__u8*)_buffer; } int stride() { return _stride; } eSize size() { return res; } - virtual void update()=0; #endif };