diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-04 15:23:46 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-06-04 15:23:46 +0200 |
commit | 4be76d8b5d921ed91b13f1f2e1884edaa3e9ec06 (patch) | |
tree | c819e55d31d1f9a5fc917c19e7042d3c76de623a | |
parent | 30943fa06e21d17e7760dbafbefd99a4f245f775 (diff) | |
download | vdr-plugin-graphlcd-4be76d8b5d921ed91b13f1f2e1884edaa3e9ec06.tar.gz vdr-plugin-graphlcd-4be76d8b5d921ed91b13f1f2e1884edaa3e9ec06.tar.bz2 |
additional token 'IsUTF8'
-rw-r--r-- | skinconfig.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |