diff options
Diffstat (limited to 'imageloader.h')
-rw-r--r-- | imageloader.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/imageloader.h b/imageloader.h index 4983539..a0fa864 100644 --- a/imageloader.h +++ b/imageloader.h @@ -9,28 +9,19 @@ using namespace Magick; -class cImageLoader { +class cImageLoader : public cImageMagickWrapper { public: cImageLoader(); ~cImageLoader(); cImage GetImage(); bool LoadLogo(const char *logo, int width, int height); - bool LoadIcon(const char *cIcon, int size); - bool LoadIcon(const char *cIcon, int width, int height, bool preserveAspect = true); bool LoadEPGImage(int eventID); bool LoadAdditionalEPGImage(cString name); bool LoadRecordingImage(cString Path); bool LoadAdditionalRecordingImage(cString path, cString name); bool LoadPoster(const char *poster, int width, int height); - void DrawBackground(tColor back, tColor blend, int width, int height, bool mirror = false); - void DrawBackground2(tColor back, tColor blend, int width, int height); bool SearchRecordingPoster(cString recPath, cString &found); 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); bool FirstImageInFolder(cString Path, cString Extension, cString *recImage); }; |