diff options
Diffstat (limited to 'bitmap.h')
-rw-r--r-- | bitmap.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * $Id: bitmap.h,v 1.8 2004/06/07 18:23:11 lordjaxom Exp $ + * $Id: bitmap.h,v 1.9 2004/06/08 20:45:52 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_BITMAP_H @@ -12,10 +12,15 @@ class cText2SkinBitmap; typedef cText2SkinCache<string,cText2SkinBitmap*> cImageCache; -class cText2SkinBitmap: public cBitmap { +class cText2SkinBitmap { private: static cImageCache mCache; + vector<cBitmap*> mBitmaps; + int mCurrent; + time_t mDelay; + time_t mLastGet; + // disallow direct construction cText2SkinBitmap(void); @@ -25,6 +30,10 @@ public: virtual ~cText2SkinBitmap(); + cBitmap &Get(int &UpdateIn); + void SetColor(int Index, tColor Color) { mBitmaps[mCurrent]->SetColor(Index, Color); } + + bool LoadXpm(const char *Filename); #ifdef HAVE_IMLIB2 bool LoadImlib(const char *Filename); #endif |