8 #ifndef SRC_FONTMANAGER_HPP_ 9 #define SRC_FONTMANAGER_HPP_ 11 #include <SFML/Graphics/Font.hpp> 19 static const std::shared_ptr<sf::Font>&
get(
const sf::String& name);
20 static void set(
const sf::String& path,
const sf::String& name,
bool asDefault =
false);
21 static void set(
const std::shared_ptr<sf::Font>& f,
const sf::String& name);
23 static const std::shared_ptr<sf::Font>& getDefaultFont();
24 static void setDefaultFont(
const std::shared_ptr<sf::Font>& f);
28 static std::map<sf::String, std::shared_ptr<sf::Font>> fontMap;
29 static std::shared_ptr<sf::Font> defaultFont;
Definition: FontManager.hpp:17