summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-08-24 10:02:31 +0200
committerlouis <louis.braun@gmx.de>2013-08-24 10:02:31 +0200
commit1bace0503625e417fff35fe6402ede5252e80646 (patch)
tree1bd0239b2b3c179e7a2638a4d28cdd4026b16840 /setup.c
parentfefe7f5fc6ac6cb725229b57eb2bb2052942b6e7 (diff)
downloadskin-nopacity-1bace0503625e417fff35fe6402ede5252e80646.tar.gz
skin-nopacity-1bace0503625e417fff35fe6402ede5252e80646.tar.bz2
Additional setup option to display epg images also if tvscraper media is available
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.c b/setup.c
index eb850a1..b290df5 100644
--- a/setup.c
+++ b/setup.c
@@ -350,6 +350,9 @@ cNopacitySetupMenuDisplaySchedules::cNopacitySetupMenuDisplaySchedules(cNopacity
scrollSpeed[1] = tr("slow");
scrollSpeed[2] = tr("medium");
scrollSpeed[3] = tr("fast");
+ displayEPGPictures[0] = tr("never");
+ displayEPGPictures[1] = tr("always");
+ displayEPGPictures[2] = tr("only if no tvscraper media available");
Set();
}
@@ -372,7 +375,7 @@ void cNopacitySetupMenuDisplaySchedules::Set(void) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Number of reruns to display")), &tmpNopacityConfig->numReruns, 1, 10));
Add(new cMenuEditStraItem(cString::sprintf("%s%s", *spacer, tr("Use Subtitle for reruns")), &tmpNopacityConfig->useSubtitleRerun, 3, useSubtitleRerunTexts));
}
- Add(new cMenuEditBoolItem(tr("Display additional EPG Pictures in detailed EPG View"), &tmpNopacityConfig->displayAdditionalEPGPictures));
+ Add(new cMenuEditStraItem(tr("Display additional EPG Pictures in detailed EPG View"), &tmpNopacityConfig->displayAdditionalEPGPictures, 3, displayEPGPictures));
if (tmpNopacityConfig->displayAdditionalEPGPictures)
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Number of EPG pictures to display")), &tmpNopacityConfig->numAdditionalEPGPictures, 1, 9));
Add(new cMenuEditIntItem(tr("Detail EPG View Logo Width"), &tmpNopacityConfig->detailViewLogoWidth, 30, 500));
@@ -436,6 +439,9 @@ void cNopacitySetupMenuDisplayTimers::Set(void) {
//-----MenuDisplay Recordings Menu -------------------------------------------------------------------------------------------------------------
cNopacitySetupMenuDisplayRecordings::cNopacitySetupMenuDisplayRecordings(cNopacityConfig* data) : cMenuSetupSubMenu(tr("VDR Menu: Recordings Menu"), data) {
+ displayEPGPictures[0] = tr("never");
+ displayEPGPictures[1] = tr("always");
+ displayEPGPictures[2] = tr("only if no tvscraper media available");
Set();
}
@@ -446,7 +452,7 @@ void cNopacitySetupMenuDisplayRecordings::Set(void) {
Add(new cMenuEditBoolItem(tr("Use narrow menu"), &tmpNopacityConfig->narrowRecordingMenu));
if (tmpNopacityConfig->narrowRecordingMenu)
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Width (Percent of OSD Width)")), &tmpNopacityConfig->menuWidthRecordings, 10, 97));
- Add(new cMenuEditBoolItem(tr("Display additional EPG Pictures in detailed recording View"), &tmpNopacityConfig->displayAdditionalRecEPGPictures));
+ Add(new cMenuEditStraItem(tr("Display additional EPG Pictures in detailed recording View"), &tmpNopacityConfig->displayAdditionalRecEPGPictures, 3, displayEPGPictures));
if (tmpNopacityConfig->displayAdditionalRecEPGPictures)
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Number of EPG pictures to display")), &tmpNopacityConfig->numAdditionalRecEPGPictures, 1, 9));
Add(new cMenuEditIntItem(tr("Folder Icon Size"), &tmpNopacityConfig->menuRecFolderSize, 30, 300));