From 5382d18d05d358bb1c313c642395e835aa44a6a0 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 8 Dec 2004 18:48:39 +0000 Subject: 1.0-pre1 --- theme.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'theme.h') diff --git a/theme.h b/theme.h index 36ba3d1..0d6b167 100644 --- a/theme.h +++ b/theme.h @@ -1,5 +1,5 @@ /* - * $Id: theme.h,v 1.1 2004/06/02 20:43:05 lordjaxom Exp $ + * $Id: theme.h,v 1.1.1.1 2004/11/19 16:45:31 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_THEME_H @@ -7,12 +7,13 @@ #include "common.h" #include "file.h" +#include #include class cText2SkinTheme: public cText2SkinFile { private: - cTheme mTheme; - map mMap; + cTheme mTheme; + std::map mMap; protected: bool Parse(const char *Text); @@ -22,10 +23,10 @@ public: virtual ~cText2SkinTheme(); cTheme *Theme(void) { return &mTheme; } - tColor Color(const string &Name); + tColor Color(const std::string &Name); }; -inline tColor cText2SkinTheme::Color(const string &Name) { +inline tColor cText2SkinTheme::Color(const std::string &Name) { if (mMap.find(Name) != mMap.end()) return mTheme.Color(mMap[Name]); else -- cgit v1.2.3