summaryrefslogtreecommitdiff
path: root/detailview.h
blob: cb3cd3fed468637ae08701da2e6277d7ea8f8d96 (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
#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