aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLFontContext.h
diff options
context:
space:
mode:
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:
};