summaryrefslogtreecommitdiff
path: root/menuitem.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-08-21 10:26:50 +0200
committerlouis <louis.braun@gmx.de>2013-08-21 10:26:50 +0200
commit9e1fcfc0bff753031617324b5244805080be9430 (patch)
treef7a574ff7223751f4d2da9b295b90c50530e3dc8 /menuitem.h
parente99e14c6f02164f53fb5ef01cdc8f091aac1fc4a (diff)
downloadskin-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/menuitem.h b/menuitem.h
index 7d09c32..60709bd 100644
--- a/menuitem.h
+++ b/menuitem.h
@@ -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();
};