diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-27 01:40:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-27 01:40:27 +0200 |
commit | d1805b49acdbd6026da81ef547cc20497c6c6c6e (patch) | |
tree | 4640a7c7e8b2b4873b6b060e9078fbf483a08ad3 /include | |
parent | 51aa9384f7cf3ba33430ab7cade60ccdfbe06943 (diff) |
Set search input to selected item title when pressing tab
Diffstat (limited to 'include')
-rw-r--r-- | include/SearchBar.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp index a888ffb..528327e 100644 --- a/include/SearchBar.hpp +++ b/include/SearchBar.hpp @@ -27,6 +27,7 @@ namespace QuickMedia { void update(); void onWindowResize(const sf::Vector2f &window_size); void clear(); + void set_text(const std::string &text); void append_text(const std::string &text_to_add); void set_position(sf::Vector2f pos); void set_editable(bool editable); |