aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index 4bb5ec0..016e852 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -24,6 +24,7 @@ namespace dchat
void setMaxWidth(float maxWidth);
void setCharacterSize(unsigned int characterSize);
void setFillColor(sf::Color color);
+ void setLineSpacing(float lineSpacing);
// Warning: won't update until @draw is called
float getHeight() const;
@@ -61,6 +62,7 @@ namespace dchat
bool dirty;
bool plainText;
float totalHeight;
+ float lineSpacing;
std::vector<TextElement> textElements;
};
}