X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgdi%2Flcd.h;h=e45d88b210289848973a72196dcbe035e59c3250;hb=359c44f6b67d705044412f527448fda2800d34bf;hp=11749c64a2ec99ce35770120c650e086c1f73aa5;hpb=85f2616ef78700cf2639992abaf1011ecaa897bd;p=vuplus_dvbapp diff --git a/lib/gdi/lcd.h b/lib/gdi/lcd.h index 11749c6..e45d88b 100644 --- a/lib/gdi/lcd.h +++ b/lib/gdi/lcd.h @@ -42,6 +42,7 @@ class eDBoxLCD: public eLCD { static eDBoxLCD *instance; unsigned char inverted; + int is_oled; #ifdef SWIG eDBoxLCD(); ~eDBoxLCD(); @@ -52,9 +53,10 @@ public: ~eDBoxLCD(); #endif static eDBoxLCD *getInstance(); - int eDBoxLCD::setLCDContrast(int contrast); - int eDBoxLCD::setLCDBrightness(int brightness); + int setLCDContrast(int contrast); + int setLCDBrightness(int brightness); void setInverted( unsigned char ); + bool isOled() const { return !!is_oled; } void update(); };