blob: a79e53734288f604dbf99cb067b25c287d51843d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef __DISPLAYREPLAYVIEW_H
#define __DISPLAYREPLAYVIEW_H
#include "../libtemplate/template.h"
#include "view.h"
#include "displayreplayonpauseview.h"
class cDisplayReplayView : public cView, public cViewHelpers {
private:
cDisplayReplayOnPauseView *onPauseView;
int numMarksLast;
int *lastMarks;
int markActive;
bool MarksChanged(const cMarks *marks, int current);
void RememberMarks(const cMarks *marks);
virtual void Action(void);
public:
cDisplayReplayView(cTemplateView *tmplView);
virtual ~cDisplayReplayView();
bool createOsd(void);
void DrawBackground(bool modeOnly);
void DrawDate(void);
void DrawTime(void);
void DrawTitle(const cRecording *recording);
void DrawRecordingInformation(const cRecording *recording);
void DrawScraperContent(const cRecording *recording);
void DrawCurrent(const char *current);
void DrawTotal(const char *total);
void DrawProgressBar(int current, int total);
void DrawMarks(const cMarks *marks, int current, int total);
void DrawControlIcons(bool play, bool forward, int speed, bool modeOnly);
void DrawJump(const char *jump);
void DrawMessage(eMessageType type, const char *text);
void DrawOnPause(bool modeOnly);
void ClearOnPause(void);
void DrawCustomTokens(void);
void DoFadeIn(void) { Start(); };
void Flush(void) { DoFlush(); };
};
#endif //__DISPLAYREPLAYVIEW_H
|