summaryrefslogtreecommitdiff
path: root/imageloader.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-17 14:33:53 +0100
committerlouis <louis.braun@gmx.de>2013-01-17 14:33:53 +0100
commit68928cb9f07eb2461f25a5d082fea4f9bfc94d7f (patch)
treea2a97ac3f649212319ea56506403d98f6939aa0d /imageloader.h
parent47c3fea545a1b4607deda1e7d2fa51cbcf89a656 (diff)
downloadvdr-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.h17
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