aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-03 07:35:39 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-03 07:35:42 +0200
commit9cde35c64c9f569055b101a80419d900f58806a9 (patch)
treecc94d0b5e7dab9c95e702905e4d5fc42f0253103 /include/Text.hpp
parent09080c571dbc959ab073aa6aa6598e6e447b0435 (diff)
Adding theming, add new theme 'simple'
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;
};
}