summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 19:04:58 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-12-10 19:04:58 +0100
commit7f3be15fd4f9189bffeba6f7ce9b04b05e7369e8 (patch)
tree27ec63647bda92c09a8221fb7f6a399c478f9e49 /config.c
parent03438a82e284cfd458954de53cca44af6e3fe1ee (diff)
downloadskin-flatplus-7f3be15fd4f9189bffeba6f7ce9b04b05e7369e8.tar.gz
skin-flatplus-7f3be15fd4f9189bffeba6f7ce9b04b05e7369e8.tar.bz2
fix,update timer widget
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index 1018fab1..0e827820 100644
--- a/config.c
+++ b/config.c
@@ -91,6 +91,8 @@ cFlatConfig::cFlatConfig(void) {
MainMenuWidgetActiveTimerPosition = 3;
MainMenuWidgetActiveTimerMaxCount = 2;
MainMenuWidgetActiveTimerHideEmpty = false;
+ MainMenuWidgetActiveTimerShowActive = true;
+ MainMenuWidgetActiveTimerShowRecording = true;
MainMenuWidgetLastRecShow = false;
MainMenuWidgetLastRecPosition = 4;
@@ -359,6 +361,8 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "RecordingDimmOnPause") == 0) RecordingDimmOnPause = atoi(Value);
else if (strcmp(Name, "RecordingDimmOnPauseDelay") == 0) RecordingDimmOnPauseDelay = atoi(Value);
else if (strcmp(Name, "RecordingDimmOnPauseOpaque") == 0) RecordingDimmOnPauseOpaque = atoi(Value);
+ else if (strcmp(Name, "MainMenuWidgetActiveTimerShowActive") == 0) MainMenuWidgetActiveTimerShowActive = atoi(Value);
+ else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRecording") == 0) MainMenuWidgetActiveTimerShowRecording = atoi(Value);
else return false;