aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLFontContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 09:47:46 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 09:47:46 +0100
commit29f2d4537cf4d4d4c74c16447a45a5d7034161f4 (patch)
treedd5ab4fbdf22ae9160a944faf283f3a853fd8281 /src/crepe/facade/SDLFontContext.h
parent4d74c80d9c3c9fdca9b07d960a1f9fd3e38cdfad (diff)
sdlfontcontext
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r--src/crepe/facade/SDLFontContext.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h
new file mode 100644
index 0000000..3b2e162
--- /dev/null
+++ b/src/crepe/facade/SDLFontContext.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <SDL2/SDL_ttf.h>
+#include <fontconfig/fontconfig.h>
+#include "../api/Asset.h"
+namespace crepe {
+ class SDLFontContext{
+ public:
+ SDLFontContext();
+ ~SDLFontContext();
+ Asset get_font_asset(const std::string & font_family);
+ private:
+ };
+
+}