diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-27 00:27:32 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-02-27 00:27:32 +0000 |
| commit | 9b6b96172d1d20d9daf3c11bc5f0222f487d53d7 (patch) | |
| tree | 8d40908a344ef075515096eb6e7de2c3743553b0 /lib/python/Components/Lcd.py | |
| parent | 24f6e51878555666f9110839254b5cf914048248 (diff) | |
| download | enigma2-9b6b96172d1d20d9daf3c11bc5f0222f487d53d7.tar.gz enigma2-9b6b96172d1d20d9daf3c11bc5f0222f487d53d7.zip | |
- add positioner plugin (just basic gui atm)
- some changes to ConfigSlider (is now called "configSlider" and has a step width and max value now)
- add BER/SNR/AGC display to the manual single transponder scan (just gui, no functionality yet)
Diffstat (limited to 'lib/python/Components/Lcd.py')
| -rw-r--r-- | lib/python/Components/Lcd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py index 552d5485..ea0c37a1 100644 --- a/lib/python/Components/Lcd.py +++ b/lib/python/Components/Lcd.py @@ -1,5 +1,5 @@ from config import config #global config instance -from config import ConfigSlider +from config import configSlider from config import configSelection from config import ConfigSubsection from config import configElement @@ -25,9 +25,9 @@ class LCD: def InitLcd(): config.lcd = ConfigSubsection(); - config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, "") - config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, "") - config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, "") + config.lcd.bright = configElement("config.lcd.bright", configSlider, 10, (1, 10)) + config.lcd.contrast = configElement("config.lcd.contrast", configSlider, 10, (1, 10)) + config.lcd.standby = configElement("config.lcd.standby", configSlider, 0, (1,10)) config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (("disable", _("Disable")), ("enable", _("Enable")))) ilcd = LCD() |
