diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-30 22:05:41 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-30 22:05:41 +0200 |
commit | 9602603135f456d906192112288dcd84429c8fee (patch) | |
tree | 6a6dafff82f3e38b8e18b74f474ef61965917339 /include/Entry.hpp | |
parent | e1a8d10b61c5f8ca092ba3aa458b661da29ba447 (diff) |
Matrix: implement message editing
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r-- | include/Entry.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index 6f96e58..18a860c 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -22,8 +22,10 @@ namespace QuickMedia { void draw(sf::RenderWindow &window); void set_editable(bool editable); + void set_text(std::string text); void set_position(const sf::Vector2f &pos); void set_max_width(float width); + void move_caret_to_end(); float get_height(); |