diff options
Diffstat (limited to 'include/FontLoader.hpp')
-rw-r--r-- | include/FontLoader.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/FontLoader.hpp b/include/FontLoader.hpp new file mode 100644 index 0000000..bff0f18 --- /dev/null +++ b/include/FontLoader.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include <string> + +namespace sf { + class Font; +} + +namespace QuickMedia::FontLoader { + enum class FontType { + LATIN, + LATIN_BOLD, + CJK, + EMOJI + }; + + // Note: not thread-safe + sf::Font* get_font(FontType font_type); +}
\ No newline at end of file |