diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-11 14:24:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-11 14:24:52 +0200 |
commit | e308d77b06405b91885cf6f97c0dc2a1b70679ef (patch) | |
tree | 7fb0ed73c20354f3e0ff49ebb199e33ebc3427f7 /include/SearchBar.hpp | |
parent | 6b90f55f4dc14b9d39fa0dbf6b82b3c12ccc29d9 (diff) |
Improve file saving gui
Diffstat (limited to 'include/SearchBar.hpp')
-rw-r--r-- | include/SearchBar.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp index cad897f..4fc19e9 100644 --- a/include/SearchBar.hpp +++ b/include/SearchBar.hpp @@ -33,7 +33,9 @@ namespace QuickMedia { void set_to_autocomplete(); void set_autocomplete_text(const std::string &text); void set_position(sf::Vector2f pos); + void set_editable(bool editable); + bool is_editable() const; float getBottom() const; float getBottomWithoutShadow() const; @@ -74,5 +76,6 @@ namespace QuickMedia { sf::Vector2f pos; sf::Clock time_since_search_update; sf::Vector2f prev_size; + bool editable = true; }; }
\ No newline at end of file |