diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-28 13:32:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-28 13:32:34 +0200 |
commit | 4277763df5c1dac8ff389d3bfd138f03acc7f1e2 (patch) | |
tree | b0c3fc77ea601f105308d42840adb1ce2050b414 /include/SearchBar.hpp | |
parent | a16cfdc4f6cd14d576760c100a817c08f45be394 (diff) |
Implement text editing with navigation and multilingual fonts
Diffstat (limited to 'include/SearchBar.hpp')
-rw-r--r-- | include/SearchBar.hpp | 9 |
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) |