From b06544871ae48871fc302706ecc49b78c6bcb3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Mon, 24 Sep 2012 23:55:52 +0200 Subject: made graphics/engine/text cleaner, I hope --- src/graphics/engine/text.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/graphics/engine/text.h') 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 + StringToUTFCharList(const std::string &text); protected: CInstanceManager* m_iMan; -- cgit v1.2.3-1-g7c22