aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLFontContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 12:27:59 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 12:27:59 +0100
commitb2c72ee8ce282bb13b0fbeb2ddb01fdfd6ad1280 (patch)
treef3c678779f326f4b175f91a2b3c7db44d026cd2f /src/crepe/facade/SDLFontContext.h
parent29f2d4537cf4d4d4c74c16447a45a5d7034161f4 (diff)
font progress
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r--src/crepe/facade/SDLFontContext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h
index 3b2e162..cd91383 100644
--- a/src/crepe/facade/SDLFontContext.h
+++ b/src/crepe/facade/SDLFontContext.h
@@ -1,14 +1,17 @@
#pragma once
+#include <memory>
#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);
+ std::unique_ptr<Asset> get_font_asset(const std::string & font_family);
private:
};