From 4be76d8b5d921ed91b13f1f2e1884edaa3e9ec06 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Sat, 4 Jun 2011 15:23:46 +0200 Subject: additional token 'IsUTF8' --- skinconfig.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skinconfig.c b/skinconfig.c index e4e5ffa..3a03315 100644 --- a/skinconfig.c +++ b/skinconfig.c @@ -128,6 +128,7 @@ typedef enum _eTokenId tokDefaultBackgroundColor, tokForegroundColor, tokBackgroundColor, + tokIsUTF8, tokPrivateSettingStart, tokSettingShowChannelLogo, @@ -259,6 +260,7 @@ static const std::string Tokens[tokCountToken] = "DefaultBackgroundColor", "ForegroundColor", "BackgroundColor", + "IsUTF8", "privateSettingStart", "SettingShowChannelLogo", @@ -765,6 +767,10 @@ GLCD::cType cGraphLCDSkinConfig::GetToken(const GLCD::tSkinToken & Token) snprintf(buffer, 11, "0x%08x", (uint32_t)((mDisplay)->GetDriver()->GetBackgroundColor(false))); return buffer; } + case tokIsUTF8: + { + return (CharSet() == "UTF-8"); + } default: break; } -- cgit v1.2.3