blob: 58be8cc83bdb53334f73b324487b9555b7848ab7 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef __NOPACITY_DISPLAYREPLAY_H
#define __NOPACITY_DISPLAYREPLAY_H
#include <vdr/skins.h>
#include <vdr/thread.h>
#include "imagecache.h"
#include "messagebox.h"
class cNopacityDisplayReplay : public cSkinDisplayReplay , cThread{
private:
cOsd *osd;
bool initial;
bool modeOnly;
cString lastDate;
bool fadeout;
cPixmap *pixmapBackground;
cPixmap *pixmapTop;
cPixmap *pixmapInfo;
cPixmap *pixmapDate;
cPixmap *pixmapInfo2;
cPixmap *pixmapProgressBar;
cPixmap *pixmapCurrent;
cPixmap *pixmapTotal;
cPixmap *pixmapScreenRes;
cPixmap *pixmapScreenResBackground;
cPixmap *pixmapControls;
cPixmap *pixmapRew;
cPixmap *pixmapPause;
cPixmap *pixmapPlay;
cPixmap *pixmapFwd;
cPixmap *pixmapJump;
cNopacityMessageBox *messageBox;
virtual void Action(void);
void createOSD(void);
void CreatePixmaps(void);
void SetAlpha(int Alpha = 0);
void DrawBackground(void);
void DrawDate(void);
void LoadControlIcons(void);
void DrawScreenResolution(void);
public:
cNopacityDisplayReplay(bool ModeOnly);
virtual ~cNopacityDisplayReplay(void);
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
|