From 58cd765519e4f0c8d07a048521282dd72db8448f Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 9 Sep 2013 17:30:32 +0200 Subject: Added option to display plain channels and EPG information without time in channels menu (closes Feature 1377) --- setup.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'setup.c') diff --git a/setup.c b/setup.c index b290df5..85fe2b3 100644 --- a/setup.c +++ b/setup.c @@ -139,6 +139,7 @@ void cNopacitySetup::Store(void) { SetupStore("displayAdditionalRecEPGPictures", config.displayAdditionalRecEPGPictures); SetupStore("numAdditionalRecEPGPictures", config.numAdditionalRecEPGPictures); SetupStore("menuChannelDisplayMode", config.menuChannelDisplayMode); + SetupStore("menuChannelDisplayTime", config.menuChannelDisplayTime); SetupStore("numEPGEntriesChannelsMenu", config.numEPGEntriesChannelsMenu); SetupStore("menuFadeTime", config.menuFadeTime); SetupStore("menuScrollDelay", config.menuScrollDelay); @@ -397,6 +398,7 @@ void cNopacitySetupMenuDisplaySchedules::Set(void) { cNopacitySetupMenuDisplayChannels::cNopacitySetupMenuDisplayChannels(cNopacityConfig* data) : cMenuSetupSubMenu(tr("VDR Menu: Channels Menu"), data) { displayModes[0] = tr("Transponder Information"); displayModes[1] = tr("Current Schedule"); + displayModes[2] = tr("Plain Channels"); Set(); } @@ -407,7 +409,10 @@ void cNopacitySetupMenuDisplayChannels::Set(void) { Add(new cMenuEditBoolItem(tr("Use narrow menu"), &tmpNopacityConfig->narrowChannelMenu)); if (tmpNopacityConfig->narrowChannelMenu) Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Width (Percent of OSD Width)")), &tmpNopacityConfig->menuWidthChannels, 10, 97)); - Add(new cMenuEditStraItem(tr("Menu Items display mode"), &tmpNopacityConfig->menuChannelDisplayMode, 2, displayModes)); + Add(new cMenuEditStraItem(tr("Menu Items display mode"), &tmpNopacityConfig->menuChannelDisplayMode, 3, displayModes)); + if (tmpNopacityConfig->menuChannelDisplayMode == 1) { + Add(new cMenuEditBoolItem(cString::sprintf("%s%s", *spacer, tr("Display schedules with time info")), &tmpNopacityConfig->menuChannelDisplayTime)); + } Add(new cMenuEditIntItem(tr("Number of EPG Entries in Schedules Info Window"), &tmpNopacityConfig->numEPGEntriesChannelsMenu, 1, 100)); Add(new cMenuEditIntItem(tr("Adjust Font Size - Menu Item"), &tmpNopacityConfig->fontMenuitemChannel, -20, 20)); Add(new cMenuEditIntItem(tr("Adjust Font Size - Menu Item Small"), &tmpNopacityConfig->fontMenuitemChannelSmall, -20, 20)); -- cgit v1.2.3