blob: 3d727958c6dd25480d4863000e8ea7c8b63c4d2d (
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
|
#ifndef __TVGUIDE_DETAILVIEW_H
#define __TVGUIDE_DETAILVIEW_H
// --- cDetailView -------------------------------------------------------------
class cEpgGrid;
class cDetailView : public cThread {
private:
cGrid *grid;
cStyledPixmap *header;
cPixmap *headerLogo;
cPixmap *headerBack;
cPixmap *content;
cPixmap *scrollBar;
cPixmap *footer;
const cEvent *event;
cImage *imgScrollBar;
int FrameTime;
int FadeTime;
cTextWrapper description;
cTextWrapper reruns;
int borderWidth;
int headerHeight;
int scrollBarWidth;
bool setContentDrawportHeight();
int heightContent;
int heightScrollbar;
int numEPGPics;
bool contentScrollable;
void loadReruns(void);
void drawHeader();
void drawContent();
void drawScrollbar();
int heightEPGPics(void);
void drawEPGPictures(int height);
cImage *createScrollbar(int width, int height, tColor clrBgr, tColor clrBlend);
virtual void Action(void);
public:
cDetailView(cGrid *grid);
virtual ~cDetailView(void);
void createPixmaps();
void scrollUp();
void scrollDown();
};
#endif //__TVGUIDE_DETAILVIEW_H
|