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 /menudetailview.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 'menudetailview.h')
-rw-r--r-- | menudetailview.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/menudetailview.h b/menudetailview.h index 4f0d2af..593435b 100644 --- a/menudetailview.h +++ b/menudetailview.h @@ -23,7 +23,6 @@ class cNopacityDetailView : public cThread { protected: eDetailViewType type; cOsd *osd; - cImageCache *imgCache; const cEvent *ev; const cRecording *rec; const char *text; @@ -39,7 +38,7 @@ protected: int ReadSizeVdr(const char *strPath); virtual void Action(void); public: - cNopacityDetailView(eDetailViewType detailViewType, cOsd *osd, cImageCache *imgCache); + cNopacityDetailView(eDetailViewType detailViewType, cOsd *osd); virtual ~cNopacityDetailView(void); void SetGeometry(int x, int width, int height, int top, int contentBorder, int headerHeight); void SetEvent(const cEvent *e) { ev = e; }; @@ -49,4 +48,4 @@ public: void KeyInput(bool Up, bool Page); }; -#endif //__NOPACITY_MENUDETAILVIEW_H
\ No newline at end of file +#endif //__NOPACITY_MENUDETAILVIEW_H |