summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2009-07-13 18:20:55 +0300
committerVille Skyttä <ville.skytta@iki.fi>2009-07-13 18:20:55 +0300
commit3313495b0d4103fe62f783b5dc5b723d57c4ed9e (patch)
treeeda2b1da3296d87d3551a441d3f78864359e6d26 /bitmap.h
parentc0542dc4cef38987a1e377ac5d31a8987c9955d3 (diff)
downloadvdr-plugin-text2skin-3313495b0d4103fe62f783b5dc5b723d57c4ed9e.tar.gz
vdr-plugin-text2skin-3313495b0d4103fe62f783b5dc5b723d57c4ed9e.tar.bz2
Interface/preprocessor directive cleanups.
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/bitmap.h b/bitmap.h
index 9f14120..7dede8b 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -72,6 +72,9 @@ private:
// disallow direct construction
cText2SkinBitmap(void);
+ bool LoadXpm(const char *Filename);
+ bool LoadNonXpm(const char *Filename, int height, int width, int colors, bool Quiet);
+
public:
static cText2SkinBitmap *Load(const std::string &Filename, int Alpha = 0, int height = 0,
int width = 0, int colors = 0, bool Quiet = false);
@@ -86,14 +89,6 @@ public:
cBitmap &Get(uint &UpdateIn, uint Now);
void SetColor(int Index, tColor Color);
void SetAlpha(int Alpha);
-
- bool LoadXpm(const char *Filename);
-#ifdef HAVE_IMLIB2
- bool LoadImlib(const char *Filename,int height, int width, int colors, bool Quiet);
-#endif
-#ifdef HAVE_IMAGEMAGICK
- bool LoadMagick(const char *Filename,int height, int width, int colors, bool Quiet);
-#endif
};
inline void cText2SkinBitmap::SetColor(int Index, tColor Color) {