diff options
Diffstat (limited to 'menudetailview.h')
-rw-r--r-- | menudetailview.h | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/menudetailview.h b/menudetailview.h index 9fae59e..4f30759 100644 --- a/menudetailview.h +++ b/menudetailview.h @@ -1,21 +1,41 @@ #ifndef __NOPACITY_MENUDETAILVIEW_H #define __NOPACITY_MENUDETAILVIEW_H -class cNopacityMenuDetailView { +class cNopacityMenuDetailView : public cThread { protected: cOsd *osd; bool hasScrollbar; int x, width, height, top; int headerHeight; + int contentWidth; + int contentX; int contentHeight; int contentDrawPortHeight; + int widthPoster; int border; - cFont *font, *fontHeader, *fontHeaderLarge; + int yBanner; + int yEPGText; + int yActors; + int yFanart; + int yAddInf; + int yEPGPics; + int actorThumbWidth; + int actorThumbHeight; + cFont *font, *fontSmall, *fontHeader, *fontHeaderLarge; cPixmap *pixmapHeader; cPixmap *pixmapLogo; cPixmap *pixmapContent; - cTextWrapper content; - int DrawTextWrapper(cTextWrapper *wrapper, int top); + cPixmap *pixmapPoster; + TVScrapperGetFullInformation mediaInfo; + bool hasAdditionalMedia; + void DrawTextWrapper(cTextWrapper *wrapper, int top); + int HeightActorPics(void); + int HeightFanart(void); + void DrawPoster(void); + void DrawBanner(int height); + void DrawActors(int height); + void DrawFanart(int height); + virtual void Action(void) {}; public: cNopacityMenuDetailView(cOsd *osd); virtual ~cNopacityMenuDetailView(void); @@ -34,12 +54,14 @@ public: class cNopacityMenuDetailEventView : public cNopacityMenuDetailView { private: const cEvent *event; + cTextWrapper epgText; cTextWrapper reruns; int numEPGPics; void DrawHeader(void); void LoadReruns(void); int HeightEPGPics(void); void DrawEPGPictures(int height); + void Action(void); public: cNopacityMenuDetailEventView(cOsd *osd, const cEvent *Event); virtual ~cNopacityMenuDetailEventView(void); @@ -54,6 +76,7 @@ class cNopacityMenuDetailRecordingView : public cNopacityMenuDetailView { private: const cRecording *recording; const cRecordingInfo *info; + cTextWrapper recInfo; cTextWrapper additionalInfo; void DrawHeader(void); void LoadRecordingInformation(void); @@ -62,6 +85,7 @@ private: bool LoadEPGPics(void); int HeightEPGPics(void); void DrawEPGPictures(int height); + void Action(void); public: cNopacityMenuDetailRecordingView(cOsd *osd, const cRecording *Recording); virtual ~cNopacityMenuDetailRecordingView(void); @@ -75,6 +99,7 @@ public: class cNopacityMenuDetailTextView : public cNopacityMenuDetailView { private: const char *text; + cTextWrapper content; public: cNopacityMenuDetailTextView(cOsd *osd, const char *text); virtual ~cNopacityMenuDetailTextView(void); |