summaryrefslogtreecommitdiff
path: root/bitmap.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-05 18:06:22 +0000
committerlordjaxom <lordjaxom>2004-06-05 18:06:22 +0000
commit6094765d94e4caaf0813039dff826b731f277753 (patch)
treefed79334167f26d5a81a6cae9be3f1341375a36f /bitmap.h
parente0c2ee1d37c0f213f22a04df71710bebe3526f85 (diff)
downloadvdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.gz
vdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.bz2
- added scrollable texts and "SymbolScrollUp" and "SymbolScrollDown"v0.0.1
- added "MenuText", "MenuEventTitle", "MenuEventShortText", "MenuEventDescription", "MenuEventTime", "MenuRecording", "SymbolEventRunning", "SymbolEventTimer" and "SymbolEventVPS" - implemented image caching - added english and german README - removed some workarounds, and added a patch to vdr to the tree (will be included in 1.3.10) - fixed two bugs when displaying replay symbols - implemented tabbed texts in menu
Diffstat (limited to 'bitmap.h')
-rw-r--r--bitmap.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/bitmap.h b/bitmap.h
index b0dc35d..6028f0b 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,20 +1,29 @@
/*
- * $Id: bitmap.h,v 1.6 2004/06/02 20:43:05 lordjaxom Exp $
+ * $Id: bitmap.h,v 1.7 2004/06/05 01:39:36 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_BITMAP_H
#define VDR_TEXT2SKIN_BITMAP_H
#include "common.h"
+#include "cache.h"
#include <vdr/osd.h>
+class cText2SkinBitmap;
+typedef cText2SkinCache<string,cText2SkinBitmap*> cImageCache;
+
class cText2SkinBitmap: public cBitmap {
-public:
+private:
+ static cImageCache mCache;
+
+ // disallow direct construction
cText2SkinBitmap(void);
- cText2SkinBitmap(const char *Filename);
+
+public:
+ static cText2SkinBitmap *Load(const char *Filename);
+
virtual ~cText2SkinBitmap();
- bool Load(const char *Filename);
#ifdef HAVE_IMLIB2
bool LoadImlib(const char *Filename);
#endif