summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-09-29 12:03:45 +0200
committerlouis <louis.braun@gmx.de>2013-09-29 12:03:45 +0200
commitacce422dcfe6bb57818f062b3a6e2db99b4cb2d3 (patch)
tree33d129161784818b95890a656c7a802f1118bfed /timers.h
parent9a0778bbdf309018a635229bd0523b3435388978 (diff)
downloadskin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.gz
skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.bz2
Added Cache for images and fonts
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/timers.h b/timers.h
index dcb1935..abf9581 100644
--- a/timers.h
+++ b/timers.h
@@ -4,6 +4,7 @@
class cNopacityTimer : public cListObject {
private:
cOsd *osd;
+ cImageCache *imgCache;
cPixmap *pixmapBackground;
cPixmap *pixmap;
cPixmap *pixmapLogo;
@@ -19,8 +20,8 @@ class cNopacityTimer : public cListObject {
cTextWrapper showName;
void DrawLogo(void);
public:
- cNopacityTimer(cOsd *osd, const cTimer *timer, const cFont *font, const cFont *fontLarge);
- cNopacityTimer(cOsd *osd, int numConflicts, const cFont *font, const cFont *fontLarge);
+ cNopacityTimer(cOsd *osd, cImageCache *imgCache, const cTimer *timer, const cFont *font, const cFont *fontLarge);
+ cNopacityTimer(cOsd *osd, cImageCache *imgCache, int numConflicts, const cFont *font, const cFont *fontLarge);
virtual ~cNopacityTimer(void);
void SetGeometry(int width, int y);
void CreateDate(void);