diff options
author | louis <louis.braun@gmx.de> | 2013-08-25 13:57:10 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-08-25 13:57:10 +0200 |
commit | 9eabdcd20960924b690d6820691c6159618d18e7 (patch) | |
tree | 522dcf224f2aaa1f8bee92ca4ecaec35fc71ed4a /detailview.h | |
parent | c545f6b4cfc4c8fe604eb216fb1d8c86550e74ca (diff) | |
download | vdr-plugin-tvguide-9eabdcd20960924b690d6820691c6159618d18e7.tar.gz vdr-plugin-tvguide-9eabdcd20960924b690d6820691c6159618d18e7.tar.bz2 |
Added tvscraper support
Diffstat (limited to 'detailview.h')
-rw-r--r-- | detailview.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/detailview.h b/detailview.h index 43c73a6..4cb4ee1 100644 --- a/detailview.h +++ b/detailview.h @@ -5,20 +5,37 @@ class cEpgGrid; -class cDetailView { +class cDetailView : public cThread { private: cStyledPixmap *header; cPixmap *headerLogo; cPixmap *headerBack; cPixmap *content; + cPixmap *pixmapPoster; cPixmap *scrollBar; cPixmap *footer; const cEvent *event; cImage *imgScrollBar; cTextWrapper description; cTextWrapper reruns; + TVScraperGetFullInformation mediaInfo; + bool hasAdditionalMedia; int borderWidth; + int border; int headerHeight; + int width; + int contentWidth; + int contentHeight; + int contentX; + int widthPoster; + int yBanner; + int yEPGText; + int yActors; + int yFanart; + int yAddInf; + int yEPGPics; + int actorThumbWidth; + int actorThumbHeight; int scrollBarWidth; bool setContentDrawportHeight(); int heightContent; @@ -27,16 +44,24 @@ private: bool contentScrollable; void loadReruns(void); int heightEPGPics(void); + int heightActorPics(void); + int heightFanartImg(void); void drawEPGPictures(int height); void drawRecIcon(void); + void drawPoster(void); + void drawBanner(int height); + void drawActors(int height); + void drawFanart(int height); cImage *createScrollbar(int width, int height, tColor clrBgr, tColor clrBlend); void scrollUp(); void scrollDown(); void pageUp(); void pageDown(); + void Action(void); public: cDetailView(const cEvent *event); virtual ~cDetailView(void); + void setContent(); void createPixmaps(); void drawHeader(); void drawContent(); |