mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 13:01:48 +00:00
Added possibility to search for reruns in case of a timer conflict
This commit is contained in:
@@ -77,8 +77,13 @@ bool cImageLoader::LoadPoster(const char *poster, int width, int height) {
|
||||
bool cImageLoader::LoadIcon(const char *cIcon, int size) {
|
||||
if (size==0)
|
||||
return false;
|
||||
cString iconPathTheme = cString::sprintf("%s%s/recmenuicons/", *tvguideConfig.iconPath, *tvguideConfig.themeName);
|
||||
bool success = false;
|
||||
success = LoadImage(cIcon, *tvguideConfig.iconPath, "png");
|
||||
success = LoadImage(cIcon, *iconPathTheme, "png");
|
||||
if (!success) {
|
||||
cString iconPathdefault = cString::sprintf("%s/recmenuicons/", *tvguideConfig.iconPath);
|
||||
success = LoadImage(cIcon, *iconPathdefault, "png");
|
||||
}
|
||||
if (!success)
|
||||
return false;
|
||||
buffer.sample(Geometry(size, size));
|
||||
|
Reference in New Issue
Block a user