summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/text.h
diff options
context:
space:
mode:
authorMichał Zieliński <michal@zielinscy.org.pl>2012-09-24 23:55:52 +0200
committerMichał Zieliński <michal@zielinscy.org.pl>2012-09-24 23:55:52 +0200
commitb06544871ae48871fc302706ecc49b78c6bcb3d2 (patch)
treefa2e01e13a4502c7b2a508f20fa648a53d27488c /src/graphics/engine/text.h
parent4e4046f843559811f884839da99dd01c38750c52 (diff)
downloadcolobot-b06544871ae48871fc302706ecc49b78c6bcb3d2.tar.gz
colobot-b06544871ae48871fc302706ecc49b78c6bcb3d2.tar.bz2
colobot-b06544871ae48871fc302706ecc49b78c6bcb3d2.zip
made graphics/engine/text cleaner, I hope
Diffstat (limited to 'src/graphics/engine/text.h')
-rw-r--r--src/graphics/engine/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphics/engine/text.h b/src/graphics/engine/text.h
index e587609..0ecf7cd 100644
--- a/src/graphics/engine/text.h
+++ b/src/graphics/engine/text.h
@@ -292,7 +292,9 @@ protected:
void DrawString(const std::string &text, FontType font,
float size, Math::Point pos, float width, int eol);
void DrawHighlight(FontHighlight hl, Math::Point pos, Math::Point size);
- void DrawChar(UTF8Char ch, FontType font, float size, Math::Point &pos);
+ void DrawCharAndAdjustPos(UTF8Char ch, FontType font, float size, Math::Point &pos);
+ std::vector<UTF8Char>
+ StringToUTFCharList(const std::string &text);
protected:
CInstanceManager* m_iMan;