summaryrefslogtreecommitdiff
path: root/loader.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-05-31 19:56:56 +0000
committerlordjaxom <lordjaxom>2004-05-31 19:56:56 +0000
commitb968a310699595ff139278440ae278aebf112c1f (patch)
tree1944e18832ee3f7420634db6a607aec6c35b76e8 /loader.h
parent377ef2b18a6499a1ef0e540a74c4e54317efee85 (diff)
downloadvdr-plugin-text2skin-b968a310699595ff139278440ae278aebf112c1f.tar.gz
vdr-plugin-text2skin-b968a310699595ff139278440ae278aebf112c1f.tar.bz2
- "Background" may be initialized with a color nowv0.0.1-rc1
- fixed channel name/number display - added parameter type (to store logo's filetype) - "Timebar", "Progressbar" and "Volumebar": Background is only drawn if bg is specified - fixed timebar (was running backwards) - renamed "Progressbar" to "Replaybar" for more consistency - renamed "Logo" to "ChannelLogo" - introduced items "Language" (for audio language texts or symbols) and "Image" (foreground images) - adopted SKINS document (SKINS.de is not up-to-date yet) - introduced item "MenuTitle" - introduced items "MenuRed", "MenuGreen", "MenuYellow" and "MenuBlue" - activated message items for display in menu - introcuded parameter "arc" and item "Slope" - fixed possible segfault in Item=Message - implemented items "SymbolReplaying" and "SymbolRadio" - added "text" parameter for all text like Items (explanation follows) - added "SymbolPlay", "SymbolPause", "SymbolFastFwd", "SymbolFastRew", "SymbolSlowFwd", "SymbolSlowRew" items.
Diffstat (limited to 'loader.h')
-rw-r--r--loader.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/loader.h b/loader.h
index 194f2fa..cb88d20 100644
--- a/loader.h
+++ b/loader.h
@@ -1,27 +1,32 @@
/*
- * $Id: loader.h,v 1.1.1.1 2004/05/23 00:08:03 lordjaxom Exp $
+ * $Id: loader.h,v 1.3 2004/05/31 19:54:12 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_LOADER_H
#define VDR_TEXT2SKIN_LOADER_H
+#define __STL_CONFIG_H
#include <vdr/skins.h>
+#undef __STL_CONFIG_H
+#include <string>
+
+using std::string;
class cText2SkinData;
class cText2SkinLoader: public cSkin {
private:
cText2SkinData *mData;
- const char *mDescription;
+ string mDescription;
public:
static void Start(void);
static void Load(const char *Skin);
- cText2SkinLoader(cText2SkinData *Data, const char *Skin, const char *Description);
+ cText2SkinLoader(cText2SkinData *Data, const string &Skin, const string &Description);
~cText2SkinLoader();
- virtual const char *Description(void) { return mDescription; };
+ virtual const char *Description(void) { return mDescription.c_str(); }
virtual cSkinDisplayChannel *DisplayChannel(bool WithInfo);
virtual cSkinDisplayMenu *DisplayMenu(void);
virtual cSkinDisplayReplay *DisplayReplay(bool ModeOnly);