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 /displayreplay.h | |
parent | 9a0778bbdf309018a635229bd0523b3435388978 (diff) | |
download | skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.gz skin-nopacity-acce422dcfe6bb57818f062b3a6e2db99b4cb2d3.tar.bz2 |
Added Cache for images and fonts
Diffstat (limited to 'displayreplay.h')
-rw-r--r-- | displayreplay.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/displayreplay.h b/displayreplay.h index 2ed0a41..4dbfe6b 100644 --- a/displayreplay.h +++ b/displayreplay.h @@ -4,23 +4,10 @@ class cNopacityDisplayReplay : public cSkinDisplayReplay , cThread{ private: cOsd *osd; + cImageCache *imgCache; bool initial; bool modeOnly; cString lastDate; - int width; - int height; - int headerHeight; - int info2Height; - int progressBarHeight; - int currentHeight; - int controlsHeight; - int footerHeight; - int infoWidth; - int dateWidth; - int iconSize, iconBorder; - int resolutionX, resolutionY; - int jumpX, jumpY; - int jumpWidth, jumpHeight; int FrameTime; int FadeTime; cPixmap *pixmapHeader; @@ -39,18 +26,15 @@ private: cPixmap *pixmapFwd; cPixmap *pixmapJump; cPixmap *pixmapFooter; - cFont *fontReplayHeader; - cFont *fontReplay; virtual void Action(void); - void SetGeometry(void); + void createOSD(void); void CreatePixmaps(void); - void CreateFonts(void); void DrawBackground(void); void DrawDate(void); void LoadControlIcons(void); void DrawScreenResolution(void); public: - cNopacityDisplayReplay(bool ModeOnly); + cNopacityDisplayReplay(cImageCache *imgCache, bool ModeOnly); virtual ~cNopacityDisplayReplay(); virtual void SetRecording(const cRecording *Recording); virtual void SetTitle(const char *Title); |