summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-11 15:32:39 +0000
committerlordjaxom <lordjaxom>2004-06-11 15:32:39 +0000
commitc73c6b62067cef765a85dd2a19dcc7296b813b2c (patch)
tree7e340834d60d30a50b682c3e00c6f09eabeacf2e /bitmap.h
parente0de96fc7168daeaf414fb6196e08969468427d2 (diff)
downloadvdr-plugin-text2skin-c73c6b62067cef765a85dd2a19dcc7296b813b2c.tar.gz
vdr-plugin-text2skin-c73c6b62067cef765a85dd2a19dcc7296b813b2c.tar.bz2
- fixed VPSTime which was displayed on channels that didn't even have VPSv0.0.3
- fixed Symbols in channel display when viewing a group - fixed text translation if no translation is present - fixed compile error with gcc 3.4 (thanks to Gregoire Favre for reporting this) - restructured Skin (now the official Skin version is 0.0.2) it is now possible to control visibility of all items - added a script to convert 0.0.1 themes to 0.0.2 - added support for animated logos (mng or gif files) ONLY IMAGEMAGICK!!! - added finnish language translations (thanks to Rolf Ahrenberg)
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/bitmap.h b/bitmap.h
index 51fc358..1945056 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -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