diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-07-13 18:20:55 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-07-13 18:20:55 +0300 |
commit | 3313495b0d4103fe62f783b5dc5b723d57c4ed9e (patch) | |
tree | eda2b1da3296d87d3551a441d3f78864359e6d26 /bitmap.h | |
parent | c0542dc4cef38987a1e377ac5d31a8987c9955d3 (diff) | |
download | vdr-plugin-text2skin-3313495b0d4103fe62f783b5dc5b723d57c4ed9e.tar.gz vdr-plugin-text2skin-3313495b0d4103fe62f783b5dc5b723d57c4ed9e.tar.bz2 |
Interface/preprocessor directive cleanups.
Diffstat (limited to 'bitmap.h')
-rw-r--r-- | bitmap.h | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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) { |