diff options
author | louis <louis.braun@gmx.de> | 2013-01-17 13:16:44 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-01-17 13:16:44 +0100 |
commit | 47c3fea545a1b4607deda1e7d2fa51cbcf89a656 (patch) | |
tree | 4109469360bfb71ce467c240a33d0738ad44c18e /detailview.h | |
download | vdr-plugin-tvguide-47c3fea545a1b4607deda1e7d2fa51cbcf89a656.tar.gz vdr-plugin-tvguide-47c3fea545a1b4607deda1e7d2fa51cbcf89a656.tar.bz2 |
Initial push tvguide 0.0.1
Diffstat (limited to 'detailview.h')
-rw-r--r-- | detailview.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/detailview.h b/detailview.h new file mode 100644 index 0000000..c938eb2 --- /dev/null +++ b/detailview.h @@ -0,0 +1,39 @@ +#ifndef __TVGUIDE_DETAILVIEW_H +#define __TVGUIDE_DETAILVIEW_H + +// --- cDetailView ------------------------------------------------------------- + +class cEpgGrid; + +class cDetailView : public cThread { +private: + cEpgGrid *grid; + cStyledPixmap *header; + cPixmap *content; + cPixmap *scrollBar; + cPixmap *footer; + const cEvent *event; + cImage *imgScrollBar; + int FrameTime; + int FadeTime; + cTextWrapper description; + int borderWidth; + int headerHeight; + bool setContentDrawportHeight(); + int heightContent; + int heightScrollbar; + bool contentScrollable; + virtual void Action(void); + void drawHeader(); + void drawContent(); + void drawScrollbar(); + cImage *createScrollbar(int width, int height, tColor clrBgr, tColor clrBlend); +public: + cDetailView(cEpgGrid *grid); + virtual ~cDetailView(void); + void createPixmaps(); + void scrollUp(); + void scrollDown(); +}; + +#endif //__TVGUIDE_DETAILVIEW_H
\ No newline at end of file |