From 3b0999969632e2820b846ca8adcef6b346ff7441 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 12 Dec 2004 19:53:30 +0000 Subject: 1.0-pre3 --- bitmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitmap.h') diff --git a/bitmap.h b/bitmap.h index af0fd42..632408e 100644 --- a/bitmap.h +++ b/bitmap.h @@ -22,7 +22,7 @@ private: cText2SkinBitmap(void); public: - static cText2SkinBitmap *Load(const std::string &Filename, int Alpha = 0); + static cText2SkinBitmap *Load(const std::string &Filename, int Alpha = 0, int height = 0, int width = 0, int colors = 0); static void ResetCache(void) { mCache.Reset(); } static void FlushCache(void) { mCache.Flush(); } @@ -35,10 +35,10 @@ public: bool LoadXpm(const char *Filename); #ifdef HAVE_IMLIB2 - bool LoadImlib(const char *Filename); + bool LoadImlib(const char *Filename,int height = 0, int width = 0, int colors = 0); #endif #ifdef HAVE_IMAGEMAGICK - bool LoadMagick(const char *Filename); + bool LoadMagick(const char *Filename,int height = 0, int width = 0, int colors = 0); #endif }; -- cgit v1.2.3