summaryrefslogtreecommitdiff
path: root/displaytracks.h
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 /displaytracks.h
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 'displaytracks.h')
-rw-r--r--displaytracks.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/displaytracks.h b/displaytracks.h
index 0442b9a..8d1459f 100644
--- a/displaytracks.h
+++ b/displaytracks.h
@@ -10,7 +10,6 @@
class cNopacityDisplayTracks : public cSkinDisplayTracks, cThread {
private:
cOsd *osd;
- cImageCache *imgCache;
int FrameTime;
int FadeTime;
int width, height;
@@ -31,7 +30,7 @@ private:
void CreatePixmaps(void);
void DrawHeader(const char *Title);
public:
- cNopacityDisplayTracks(cImageCache *imgCache, const char *Title, int NumTracks, const char * const *Tracks);
+ cNopacityDisplayTracks(const char *Title, int NumTracks, const char * const *Tracks);
virtual ~cNopacityDisplayTracks();
virtual void SetTrack(int Index, const char * const *Tracks);
virtual void SetAudioChannel(int AudioChannel);