aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-18 22:05:19 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-18 22:08:41 +0200
commitd123c41cd3ad4f0d55ae134be69e7ffd144dbb74 (patch)
treef46a8e6daea5b757f4b66363c64aea6269dd83a9 /include/Text.hpp
parentf6a39afa8bfd869ba661799897ac37e7d1ff7c34 (diff)
Add mention autocomplete
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 989edbb..5749072 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -82,6 +82,9 @@ namespace QuickMedia
void setCharacterSize(unsigned int characterSize);
unsigned int getCharacterSize() const;
+ void replace(size_t start_index, size_t length, const sf::String &insert_str);
+ int getCaretIndex() const;
+
void setFillColor(sf::Color color);
void setLineSpacing(float lineSpacing);