aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp1
-rw-r--r--include/SearchBar.hpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index f246b5a..79bece6 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -83,6 +83,7 @@ namespace QuickMedia {
void select_first_item();
void reset_selected();
void clear_items();
+ void prepend_items(BodyItems new_items);
void append_items(BodyItems new_items);
void clear_thumbnails();
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp
index b4abd77..a90c69d 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -43,6 +43,9 @@ namespace QuickMedia {
int text_autosearch_delay;
int autocomplete_search_delay;
bool caret_visible;
+
+ float padding_vertical = 20.0f;
+ float background_margin_vertical = 4.0f;
private:
void clear_autocomplete_if_text_not_substring();
void clear_autocomplete_if_last_char_not_substr();