From 03337e57fdd83344d9b24ffcad394e76d5f92007 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Tue, 16 Feb 2021 13:57:27 +0100 Subject: Make imgCache global Make imgcache global so that it doesn't always have to be passed explicitly to other functions. --- displaytracks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'displaytracks.h') 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); -- cgit v1.2.3