diff options
author | louis <louis.braun@gmx.de> | 2013-01-17 14:33:53 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-01-17 14:33:53 +0100 |
commit | 68928cb9f07eb2461f25a5d082fea4f9bfc94d7f (patch) | |
tree | a2a97ac3f649212319ea56506403d98f6939aa0d /imageloader.h | |
parent | 47c3fea545a1b4607deda1e7d2fa51cbcf89a656 (diff) | |
download | vdr-plugin-tvguide-68928cb9f07eb2461f25a5d082fea4f9bfc94d7f.tar.gz vdr-plugin-tvguide-68928cb9f07eb2461f25a5d082fea4f9bfc94d7f.tar.bz2 |
Changed color buttons to nOpacity style
Diffstat (limited to 'imageloader.h')
-rw-r--r-- | imageloader.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/imageloader.h b/imageloader.h index c122758..355c21e 100644 --- a/imageloader.h +++ b/imageloader.h @@ -11,13 +11,18 @@ using namespace Magick; class cImageLoader { public: - cImageLoader(); - ~cImageLoader(); - cImage GetImage(); - bool LoadLogo(const char *logo); - bool LoadEPGImage(int eventID); + cImageLoader(); + ~cImageLoader(); + cImage GetImage(); + bool LoadLogo(const char *logo, int width, int height); + bool LoadEPGImage(int eventID); + void DrawBackground(tColor back, tColor blend, int width, int height); + void DrawBackground2(tColor back, tColor blend, int width, int height); private: - Image osdImage; + Image buffer; + Color Argb2Color(tColor col); + void toLowerCase(std::string &str); + bool LoadImage(cString FileName, cString Path, cString Extension); }; #endif //_TVGUIDE_IMAGELOADER_H |