aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/Font.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 09:09:32 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 09:09:32 +0100
commitbfc07676707eae2c0161c6b86ccdd1583d96f71b (patch)
treeb18bd17b0d07b3b51b2461462e3380d36905e61f /src/crepe/facade/Font.h
parent2f8d36a33854715828d412792663f355b9e393ae (diff)
parentd63eb7302d05fbe9b4c044ece3444e8ac4e56e02 (diff)
Merge branch 'wouter/text-component' into niels/UI
Diffstat (limited to 'src/crepe/facade/Font.h')
-rw-r--r--src/crepe/facade/Font.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crepe/facade/Font.h b/src/crepe/facade/Font.h
index e9f5fa1..91c59c0 100644
--- a/src/crepe/facade/Font.h
+++ b/src/crepe/facade/Font.h
@@ -1,13 +1,14 @@
#pragma once
+
#include <SDL2/SDL_ttf.h>
#include <memory>
#include "../Resource.h"
-#include "../api/Asset.h"
#include "../api/Config.h"
namespace crepe {
+class Asset;
/**
* \brief Resource for managing font creation and destruction
*
@@ -16,6 +17,7 @@ namespace crepe {
* when this object is destroyed.
*/
class Font : public Resource {
+
public:
/**
* \param src The Asset containing the font file path and metadata to load the font.