summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-13 18:40:59 +0000
committerlordjaxom <lordjaxom>2004-06-13 18:40:59 +0000
commit3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1 (patch)
tree218f9b266dbde63a76caa8548108e1dccec4afc7 /bitmap.h
parentc73c6b62067cef765a85dd2a19dcc7296b813b2c (diff)
downloadvdr-plugin-text2skin-3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1.tar.gz
vdr-plugin-text2skin-3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1.tar.bz2
- added parameter alpha for imagesv0.0.4
- 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
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h10
1 files changed, 5 insertions, 5 deletions
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
};