From 809fbda03c5014ba9cd361f5113d1d717cd41ea6 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 26 Jan 2016 18:32:38 +0100 Subject: Version 0.8.0 beta --- coreengine/viewdisplayreplay.h | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 coreengine/viewdisplayreplay.h (limited to 'coreengine/viewdisplayreplay.h') diff --git a/coreengine/viewdisplayreplay.h b/coreengine/viewdisplayreplay.h new file mode 100644 index 0000000..74ed10b --- /dev/null +++ b/coreengine/viewdisplayreplay.h @@ -0,0 +1,57 @@ +#ifndef __VIEWDISPLAYREPLAY_H +#define __VIEWDISPLAYREPLAY_H + +#include "view.h" + +class cViewReplay : public cView { +private: + cVeMessage *veMessage; + cVeCustomTokens *veCustomTokens; + cVeDrRecTitle *veRecTitle; + cVeDrRecInfo *veRecInfo; + cVeDrScraperContent *veScraperContent; + cVeDrCurrentTime *veCurrentTime; + cVeDrTotalTime *veTotalTime; + cVeDrEndTime *veEndTime; + cVeDrProgressBar *veProgressbar; + cVeDrCutMarks *veCutMarks; + cVeDrProgressModeonly *veProgressModeOnly; + cVeDrControlIcons *veControlIcons; + cVeDrControlIcons *veControlIconsModeOnly; + cVeDrJump *veJump; + cVeDrOnPause *veOnPause; + cVeDrOnPause *veOnPauseModeOnly; + bool modeOnly; + time_t lastFlush; + bool message; + int reclength; + bool timeShiftActive; + int timeShiftFramesTotal; + int timeShiftLength; + cString timeShiftDuration; + void SetViewElements(void); + void ClearVariables(void); + void SetViewElementObjects(void); + void SetProgressModeOnly(void); +public: + cViewReplay(void); + virtual ~cViewReplay(void); + void SetModeOnly(bool modeOnly) { this->modeOnly = modeOnly; }; + void SetRecordingLength(int length) { reclength = length; }; + void SetTimeShift(int framesTotal, int timeShiftLength); + void SetRecording(const cRecording *recording); + void SetTitle(const char *title); + void SetCurrent(const char *current); + void SetTotal(const char *total); + void SetEndTime(int current, int total); + void SetProgressbar(int current, int total); + void SetMarks(const cMarks *marks, int current, int total); + void SetControlIcons(bool play, bool forward, int speed); + void SetJump(const char *jump); + void SetMessage(eMessageType type, const char *text); + void StartOnPause(const char *recfilename); + void ClearOnPause(void); + void Flush(void); +}; + +#endif //__VIEWDISPLAYREPLAY_H1 \ No newline at end of file -- cgit v1.2.3