aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-19 23:45:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-20 01:16:46 +0200
commit8e79b2e10827f42d76ec61621f2c484f9cdc2551 (patch)
tree2f55f23bdebace14d4c56d15f72a40cbafd0ca3e /include
parent6beaa000d590db342bc0198590686cbbd6304eb4 (diff)
Start on notifications
run matrix delegate on main (ui) thread instead of mutex hell
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 9798992..8e571f1 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -231,7 +231,7 @@ namespace QuickMedia {
float get_spacing_y() const;
// TODO: Highlight the part of the text that matches the search.
- void filter_search_fuzzy(const std::string &text);
+ void filter_search_fuzzy(const std::string &text, bool select_first_if_empty = true);
bool no_items_visible() const;
@@ -331,5 +331,6 @@ namespace QuickMedia {
// TODO: Instead of using this, add functions for modifying |items| and apply the filter on those new items
bool items_dirty = false;
std::string current_filter;
+ bool using_filter = false;
};
} \ No newline at end of file