summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-30 21:08:26 +0100
committerlouis <louis.braun@gmx.de>2013-01-30 21:08:26 +0100
commit80ea9ad4e3f23773da5b2c871931117f2df41145 (patch)
treefc357473b0dd440faedf1af7669cf4c551348afb /setup.c
parentde9bc2df7e2418269e86abbf452d212a75cdb201 (diff)
downloadskin-nopacity-80ea9ad4e3f23773da5b2c871931117f2df41145.tar.gz
skin-nopacity-80ea9ad4e3f23773da5b2c871931117f2df41145.tar.bz2
Added displaying of additional EPG images in detailed EPG view
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 9c241df..698bd07 100644
--- a/setup.c
+++ b/setup.c
@@ -102,6 +102,8 @@ void cNopacitySetup::Store(void) {
SetupStore("displayRerunsDetailEPGView", config.displayRerunsDetailEPGView);
SetupStore("numReruns", config.numReruns);
SetupStore("useSubtitleRerun", config.useSubtitleRerun);
+ SetupStore("displayAdditionalEPGPictures", config.displayAdditionalEPGPictures);
+ SetupStore("numAdditionalEPGPictures", config.numAdditionalEPGPictures);
SetupStore("menuFadeTime", config.menuFadeTime);
SetupStore("menuScrollDelay", config.menuScrollDelay);
SetupStore("menuScrollSpeed", config.menuScrollSpeed);
@@ -130,6 +132,8 @@ void cNopacitySetup::Store(void) {
SetupStore("timersLogoHeight", config.timersLogoHeight);
SetupStore("epgImageWidth", config.epgImageWidth);
SetupStore("epgImageHeight", config.epgImageHeight);
+ SetupStore("epgImageWidthLarge", config.epgImageWidthLarge);
+ SetupStore("epgImageHeightLarge", config.epgImageHeightLarge);
SetupStore("menuRecFolderSize", config.menuRecFolderSize);
SetupStore("fontHeader", config.fontHeader);
SetupStore("fontDate", config.fontDate);
@@ -209,6 +213,8 @@ void cNopacitySetupMenuDisplay::Set(void) {
Add(new cMenuEditBoolItem(tr("Display Reruns in detailed EPG View"), &tmpNopacityConfig->displayRerunsDetailEPGView));
Add(new cMenuEditIntItem(tr("Number of reruns to display"), &tmpNopacityConfig->numReruns, 1, 10));
Add(new cMenuEditStraItem(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 cMenuEditIntItem(tr("Number of EPG pictures to display"), &tmpNopacityConfig->numAdditionalEPGPictures, 1, 9));
SetCurrent(Get(currentItem));
Display();
@@ -241,6 +247,8 @@ void cNopacitySetupMenuDisplayGeometry::Set(void) {
Add(new cMenuEditIntItem(tr("Detail EPG View Logo Height"), &tmpNopacityConfig->detailViewLogoHeight, 30, 500));
Add(new cMenuEditIntItem(tr("Detail EPG View EPG Image Width"), &tmpNopacityConfig->epgImageWidth, 30, 500));
Add(new cMenuEditIntItem(tr("Detail EPG View EPG Image Height"), &tmpNopacityConfig->epgImageHeight, 30, 500));
+ Add(new cMenuEditIntItem(tr("Detail EPG View additional EPG Image Width"), &tmpNopacityConfig->epgImageWidthLarge, 100, 800));
+ Add(new cMenuEditIntItem(tr("Detail EPG View additional EPG Image Height"), &tmpNopacityConfig->epgImageHeightLarge, 100, 800));
SetCurrent(Get(currentItem));
Display();
}