summaryrefslogtreecommitdiff
path: root/detailview.h
diff options
context:
space:
mode:
Diffstat (limited to 'detailview.h')
-rw-r--r--detailview.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/detailview.h b/detailview.h
new file mode 100644
index 0000000..cb3cd3f
--- /dev/null
+++ b/detailview.h
@@ -0,0 +1,37 @@
+#ifndef __TVGUIDE_DETAILVIEW_H
+#define __TVGUIDE_DETAILVIEW_H
+
+#include "config.h"
+#include "libskindesigner/osdelements.h"
+
+class cDetailView {
+private:
+ bool init;
+ int lastSecond;
+ cOsdView *detailView;
+ const cEvent *event;
+ cViewElement *back;
+ cViewElement *header;
+ cViewElement *footer;
+ cViewElement *watch;
+ cViewTab *tabs;
+ void DrawBackground(void);
+ void DrawHeader(void);
+ void DrawFooter(void);
+ void SetTabTokens(void);
+ bool LoadReruns(void);
+ void SetScraperTokens(void);
+ void SetEpgPictures(int eventId);
+public:
+ cDetailView(cOsdView *detailView, const cEvent *event);
+ virtual ~cDetailView(void);
+ void Draw(void);
+ void Left(void);
+ void Right(void);
+ void Up(void);
+ void Down(void);
+ bool DrawTime(void);
+ void Flush(void) { detailView->Display(); };
+};
+
+#endif //__TVGUIDE_DETAILVIEW_H