From 68928cb9f07eb2461f25a5d082fea4f9bfc94d7f Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 17 Jan 2013 14:33:53 +0100 Subject: Changed color buttons to nOpacity style --- imageloader.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'imageloader.h') 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 -- cgit v1.2.3