aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-27 01:40:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-27 01:40:27 +0200
commitd1805b49acdbd6026da81ef547cc20497c6c6c6e (patch)
tree4640a7c7e8b2b4873b6b060e9078fbf483a08ad3 /include
parent51aa9384f7cf3ba33430ab7cade60ccdfbe06943 (diff)
Set search input to selected item title when pressing tab
Diffstat (limited to 'include')
-rw-r--r--include/SearchBar.hpp1
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);