diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-30 09:19:31 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-30 09:19:34 +0200 |
commit | 4aecbda252b71eff9480d73fd8ec5100819da63b (patch) | |
tree | 16f2c7feab0d7a626dce7470c7ca45adcecbe171 /include | |
parent | aab52eb9561966977dc158abdc99bb599ea1e989 (diff) |
Change font, change text spacing
Diffstat (limited to 'include')
-rw-r--r-- | include/Text.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<TextElement> textElements; int caretIndex; |