From 5382d18d05d358bb1c313c642395e835aa44a6a0 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 8 Dec 2004 18:48:39 +0000 Subject: 1.0-pre1 --- bitmap.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'bitmap.h') diff --git a/bitmap.h b/bitmap.h index 79c44e7..af0fd42 100644 --- a/bitmap.h +++ b/bitmap.h @@ -1,5 +1,5 @@ /* - * $Id: bitmap.h,v 1.12 2004/06/18 16:08:11 lordjaxom Exp $ + * $Id: bitmap.h,v 1.2 2004/12/08 18:47:37 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_BITMAP_H @@ -13,16 +13,16 @@ class cText2SkinBitmap { private: static cText2SkinCache mCache; - vector mBitmaps; - int mCurrent; - time_t mDelay; - time_t mLastGet; + std::vector mBitmaps; + int mCurrent; + time_t mDelay; + time_t mLastGet; // disallow direct construction cText2SkinBitmap(void); public: - static cText2SkinBitmap *Load(const char *Filename, int Alpha = 0); + static cText2SkinBitmap *Load(const std::string &Filename, int Alpha = 0); static void ResetCache(void) { mCache.Reset(); } static void FlushCache(void) { mCache.Flush(); } @@ -33,12 +33,12 @@ public: void SetColor(int Index, tColor Color); void SetAlpha(int Alpha); - bool LoadXpm(const char *Filename, int Alpha); + bool LoadXpm(const char *Filename); #ifdef HAVE_IMLIB2 - bool LoadImlib(const char *Filename, int Alpha); + bool LoadImlib(const char *Filename); #endif #ifdef HAVE_IMAGEMAGICK - bool LoadMagick(const char *Filename, int Alpha); + bool LoadMagick(const char *Filename); #endif }; -- cgit v1.2.3