dont show display contrast setting in display setup when a oled is detected
[enigma2.git] / lib / gdi / lcd.h
index 6ee4dbe73465783ff25d5c19b3b45f9d2246f6b1..e45d88b210289848973a72196dcbe035e59c3250 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();
 };