From d638a6092bd6291c983490ba3f966162c7ca06c2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 31 Oct 2020 09:46:32 +0100 Subject: Load fonts on demand --- include/Entry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Entry.hpp') diff --git a/include/Entry.hpp b/include/Entry.hpp index 27c3517..32dcda2 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -17,7 +17,7 @@ namespace QuickMedia { class Entry { public: - Entry(const std::string &placeholder_text, sf::Font *font, sf::Font *cjk_font); + Entry(const std::string &placeholder_text); void process_event(sf::Event &event); void draw(sf::RenderWindow &window); -- cgit v1.2.3