diff options
author | louis <louis.braun@gmx.de> | 2013-09-09 17:30:32 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-09 17:30:32 +0200 |
commit | 58cd765519e4f0c8d07a048521282dd72db8448f (patch) | |
tree | 4a692f2557bab5ab29ff8b39fca079e95f20f0ee /setup.c | |
parent | ec3e7d3688b83c611a01ec16a2ef0f13d51e2e68 (diff) | |
download | skin-nopacity-58cd765519e4f0c8d07a048521282dd72db8448f.tar.gz skin-nopacity-58cd765519e4f0c8d07a048521282dd72db8448f.tar.bz2 |
Added option to display plain channels and EPG information without time in channels menu (closes Feature 1377)
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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)); |