Loading...
Searching...
No Matches
FontManager.h
Go to the documentation of this file.
1#ifndef FONTMANAGER_H
2#define FONTMANAGER_H
3
9
10namespace ml
11{
40 template<typename Manifest = DefaultManifest>
45 class FontManager : public ResourceManager<Manifest, sf::Font, &fileOpener>
46 {
47 public:
57 static const sf::Font& getDefault();
58 };
59
60} // namespace ml
61
62#include "../../../src/Resources/FontManager.tpp"
63#endif // FONTMANAGER_H
Manifest-driven cache for sf::Font resources.
Definition FontManager.h:46
static const sf::Font & getDefault()
Return the built-in Arial font.
Generic manifest-driven resource cache.
Definition Component.h:18