diff options
author | louis <louis.braun@gmx.de> | 2013-08-21 10:26:50 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-08-21 10:26:50 +0200 |
commit | 9e1fcfc0bff753031617324b5244805080be9430 (patch) | |
tree | f7a574ff7223751f4d2da9b295b90c50530e3dc8 /menuitem.h | |
parent | e99e14c6f02164f53fb5ef01cdc8f091aac1fc4a (diff) | |
download | skin-nopacity-9e1fcfc0bff753031617324b5244805080be9430.tar.gz skin-nopacity-9e1fcfc0bff753031617324b5244805080be9430.tar.bz2 |
Version 0.1.3, Added TVScrapper support
Diffstat (limited to 'menuitem.h')
-rw-r--r-- | menuitem.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -51,6 +51,7 @@ public: void SetBackgrounds(int *handleBackgrounds); void SetTextWindow(cRect *window) {textWindow = window;}; virtual void CreateText(void) {}; + virtual void SetPoster(void) {}; virtual int CheckScrollable(bool hasIcon) {return 0;}; virtual void Render() = 0; }; @@ -154,6 +155,9 @@ class cNopacityRecordingMenuItem : public cNopacityMenuItem { private: const cRecording *Recording; bool isFolder; + bool hasPoster; + int posterWidth, posterHeight; + TVScrapperGetPoster poster; int Level, Total, New; cRect *vidWin; std::string strRecName; @@ -170,6 +174,7 @@ private: void DrawFolderIcon(void); void DrawRecDateTime(void); void DrawFolderNewSeen(void); + void DrawPoster(void); int CheckScrollableRecording(void); int CheckScrollableFolder(void); public: @@ -177,6 +182,7 @@ public: ~cNopacityRecordingMenuItem(void); void CreatePixmapTextScroller(int totalWidth); void CreateText(void); + void SetPoster(void); int CheckScrollable(bool hasIcon); void Render(); }; |