From 9cde35c64c9f569055b101a80419d900f58806a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 May 2018 07:35:39 +0200 Subject: Adding theming, add new theme 'simple' --- 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 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 textElements; }; } -- cgit v1.2.3