From 6094765d94e4caaf0813039dff826b731f277753 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sat, 5 Jun 2004 18:06:22 +0000 Subject: - added scrollable texts and "SymbolScrollUp" and "SymbolScrollDown" - 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 --- bitmap.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'bitmap.h') 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 +class cText2SkinBitmap; +typedef cText2SkinCache 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 -- cgit v1.2.3