diff options
author | louis <louis.braun@gmx.de> | 2013-05-28 16:57:21 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-28 16:57:21 +0200 |
commit | a90ee76c4b36a9d11fa63e6a454a362cff7dcb31 (patch) | |
tree | 49ab50e70dcb2e2513d84005be03c4b459258ee7 /tvguideosd.c | |
parent | b3b50abd736da0199297cab5d080055ed55c05bd (diff) | |
download | vdr-plugin-tvguide-a90ee76c4b36a9d11fa63e6a454a362cff7dcb31.tar.gz vdr-plugin-tvguide-a90ee76c4b36a9d11fa63e6a454a362cff7dcb31.tar.bz2 |
setup of usage of blending now done with clrDoBlending theme color variable
Diffstat (limited to 'tvguideosd.c')
-rw-r--r-- | tvguideosd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tvguideosd.c b/tvguideosd.c index 17e4637..ccfad87 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -1,6 +1,12 @@ // --- Theme -------------------------------------------------------------
static cTheme theme;
+//BLENDING SETUP
+#define CLR_BLENDING_NOPACITY 0xFFFFFFFF
+#define CLR_BLENDING_DEFAULT 0xAAAAAAAA
+#define CLR_BLENDING_OFF 0x00000000
+
+THEME_CLR(theme, clrDoBlending, CLR_BLENDING_DEFAULT);
THEME_CLR(theme, clrBackgroundOSD, clrBlack);
THEME_CLR(theme, clrBackground, clrBlack);
THEME_CLR(theme, clrGrid1, 0xFF404749);
@@ -83,6 +89,7 @@ void cTvGuideOsd::Show(void) { if (ok) {
tvguideConfig.setDynamicValues(osdManager.Width(), osdManager.Height());
tvguideConfig.loadTheme();
+ tvguideConfig.SetBlending();
osdManager.setBackground();
myTime = new cMyTime();
myTime->Now();
|