summaryrefslogtreecommitdiff
path: root/imageloader.h
diff options
context:
space:
mode:
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