diff options
author | austriancoder <austriancoder> | 2004-08-19 01:25:25 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2004-08-19 01:25:25 +0000 |
commit | 316265afd961614cf2e303a71d8a2b3f562f3008 (patch) | |
tree | 2a620307446e8073d56323af1f470580f705bd70 | |
parent | edc841ab126d153fb35a196e42f372e0803e737d (diff) | |
download | vdr-plugin-dxr3-316265afd961614cf2e303a71d8a2b3f562f3008.tar.gz vdr-plugin-dxr3-316265afd961614cf2e303a71d8a2b3f562f3008.tar.bz2 |
added bcs values
-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_*/ |