From 3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 13 Jun 2004 18:40:59 +0000 Subject: - added parameter alpha for images - added ReplayMode as Logo to display a replaylogo (normal, vcd, mp3, dvd, ...) - added some german and finnish (thx to Rolf Ahrenberg) translations - fixed VPSTime which was displayed although is was equal to the StartTime - fixed MenuItems which displayed non-Text items periodically - fixed calculation of the editable width in the main menu - fixed animation delay (specified in 1/100th, used 1/1000th) - flushing cache when entering a new display (now the cache basically holds all items necessary in one display) - removed "flush image cache" from setup menu - added "max. cache size" to setup menu --- bitmap.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bitmap.h') diff --git a/bitmap.h b/bitmap.h index 1945056..ac0f0e4 100644 --- a/bitmap.h +++ b/bitmap.h @@ -1,5 +1,5 @@ /* - * $Id: bitmap.h,v 1.9 2004/06/08 20:45:52 lordjaxom Exp $ + * $Id: bitmap.h,v 1.10 2004/06/12 18:00:05 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_BITMAP_H @@ -25,7 +25,7 @@ private: cText2SkinBitmap(void); public: - static cText2SkinBitmap *Load(const char *Filename); + static cText2SkinBitmap *Load(const char *Filename, int Alpha = 0); static void FlushCache(void) { mCache.Flush(); } virtual ~cText2SkinBitmap(); @@ -33,12 +33,12 @@ public: cBitmap &Get(int &UpdateIn); void SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); } - bool LoadXpm(const char *Filename); + bool LoadXpm(const char *Filename, int Alpha); #ifdef HAVE_IMLIB2 - bool LoadImlib(const char *Filename); + bool LoadImlib(const char *Filename, int Alpha); #endif #ifdef HAVE_IMAGEMAGICK - bool LoadMagick(const char *Filename); + bool LoadMagick(const char *Filename, int Alpha); #endif }; -- cgit v1.2.3