Mercurial > fife-parpg
diff engine/core/gui/base/gui_font.cpp @ 228:756b895e1dab
Merged unicode-support back into trunk.
Now all GUI/visible strings should be unicode.
Internal strings unchanged.
Remember to use a font that actually has the desired codepoints.
Current default unicode policiy is 'ignore'.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 21 Mar 2009 10:38:11 +0000 |
parents | 90005975cdbb |
children | 47b49b9b0c0a |
line wrap: on
line diff
--- a/engine/core/gui/base/gui_font.cpp Fri Mar 20 15:17:28 2009 +0000 +++ b/engine/core/gui/base/gui_font.cpp Sat Mar 21 10:38:11 2009 +0000 @@ -43,7 +43,7 @@ delete m_font; } - int GuiFont::getStringIndexAt(const std::string& text, int x) { + int GuiFont::getStringIndexAt(const std::string& text, int x) const { return m_font->getStringIndexAt(text, x); }