diff options
author | louis <louis.braun@gmx.de> | 2013-04-07 15:35:26 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-04-07 15:35:26 +0200 |
commit | 7e65ecacd2a1caba224eed98c81870f2a943a479 (patch) | |
tree | e3d13f37698f77580497cdeccd8ae61ab9b16e50 /setup.c | |
parent | 5ef591469268cb364a4194e382a3df1fceda9af9 (diff) | |
download | skin-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)); |