summaryrefslogtreecommitdiff
path: root/displaychannel.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-02-16 13:57:27 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-10 16:42:52 +0100
commit03337e57fdd83344d9b24ffcad394e76d5f92007 (patch)
tree45076068b910c2269bd14764b923b0391af4253b /displaychannel.c
parentdaf3245de7437d287dc101db1d262848b2e4ad50 (diff)
downloadskin-nopacity-03337e57fdd83344d9b24ffcad394e76d5f92007.tar.gz
skin-nopacity-03337e57fdd83344d9b24ffcad394e76d5f92007.tar.bz2
Make imgCache global
Make imgcache global so that it doesn't always have to be passed explicitly to other functions.
Diffstat (limited to 'displaychannel.c')
-rw-r--r--displaychannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/displaychannel.c b/displaychannel.c
index 6a101d8..7c65466 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -7,7 +7,7 @@
#include <vdr/osd.h>
#include <vdr/menu.h>
-cNopacityDisplayChannel::cNopacityDisplayChannel(cImageCache *imgCache, bool WithInfo) {
+cNopacityDisplayChannel::cNopacityDisplayChannel(bool WithInfo) {
groupSep = false;
present = NULL;
following = NULL;
@@ -17,7 +17,7 @@ cNopacityDisplayChannel::cNopacityDisplayChannel(cImageCache *imgCache, bool Wit
FadeTime = config.GetValue("channelFadeTime");
FrameTime = FadeTime / 10;
- channelView = new cNopacityDisplayChannelView(imgCache);
+ channelView = new cNopacityDisplayChannelView();
channelView->createOsd();
channelView->CreatePixmaps();
channelView->DrawBackground();