X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgdi%2Flcd.h;h=e7b4c2c47149be77d2d29de680c1ffc7379ba832;hp=99f921b525e16434bf6cb4dcf8c952b6a508f8d4;hb=d6dd733f6a7ade7f07b0721e576d66e56cf8b563;hpb=d764fc2a712770bff292b19cc6f815ad8cc55950 diff --git a/lib/gdi/lcd.h b/lib/gdi/lcd.h index 99f921b..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; @@ -29,12 +30,11 @@ public: 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 };