summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-04-07 15:35:26 +0200
committerlouis <louis.braun@gmx.de>2013-04-07 15:35:26 +0200
commit7e65ecacd2a1caba224eed98c81870f2a943a479 (patch)
treee3d13f37698f77580497cdeccd8ae61ab9b16e50 /setup.c
parent5ef591469268cb364a4194e382a3df1fceda9af9 (diff)
downloadskin-nopacity-7e65ecacd2a1caba224eed98c81870f2a943a479.tar.gz
skin-nopacity-7e65ecacd2a1caba224eed98c81870f2a943a479.tar.bz2
Background of ChannelDisplay configurable also to cover channel logo
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 49c5e29..43998de 100644
--- a/setup.c
+++ b/setup.c
@@ -79,6 +79,7 @@ void cNopacitySetup::Store(void) {
SetupStore("logoWidth", config.logoWidth);
SetupStore("logoHeight", config.logoHeight);
SetupStore("logoBorder", config.logoBorder);
+ SetupStore("backgroundStyle", config.backgroundStyle);
SetupStore("displaySignalStrength", config.displaySignalStrength);
SetupStore("channelFadeTime", config.channelFadeTime);
SetupStore("fontChannelHeaderSize", config.fontChannelHeaderSize);
@@ -435,6 +436,8 @@ void cNopacitySetupMenuDisplayRecordings::Set(void) {
//----ChannelDisplay--------------------------------------------------------------------------------------------------------------
cNopacitySetupChannelDisplay::cNopacitySetupChannelDisplay(cNopacityConfig* data) : cMenuSetupSubMenu(tr("Channel Switching"), data) {
+ bgStyle[0] = tr("transparent channel logo");
+ bgStyle[1] = tr("full osd width");
logoPos[0] = tr("do not display");
logoPos[1] = tr("left");
logoPos[2] = tr("right");
@@ -451,6 +454,7 @@ void cNopacitySetupChannelDisplay::Set(void) {
Add(new cMenuEditIntItem(tr("Height of Channel Display (Percent of OSD Height)"), &tmpNopacityConfig->channelHeight, 15, 80));
Add(new cMenuEditIntItem(tr("Left & Right Border Width"), &tmpNopacityConfig->channelBorderVertical, 0, 300));
Add(new cMenuEditIntItem(tr("Bottom Border Height"), &tmpNopacityConfig->channelBorderBottom, 0, 300));
+ Add(new cMenuEditStraItem(tr("Background Style"), &tmpNopacityConfig->backgroundStyle, 2, bgStyle));
Add(new cMenuEditStraItem(tr("Channel Logo Position"), &tmpNopacityConfig->logoPosition, 3, logoPos));
if (tmpNopacityConfig->logoPosition) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo Width")), &tmpNopacityConfig->logoWidth, 30, 500));