diff options
author | louis <louis.braun@gmx.de> | 2013-09-29 12:03:45 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-29 12:03:45 +0200 |
commit | acce422dcfe6bb57818f062b3a6e2db99b4cb2d3 (patch) | |
tree | 33d129161784818b95890a656c7a802f1118bfed /timers.h | |
parent | 9a0778bbdf309018a635229bd0523b3435388978 (diff) | |
download | skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.gz skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.bz2 |
Added Cache for images and fonts
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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);
|