aboutsummaryrefslogtreecommitdiff
path: root/include/SearchBar.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SearchBar.hpp')
-rw-r--r--include/SearchBar.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp
index a90c69d..8a1a8a0 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -1,13 +1,18 @@
#pragma once
-#include <SFML/Graphics/RenderWindow.hpp>
-#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Text.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/Sprite.hpp>
+#include <SFML/System/Clock.hpp>
#include "../external/RoundedRectangleShape.hpp"
#include <functional>
+namespace sf {
+ class Font;
+ class RenderWindow;
+ class Event;
+}
+
namespace QuickMedia {
using TextUpdateCallback = std::function<void(const sf::String &text)>;
// Return true to consume the search (clear the search field)