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 /displaymenuview.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 'displaymenuview.h')
-rw-r--r-- | displaymenuview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/displaymenuview.h b/displaymenuview.h index 0899828..0caa00c 100644 --- a/displaymenuview.h +++ b/displaymenuview.h @@ -7,13 +7,13 @@ #include <vdr/videodir.h> #include "config.h" #include "helpers.h" +#include "imagecache.h" #include "imageloader.h" #include "messagebox.h" class cNopacityDisplayMenuView { private: cOsd *osd; - cImageCache *imgCache; cString lastDate; int diskUsageAlert; cPixmap *pixmapHeader; @@ -39,7 +39,7 @@ class cNopacityDisplayMenuView { cRect textWindowSizeTimers; int GetContentWidth(eMenuCategory menuCat); public: - cNopacityDisplayMenuView(cImageCache *imgCache); + cNopacityDisplayMenuView(void); virtual ~cNopacityDisplayMenuView(void); cOsd *createOsd(void); void SetDescriptionTextWindowSize(void); |