TD neutrino: hack to avoid duplicate code in lcd/fb fontrenderer

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2030 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2012-01-01 12:13:17 +00:00
parent 1bf6f26016
commit 3777dbeb3a

View File

@@ -183,7 +183,8 @@ FT_Error LcdFont::getGlyphBitmap(FT_ULong glyph_index, FTC_SBit *sbit)
return renderer->getGlyphBitmap(&font, glyph_index, sbit);
}
int UTF8ToUnicode(const char * &text, const bool utf8_encoded) // returns -1 on error
extern int UTF8ToUnicode(const char * &text, const bool utf8_encoded); // returns -1 on error
#if 0
{
int unicode_value;
@@ -227,6 +228,7 @@ int UTF8ToUnicode(const char * &text, const bool utf8_encoded) // returns -1 on
return unicode_value;
}
#endif
void LcdFont::RenderString(int x, int y, const int width, const char * text, const int color, const int selected, const bool utf8_encoded)
{