summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/bitmap.h b/bitmap.h
index ac0f0e4..44a3e1b 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.h,v 1.10 2004/06/12 18:00:05 lordjaxom Exp $
+ * $Id: bitmap.h,v 1.11 2004/06/16 18:46:50 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_BITMAP_H
@@ -15,11 +15,12 @@ typedef cText2SkinCache<string,cText2SkinBitmap*> cImageCache;
class cText2SkinBitmap {
private:
static cImageCache mCache;
+ static bool mFirstTime;
- vector<cBitmap*> mBitmaps;
- int mCurrent;
- time_t mDelay;
- time_t mLastGet;
+ vector<cBitmap*> mBitmaps;
+ int mCurrent;
+ time_t mDelay;
+ time_t mLastGet;
// disallow direct construction
cText2SkinBitmap(void);
@@ -32,6 +33,7 @@ public:
cBitmap &Get(int &UpdateIn);
void SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); }
+ void SetAlpha(int Alpha);
bool LoadXpm(const char *Filename, int Alpha);
#ifdef HAVE_IMLIB2