aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-12 10:07:55 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-12 10:10:27 +0200
commitf38d25cc18720203ff74ca3f8452119c71a82453 (patch)
tree7e75fb185ece57ccfbd8f0fd3b4b8883f199800a /include
parent2e6ed80e3ed3cbab2cf7495903db35e224a6014f (diff)
Implement ctrl+v clipboard pasting in search bar
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 6966466..8265ef0 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -18,6 +18,7 @@ namespace QuickMedia {
public:
SearchBar(sf::Font &font, sf::Texture &plugin_logo, const std::string &placeholder);
void draw(sf::RenderWindow &window, bool draw_shadow = true);
+ void on_event(sf::Event &event);
void update();
void onWindowResize(const sf::Vector2f &window_size);
void onTextEntered(sf::Uint32 codepoint);