diff options
-rw-r--r-- | dxr3configdata.c | 4 | ||||
-rw-r--r-- | dxr3configdata.h | 26 |
2 files changed, 23 insertions, 7 deletions
diff --git a/dxr3configdata.c b/dxr3configdata.c index ee46081..0884d81 100644 --- a/dxr3configdata.c +++ b/dxr3configdata.c @@ -13,4 +13,8 @@ cDxr3ConfigData::cDxr3ConfigData() m_menuMode = SUBPICTURE; m_debug = 1; m_debuglevel = 0; + + m_brightness = 500; + m_contrast = 500; + m_saturation = 500; } diff --git a/dxr3configdata.h b/dxr3configdata.h index 672c3f9..a8cd849 100644 --- a/dxr3configdata.h +++ b/dxr3configdata.h @@ -62,15 +62,27 @@ public: int GetDebugLow() const { return (m_debug && !m_debuglevel); } int GetDebugEverything() const { if (m_debug == 1 && m_debuglevel == 0) { return 1; } else { return 0; } } + int GetBrightness() const { return m_brightness; } + int SetBrightness(int value) { return m_brightness = value; } + int GetContrast() const { return m_contrast; } + int SetContrast(int value) { return m_contrast = value; } + int GetSaturation() const { return m_saturation; } + int SetSaturation(int value) { return m_saturation = value; } + protected: - int UseDigitalOut; - int Dxr3Card; - int ForceLetterBox; - int Ac3OutPut; - eVideoMode m_videoMode; - eMenuMode m_menuMode; - int m_debug; + eVideoMode m_videoMode; + eMenuMode m_menuMode; + + int UseDigitalOut; + int Dxr3Card; + int ForceLetterBox; + int Ac3OutPut; + + int m_debug; int m_debuglevel; + int m_brightness; + int m_contrast; + int m_saturation; }; #endif /*_DXR3_CONFIGDATA_H_*/ |