From f38d25cc18720203ff74ca3f8452119c71a82453 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 12 Jul 2020 10:07:55 +0200 Subject: Implement ctrl+v clipboard pasting in search bar --- include/SearchBar.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3-70-g09d2