summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-05-31 14:05:30 +0200
committerlouis <louis.braun@gmx.de>2013-05-31 14:05:30 +0200
commit0f22ee7b7e184d95a6c2c052f0f63e0cdf6ccf5d (patch)
tree0cfe407ede8e780991540747a9acb8cb733d5a65 /config.c
parent4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b (diff)
downloadvdr-plugin-tvguide-0f22ee7b7e184d95a6c2c052f0f63e0cdf6ccf5d.tar.gz
vdr-plugin-tvguide-0f22ee7b7e184d95a6c2c052f0f63e0cdf6ccf5d.tar.bz2
Display of Main Menu Entry configurable
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 154af20..e44e353 100644
--- a/config.c
+++ b/config.c
@@ -16,6 +16,7 @@ enum {
};
cTvguideConfig::cTvguideConfig() {
+ showMainMenuEntry = 1;
osdWidth = 0;
osdHeight = 0;
displayMode = eHorizontal;
@@ -232,6 +233,7 @@ void cTvguideConfig::loadTheme() {
bool cTvguideConfig::SetupParse(const char *Name, const char *Value) {
if (strcmp(Name, "timeFormat") == 0) timeFormat = atoi(Value);
+ else if (strcmp(Name, "showMainMenuEntry") == 0) showMainMenuEntry = atoi(Value);
else if (strcmp(Name, "themeIndex") == 0) themeIndex = atoi(Value);
else if (strcmp(Name, "displayMode") == 0) displayMode = atoi(Value);
else if (strcmp(Name, "displayStatusHeader") == 0) displayStatusHeader = atoi(Value);