summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-17 16:19:37 +0100
committerlouis <louis.braun@gmx.de>2013-01-17 16:19:37 +0100
commite895a02d9703c2207d2424d6aaef373042fd0d54 (patch)
treee702cbc596b4aca86438298b12f2177cc59cdd03 /setup.c
parentc9bc7e07358b9ed9e7c16e48dcb0a6ea4f5d768e (diff)
downloadvdr-plugin-tvguide-e895a02d9703c2207d2424d6aaef373042fd0d54.tar.gz
vdr-plugin-tvguide-e895a02d9703c2207d2424d6aaef373042fd0d54.tar.bz2
Added config option style nOpacity for backgrounds and theme nOpacity
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 57d2168..a8e57d6 100644
--- a/setup.c
+++ b/setup.c
@@ -135,6 +135,9 @@ cMenuSetupScreenLayout::cMenuSetupScreenLayout(cTvguideConfig* data) : cMenuSet
hideChannelLogosItems[1] = trVDR("no");
logoExtensionItems[0] = "png";
logoExtensionItems[1] = "jpg";
+ blendingMethods[0] = "none";
+ blendingMethods[1] = "classic";
+ blendingMethods[2] = "nOpacity style";
Set();
}
@@ -143,7 +146,7 @@ void cMenuSetupScreenLayout::Set(void) {
Clear();
if (themes.NumThemes())
Add(new cMenuEditStraItem(tr("Theme"), &tmpTvguideConfig->themeIndex, themes.NumThemes(), themes.Descriptions()));
- Add(new cMenuEditBoolItem(tr("Use color gradients"), &tmpTvguideConfig->useBlending));
+ Add(new cMenuEditStraItem(tr("Use color gradients"), &tmpTvguideConfig->useBlending, 3, blendingMethods));
Add(new cMenuEditBoolItem(tr("Rounded Corners"), &tmpTvguideConfig->roundedCorners));
Add(new cMenuEditIntItem(tr("Width of Timeline"), &tmpTvguideConfig->timeColWidth, 50, 300));
Add(new cMenuEditIntItem(tr("Height of Header"), &tmpTvguideConfig->headerHeight, 50, 300));