diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-12-08 02:25:03 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-12-08 02:25:03 +0100 |
commit | 5e29715201f3b67648728a0cd048fd1b3e1dbcf7 (patch) | |
tree | 641c63fec25861f32b135c9997972bb0ec10887c /include/SearchBar.hpp | |
parent | 9a5412b692ec79a2688998db2f7b554e829e3278 (diff) |
Add replying to posts (image boards), changed keybinding of writing a post (image boards)
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 88eed19..e986368 100644 --- a/include/SearchBar.hpp +++ b/include/SearchBar.hpp @@ -20,6 +20,8 @@ namespace QuickMedia { void onWindowResize(const sf::Vector2f &window_size); void onTextEntered(sf::Uint32 codepoint); void clear(); + void append_text(const std::string &text_to_add); + bool is_cursor_at_start_of_line() const; float getBottom() const; float getBottomWithoutShadow() const; @@ -36,6 +38,7 @@ namespace QuickMedia { bool show_placeholder; bool updated_search; bool draw_logo; + bool needs_update; sf::Clock time_since_search_update; }; }
\ No newline at end of file |