aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index d70f356..bc6f7ab 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -69,8 +69,11 @@ namespace QuickMedia
void setLineSpacing(float lineSpacing);
void setCharacterSpacing(float characterSpacing);
void setEditable(bool editable);
+
+ // Note: won't update until @draw is called
+ float getWidth() const;
- // Warning: won't update until @draw is called
+ // Note: won't update until @draw is called
float getHeight() const;
void processEvent(const sf::Event &event);