summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-09-09 17:30:32 +0200
committerlouis <louis.braun@gmx.de>2013-09-09 17:30:32 +0200
commit58cd765519e4f0c8d07a048521282dd72db8448f (patch)
tree4a692f2557bab5ab29ff8b39fca079e95f20f0ee /setup.c
parentec3e7d3688b83c611a01ec16a2ef0f13d51e2e68 (diff)
downloadskin-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.c7
1 files changed, 6 insertions, 1 deletions
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));