From e0c2ee1d37c0f213f22a04df71710bebe3526f85 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 2 Jun 2004 19:56:58 +0000 Subject: - implemented image loading through ImageMagick (fixes crashes when running together with GraphTFT) - implemented Theme support (see file demo.colors in the demo skin) - implemented translations for texts used in skins (see file demo.trans in the demo skin) --- loader.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'loader.h') diff --git a/loader.h b/loader.h index cb88d20..c049607 100644 --- a/loader.h +++ b/loader.h @@ -1,29 +1,29 @@ /* - * $Id: loader.h,v 1.3 2004/05/31 19:54:12 lordjaxom Exp $ + * $Id: loader.h,v 1.4 2004/06/02 20:43:05 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_LOADER_H #define VDR_TEXT2SKIN_LOADER_H -#define __STL_CONFIG_H +#include "common.h" #include -#undef __STL_CONFIG_H -#include - -using std::string; class cText2SkinData; +class cText2SkinI18n; +class cText2SkinTheme; class cText2SkinLoader: public cSkin { private: - cText2SkinData *mData; - string mDescription; + cText2SkinData *mData; + cText2SkinI18n *mI18n; + cText2SkinTheme *mTheme; + string mDescription; public: static void Start(void); static void Load(const char *Skin); - cText2SkinLoader(cText2SkinData *Data, const string &Skin, const string &Description); + cText2SkinLoader(cText2SkinData *Data, cText2SkinI18n *I18n, cText2SkinTheme *Theme, const string &Skin, const string &Description); ~cText2SkinLoader(); virtual const char *Description(void) { return mDescription.c_str(); } -- cgit v1.2.3