diff options
Diffstat (limited to 'imageloader.h')
-rw-r--r-- | imageloader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/imageloader.h b/imageloader.h index a5a0b5f..27b90d9 100644 --- a/imageloader.h +++ b/imageloader.h @@ -21,6 +21,7 @@ public: 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); private: @@ -28,7 +29,8 @@ private: Color Argb2Color(tColor col); void toLowerCase(std::string &str); bool LoadImage(cString FileName, cString Path, cString Extension); - bool FirstImageInFolder(cString Path, cString Extension, cString *recImage); + bool LoadImage(const char *fullpath); + bool FirstImageInFolder(cString Path, cString Extension, cString *recImage); }; #endif //__NOPACITY_IMAGELOADER_H |