From 4aecbda252b71eff9480d73fd8ec5100819da63b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 30 May 2018 09:19:31 +0200 Subject: Change font, change text spacing --- include/Text.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Text.hpp') diff --git a/include/Text.hpp b/include/Text.hpp index 286a0b1..24ea02a 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -53,6 +53,7 @@ namespace dchat void setFillColor(sf::Color color); void setLineSpacing(float lineSpacing); + void setCharacterSpacing(float characterSpacing); void setEditable(bool editable); // Warning: won't update until @draw is called @@ -103,6 +104,7 @@ namespace dchat CaretMoveDirection caretMoveDirection; sf::FloatRect boundingBox; float lineSpacing; + float characterSpacing; std::vector textElements; int caretIndex; -- cgit v1.2.3