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 /displaytracks.h | |
parent | 9a0778bbdf309018a635229bd0523b3435388978 (diff) | |
download | skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.gz skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.bz2 |
Added Cache for images and fonts
Diffstat (limited to 'displaytracks.h')
-rw-r--r-- | displaytracks.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/displaytracks.h b/displaytracks.h index 171b808..1f9ad1e 100644 --- a/displaytracks.h +++ b/displaytracks.h @@ -4,6 +4,7 @@ class cNopacityDisplayTracks : public cSkinDisplayTracks, cThread { private: cOsd *osd; + cImageCache *imgCache; int FrameTime; int FadeTime; int width, height; @@ -18,18 +19,13 @@ private: cPixmap *pixmapHeaderAudio; cPixmap *pixmapIcon; cList<cNopacityMenuItem> menuItems; - int handleBackgrounds[2]; - cFont *font; - cFont *fontHeader; virtual void Action(void); void SetItem(const char *Text, int Index, bool Current); void SetGeometry(void); void CreatePixmaps(void); - void CreateFonts(void); - void CreateBackgroundImages(void); void DrawHeader(const char *Title); public: - cNopacityDisplayTracks(const char *Title, int NumTracks, const char * const *Tracks); + cNopacityDisplayTracks(cImageCache *imgCache, const char *Title, int NumTracks, const char * const *Tracks); virtual ~cNopacityDisplayTracks(); virtual void SetTrack(int Index, const char * const *Tracks); virtual void SetAudioChannel(int AudioChannel); |