aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLFontContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:03 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-12 21:26:03 +0100
commit5ef7c56e44a864e580810952450c43c0f9a7b6e0 (patch)
tree2a0faeaef514558b991832fbae63500f9f6e0228 /src/crepe/facade/SDLFontContext.h
parentf9f06f54dd1a66350afd42f6eec761565a4d3d77 (diff)
make format
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r--src/crepe/facade/SDLFontContext.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h
index c890b2d..b9e1f23 100644
--- a/src/crepe/facade/SDLFontContext.h
+++ b/src/crepe/facade/SDLFontContext.h
@@ -1,17 +1,17 @@
#pragma once
-#include <memory>
#include <SDL2/SDL_ttf.h>
#include <fontconfig/fontconfig.h>
+#include <memory>
#include "../api/Asset.h"
namespace crepe {
- class SDLFontContext{
- public:
- SDLFontContext();
- ~SDLFontContext();
- /**
+class SDLFontContext {
+public:
+ SDLFontContext();
+ ~SDLFontContext();
+ /**
*
* \brief Facade function to convert a font_family into an asset.
*
@@ -19,8 +19,9 @@ namespace crepe {
*
* \param font_family Name of the font family name.
*/
- std::unique_ptr<Asset> get_font_asset(const std::string & font_family);
- private:
- };
+ std::unique_ptr<Asset> get_font_asset(const std::string & font_family);
+
+private:
+};
-}
+} // namespace crepe