blob: 0302ede64a623e996a7eaba3396ecb528068ff53 (
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
|
#pragma once
#include "baserender.h"
class cFlatDisplayReplay : public cFlatBaseRender, public cSkinDisplayReplay {
private:
cString current, total;
int labelHeight;
cPixmap *labelPixmap;
cPixmap *labelJump;
cPixmap *iconsPixmap;
int screenWidth, lastScreenWidth;
int screenHeight;
double screenAspect;
bool ProgressShown;
void UpdateInfo(void);
void ResolutionAspectDraw(void);
public:
cFlatDisplayReplay(bool ModeOnly);
virtual ~cFlatDisplayReplay();
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);
};
|