aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Text.hpp2
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;