aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-30 22:05:41 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-30 22:05:41 +0200
commit9602603135f456d906192112288dcd84429c8fee (patch)
tree6a6dafff82f3e38b8e18b74f474ef61965917339 /include/Text.hpp
parente1a8d10b61c5f8ca092ba3aa458b661da29ba447 (diff)
Matrix: implement message editing
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 0244ba1..59693a2 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -80,6 +80,8 @@ namespace QuickMedia
void setCharacterSpacing(float characterSpacing);
void setEditable(bool editable);
bool isEditable() const;
+ // Note: only call after initial updateGeometry or draw. TODO: Automatically do this internally
+ void moveCaretToEnd();
// Note: won't update until @draw is called
float getWidth() const;