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 /messagebox.c | |
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 'messagebox.c')
-rw-r--r-- | messagebox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/messagebox.c b/messagebox.c index 47fdbc1..6352182 100644 --- a/messagebox.c +++ b/messagebox.c @@ -3,7 +3,7 @@ #include "imageloader.h" #include "messagebox.h" -cNopacityMessageBox::cNopacityMessageBox(cOsd *Osd, cImageCache *imgCache, const cRect &Rect, eMessageType Type, const char *Text, bool isMenuMessage) { +cNopacityMessageBox::cNopacityMessageBox(cOsd *Osd, const cRect &Rect, eMessageType Type, const char *Text, bool isMenuMessage) { osd = Osd; pixmap = osd->CreatePixmap(7, Rect); pixmapBackground = osd->CreatePixmap(6, Rect); |