summaryrefslogtreecommitdiff
path: root/displayreplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'displayreplay.h')
-rw-r--r--displayreplay.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/displayreplay.h b/displayreplay.h
new file mode 100644
index 0000000..015a9f0
--- /dev/null
+++ b/displayreplay.h
@@ -0,0 +1,69 @@
+#ifndef __NOPACITY_DISPLAYREPLAY_H
+#define __NOPACITY_DISPLAYREPLAY_H
+
+class cNopacityDisplayReplay : public cSkinDisplayReplay , cThread{
+private:
+ cOsd *osd;
+ 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 jumpX, jumpY;
+ int jumpWidth, jumpHeight;
+ int FrameTime;
+ int FadeTime;
+ cPixmap *pixmapHeader;
+ cPixmap *pixmapBackground;
+ cPixmap *pixmapInfo;
+ cPixmap *pixmapDate;
+ cPixmap *pixmapInfo2;
+ cPixmap *pixmapProgressBar;
+ cPixmap *pixmapCurrent;
+ cPixmap *pixmapTotal;
+ cPixmap *pixmapControls;
+ cPixmap *pixmapRew;
+ cPixmap *pixmapRewBackground;
+ cPixmap *pixmapRewSpeed;
+ cPixmap *pixmapPause;
+ cPixmap *pixmapPauseBackground;
+ cPixmap *pixmapPlay;
+ cPixmap *pixmapPlayBackground;
+ cPixmap *pixmapFwd;
+ cPixmap *pixmapFwdBackground;
+ cPixmap *pixmapFwdSpeed;
+ cPixmap *pixmapJump;
+ cPixmap *pixmapFooter;
+ cFont *fontReplayHeader;
+ cFont *fontReplay;
+ virtual void Action(void);
+ void SetGeometry(void);
+ void CreatePixmaps(void);
+ void CreateFonts(void);
+ void DrawBackground(void);
+ void DrawDate(void);
+ void LoadControlIcons(void);
+public:
+ cNopacityDisplayReplay(bool ModeOnly);
+ virtual ~cNopacityDisplayReplay();
+ virtual void SetRecording(const cRecording *Recording);
+ virtual void SetTitle(const char *Title);
+ virtual void SetMode(bool Play, bool Forward, int Speed);
+ virtual void SetProgress(int Current, int Total);
+ virtual void SetCurrent(const char *Current);
+ virtual void SetTotal(const char *Total);
+ virtual void SetJump(const char *Jump);
+ virtual void SetMessage(eMessageType Type, const char *Text);
+ virtual void Flush(void);
+ };
+
+#endif //__NOPACITY_DISPLAYREPLAY_H \ No newline at end of file