diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-02-16 13:57:27 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-03-10 16:42:52 +0100 |
commit | 03337e57fdd83344d9b24ffcad394e76d5f92007 (patch) | |
tree | 45076068b910c2269bd14764b923b0391af4253b /displayvolume.h | |
parent | daf3245de7437d287dc101db1d262848b2e4ad50 (diff) | |
download | skin-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 'displayvolume.h')
-rw-r--r-- | displayvolume.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/displayvolume.h b/displayvolume.h index a3d66cc..bc4335b 100644 --- a/displayvolume.h +++ b/displayvolume.h @@ -12,7 +12,6 @@ private: bool initial; bool muted; cOsd *osd; - cImageCache *imgCache; cPixmap *pixmapBackground; cPixmap *pixmapProgressBar; cPixmap *pixmapLabel; @@ -20,10 +19,10 @@ private: void DrawProgressBar(int Current, int Total); tColor DrawProgressbarBackground(int left, int top, int width, int height); public: - cNopacityDisplayVolume(cImageCache *imgCache); - virtual ~cNopacityDisplayVolume(); + cNopacityDisplayVolume(void); + virtual ~cNopacityDisplayVolume(void); virtual void SetVolume(int Current, int Total, bool Mute); virtual void Flush(void); }; -#endif //__NOPACITY_DISPLAYVOLUME_H
\ No newline at end of file +#endif //__NOPACITY_DISPLAYVOLUME_H |