diff options
author | louis <louis.braun@gmx.de> | 2013-11-07 16:58:07 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-11-07 16:58:07 +0100 |
commit | e09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7 (patch) | |
tree | 7886779ba33b466b2fe9ca67362183dabe08597e /imageloader.c | |
parent | 0bbbad6d8057953ae51e9465bd76e5a3256e5eee (diff) | |
download | skin-nopacity-e09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7.tar.gz skin-nopacity-e09cf14b0cf0882b8b4db75ae64cf9d6846b8bc7.tar.bz2 |
changed build environment that every class is build seperately
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/imageloader.c b/imageloader.c index 437030e..c368370 100644 --- a/imageloader.c +++ b/imageloader.c @@ -1,3 +1,5 @@ +#include "config.h" +#include "helpers.h" #include "imageloader.h" #include <math.h> #include <string> @@ -16,7 +18,7 @@ cImage cImageLoader::GetImage() { return CreateImageCopy(); } -bool cImageLoader::LoadLogo(const char *logo, int width = config.GetValue("logoWidthOriginal"), int height = config.GetValue("logoHeightOriginal")) { +bool cImageLoader::LoadLogo(const char *logo, int width, int height ) { if ((width == 0)||(height==0)) return false; std::string logoLower = StrToLowerCase(logo); @@ -141,7 +143,7 @@ bool cImageLoader::SearchRecordingPoster(cString recPath, cString &found) { found = manualPoster; return true; } - return false; + return false; } bool cImageLoader::FirstImageInFolder(cString Path, cString Extension, cString *recImage) { |