From 41767b6c7c9a4127e12d40d79259101d2ba6f8d6 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 9 Feb 2013 14:52:25 +0100 Subject: Usage of narrow menus (main, schedule, channel, recordings, settings) configurable via plugin setup --- config.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config.c') diff --git a/config.c b/config.c index 5767ace..1854667 100644 --- a/config.c +++ b/config.c @@ -54,6 +54,11 @@ cNopacityConfig::cNopacityConfig() { fontVolume = 0; //DisplayMenu scalePicture = 1; + narrowMainMenu = 1; + narrowScheduleMenu = 1; + narrowChannelMenu = 1; + narrowRecordingMenu = 1; + narrowSetupMenu = 1; displayRerunsDetailEPGView = 1; numReruns = 5; useSubtitleRerun = 1; @@ -226,6 +231,11 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "menuInfoScrollDelay") == 0) menuInfoScrollDelay = atoi(Value); else if (strcmp(Name, "menuInfoScrollSpeed") == 0) menuInfoScrollSpeed = atoi(Value); else if (strcmp(Name, "scalePicture") == 0) scalePicture = atoi(Value); + else if (strcmp(Name, "narrowMainMenu") == 0) narrowMainMenu = atoi(Value); + else if (strcmp(Name, "narrowScheduleMenu") == 0) narrowScheduleMenu = atoi(Value); + else if (strcmp(Name, "narrowChannelMenu") == 0) narrowChannelMenu = atoi(Value); + else if (strcmp(Name, "narrowRecordingMenu") == 0) narrowRecordingMenu = atoi(Value); + else if (strcmp(Name, "narrowSetupMenu") == 0) narrowSetupMenu = atoi(Value); else if (strcmp(Name, "displayRerunsDetailEPGView") == 0) displayRerunsDetailEPGView = atoi(Value); else if (strcmp(Name, "numReruns") == 0) numReruns = atoi(Value); else if (strcmp(Name, "useSubtitleRerun") == 0) useSubtitleRerun = atoi(Value); -- cgit v1.2.3