summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
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);