aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index 0bc3ced..d2809de 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -36,11 +36,17 @@ namespace dchat
Text(const sf::String &str, const sf::Font *font, unsigned int characterSize, float maxWidth, bool plainText = true);
void setString(const sf::String &str);
+ const sf::String& getString() const;
void setPosition(float x, float y);
void setPosition(const sf::Vector2f &position);
void setMaxWidth(float maxWidth);
+
void setCharacterSize(unsigned int characterSize);
+ unsigned int getCharacterSize() const;
+
+ const sf::Font* getFont() const;
+
void setFillColor(sf::Color color);
void setLineSpacing(float lineSpacing);
void setEditable(bool editable);