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/Entry.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Entry.hpp') 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(); -- cgit v1.2.3