From 9602603135f456d906192112288dcd84429c8fee Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 30 Sep 2020 22:05:41 +0200 Subject: Matrix: implement message editing --- include/Text.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Text.hpp') 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; -- cgit v1.2.3