summaryrefslogtreecommitdiff
path: root/detailview.h
diff options
context:
space:
mode:
Diffstat (limited to 'detailview.h')
-rw-r--r--detailview.h27
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();