From 7c2a71393299eed572c1b4dfc2f35a7819e8843b Mon Sep 17 00:00:00 2001 From: louis Date: Wed, 19 Dec 2012 19:43:56 +0100 Subject: Configurable display of disc usage and timers in main menu --- config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.c') 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); -- cgit v1.2.3