diff options
author | louis <louis.braun@gmx.de> | 2014-09-27 09:25:14 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-09-27 09:25:14 +0200 |
commit | b0509b5182b6e0d04f05e6b3d5676b0d21f51966 (patch) | |
tree | 22b302342f22843e0815eb5f516c85f1478cbf0b /views/displayreplayview.h | |
download | vdr-plugin-skindesigner-0.0.1.tar.gz vdr-plugin-skindesigner-0.0.1.tar.bz2 |
initial commit version 0.0.10.0.1
Diffstat (limited to 'views/displayreplayview.h')
-rw-r--r-- | views/displayreplayview.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/views/displayreplayview.h b/views/displayreplayview.h new file mode 100644 index 0000000..9c81917 --- /dev/null +++ b/views/displayreplayview.h @@ -0,0 +1,32 @@ +#ifndef __DISPLAYREPLAYVIEW_H +#define __DISPLAYREPLAYVIEW_H + +#include "../libtemplate/template.h" +#include "view.h" + +class cDisplayReplayView : public cView { +private: + cString lastDate; + string GetScreenResolutionString(int width, int height, bool *isHD); + string GetScreenAspectString(double aspect, bool *isWideScreen); + virtual void Action(void); +public: + cDisplayReplayView(cTemplateView *tmplView); + virtual ~cDisplayReplayView(); + bool createOsd(void); + void DrawBackground(bool modeOnly); + void DrawDate(bool modeOnly); + 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 total); + void DrawControlIcons(bool play, bool forward, int speed, bool modeOnly); + void DrawJump(const char *jump); + void DrawMessage(eMessageType type, const char *text); + void DoFadeIn(void) { Start(); }; + void Flush(void) { DoFlush(); }; +}; +#endif //__DISPLAYREPLAYVIEW_H |