diff options
author | louis <louis.braun@gmx.de> | 2013-12-21 11:25:03 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-21 11:25:03 +0100 |
commit | 4c61104675de5f1fac7e7fa95fb5743e18defc02 (patch) | |
tree | 7a3ee90e3b28246e8d4595954d4559445fb7ebe7 /imageloader.h | |
parent | 8aa2c81d3165a0517115337362f1203ea4bdd899 (diff) | |
download | vdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.gz vdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.bz2 |
Version 1.2.0pre
Diffstat (limited to 'imageloader.h')
-rw-r--r-- | imageloader.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/imageloader.h b/imageloader.h index 8b88ba4..f06b542 100644 --- a/imageloader.h +++ b/imageloader.h @@ -6,26 +6,22 @@ #include <vdr/osd.h> #include <vdr/skins.h> #include <Magick++.h> +#include "imagemagickwrapper.h" using namespace Magick; -class cImageLoader { +class cImageLoader : public cImageMagickWrapper { public: cImageLoader(); ~cImageLoader(); cImage GetImage(); - bool LoadLogo(const char *logo, int width, int height); - bool LoadEPGImage(int eventID); + bool LoadLogo(const cChannel *channel, int width, int height); + bool LoadEPGImage(int eventID, int width, int height); bool LoadAdditionalEPGImage(cString name); bool LoadPoster(const char *poster, int width, int height); bool LoadIcon(const char *cIcon, int size); + bool LoadOsdElement(cString name, int width, int height); bool DrawBackground(tColor back, tColor blend, int width, int height); -private: - Image buffer; - Color Argb2Color(tColor col); - void toLowerCase(std::string &str); - bool LoadImage(cString FileName, cString Path, cString Extension); - bool LoadImage(const char *fullpath); }; #endif //_TVGUIDE_IMAGELOADER_H |