mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
#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;
|
|
bool setContentDrawportHeight();
|
|
int heightContent;
|
|
int heightScrollbar;
|
|
bool contentScrollable;
|
|
virtual void Action(void);
|
|
void LoadReruns(void);
|
|
void drawHeader();
|
|
void drawContent();
|
|
void drawScrollbar();
|
|
cImage *createScrollbar(int width, int height, tColor clrBgr, tColor clrBlend);
|
|
public:
|
|
cDetailView(cGrid *grid);
|
|
virtual ~cDetailView(void);
|
|
void createPixmaps();
|
|
void scrollUp();
|
|
void scrollDown();
|
|
};
|
|
|
|
#endif //__TVGUIDE_DETAILVIEW_H
|