dont show display contrast setting in display setup when a oled is detected
[enigma2.git] / lib / gdi / lcd.h
index 6ee4dbe..e45d88b 100644 (file)
@@ -42,6 +42,7 @@ class eDBoxLCD: public eLCD
 {
        static eDBoxLCD *instance;
        unsigned char inverted;
+       int is_oled;
 #ifdef SWIG
        eDBoxLCD();
        ~eDBoxLCD();
@@ -55,6 +56,7 @@ public:
        int setLCDContrast(int contrast);
        int setLCDBrightness(int brightness);
        void setInverted( unsigned char );
+       bool isOled() const { return !!is_oled; }
        void update();
 };