diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 12:27:59 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 12:27:59 +0100 |
commit | b2c72ee8ce282bb13b0fbeb2ddb01fdfd6ad1280 (patch) | |
tree | f3c678779f326f4b175f91a2b3c7db44d026cd2f /src/crepe/facade/SDLFontContext.h | |
parent | 29f2d4537cf4d4d4c74c16447a45a5d7034161f4 (diff) |
font progress
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r-- | src/crepe/facade/SDLFontContext.h | 5 |
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: }; |