aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLFontContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-16 19:08:22 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-16 19:08:22 +0100
commit55f4aaf179cf723c5b703b0c4d848bf059ae190a (patch)
tree56b7034d665783384415abc1a0e9282c194ae1c3 /src/crepe/facade/SDLFontContext.h
parent7f7f1237532b4318361e69349cc38f34fe981803 (diff)
font family implemented in the text component
Diffstat (limited to 'src/crepe/facade/SDLFontContext.h')
-rw-r--r--src/crepe/facade/SDLFontContext.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/crepe/facade/SDLFontContext.h b/src/crepe/facade/SDLFontContext.h
deleted file mode 100644
index d15e1a3..0000000
--- a/src/crepe/facade/SDLFontContext.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-
-#include <memory>
-
-#include "../api/Asset.h"
-
-namespace crepe {
-class SDLFontContext {
-public:
- SDLFontContext();
- ~SDLFontContext();
- SDLFontContext(const SDLFontContext &) = delete;
- SDLFontContext(SDLFontContext &&) = delete;
- SDLFontContext & operator=(const SDLFontContext &) = delete;
- SDLFontContext & operator=(SDLFontContext &&) = delete;
- /**
- *
- * \brief Facade function to convert a font_family into an asset.
- *
- * This function uses the FontConfig library to convert a font family name (Arial, Inter, Helvetica) and converts it to the font source path.
- *
- * \param font_family Name of the font family name.
- */
- Asset get_font_asset(const std::string font_family);
-
-};
-
-} // namespace crepe