aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:36:35 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:36:35 +0100
commit31fe4b1d44a7a7114c7ef8c0c5310a6070214cb2 (patch)
tree14564711f3ce996ccb1000e3f4f07d265e6fab88 /src/crepe/facade/SDLContext.h
parent0c02511f6a64766174cb0db3beb4cc159d3efdf7 (diff)
parent69ca7fdd738fd4ed98aefc07bab5a43486a55619 (diff)
Merge branch 'wouter/text-component' into niels/UI
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index fcf3559..33a4ff9 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -18,6 +18,7 @@
#include "types.h"
#include "FontFacade.h"
+
namespace crepe {
class Texture;
@@ -244,9 +245,11 @@ private:
* - this is defined in this class because get_events() needs this information aswell
*/
CameraAuxiliaryData cam_aux_data;
-private:
+
+private:
//! instance of the font_facade
FontFacade font_facade{};
+
public:
/**
* \brief Function to Get asset from font_family
@@ -257,7 +260,7 @@ public:
*
* \return asset with the font style absolute path
*/
- Asset get_font_from_name(const std::string& font_family);
+ Asset get_font_from_name(const std::string & font_family);
};
} // namespace crepe