aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-08 18:06:43 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-08 18:06:51 +0200
commit15c4434de0c2cd12e09c2f41e898c0b124194a97 (patch)
tree0bf01cd49a22b7aa79304ed0e9d34ac265d8393c /include/Text.hpp
parent4f6c843523f45708d8bbed25b3677f69c4208a38 (diff)
Add context menu, add context menu to delete message
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index d2809de..d7d1e06 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -40,7 +40,10 @@ namespace dchat
void setPosition(float x, float y);
void setPosition(const sf::Vector2f &position);
+ sf::Vector2f getPosition() const;
+
void setMaxWidth(float maxWidth);
+ float getMaxWidth() const;
void setCharacterSize(unsigned int characterSize);
unsigned int getCharacterSize() const;