summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-19 19:43:56 +0100
committerlouis <louis.braun@gmx.de>2012-12-19 19:43:56 +0100
commit7c2a71393299eed572c1b4dfc2f35a7819e8843b (patch)
tree751f8c55e49f82ac291015d28924d3f235058fe7 /config.c
parent7010739a062c660bbd88b612e1635068325acf3f (diff)
downloadskin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.gz
skin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.bz2
Configurable display of disc usage and timers in main menu
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 9151b36..015401a 100644
--- a/config.c
+++ b/config.c
@@ -62,6 +62,8 @@ cNopacityConfig::cNopacityConfig() {
menuScrollDelay = 1000;
menuScrollSpeed = 2;
menuWidthRightItems = 12;
+ showDiscUsage = 1;
+ showTimers = 1;
headerHeight = 7;
footerHeight = 7;
numDefaultMenuItems = 16;
@@ -213,6 +215,8 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "useSubtitleRerun") == 0) useSubtitleRerun = atoi(Value);
else if (strcmp(Name, "menuWidthNarrow") == 0) menuWidthNarrow = atoi(Value);
else if (strcmp(Name, "menuWidthRightItems") == 0) menuWidthRightItems = atoi(Value);
+ else if (strcmp(Name, "showDiscUsage") == 0) showDiscUsage = atoi(Value);
+ else if (strcmp(Name, "showTimers") == 0) showTimers = atoi(Value);
else if (strcmp(Name, "headerHeight") == 0) headerHeight = atoi(Value);
else if (strcmp(Name, "footerHeight") == 0) footerHeight = atoi(Value);
else if (strcmp(Name, "numDefaultMenuItems") == 0) numDefaultMenuItems = atoi(Value);