diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 12:27:59 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 12:27:59 +0100 |
commit | b2c72ee8ce282bb13b0fbeb2ddb01fdfd6ad1280 (patch) | |
tree | f3c678779f326f4b175f91a2b3c7db44d026cd2f /src/crepe/api/Config.h | |
parent | 29f2d4537cf4d4d4c74c16447a45a5d7034161f4 (diff) |
font progress
Diffstat (limited to 'src/crepe/api/Config.h')
-rw-r--r-- | src/crepe/api/Config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h index a9745c3..e4808fe 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -86,6 +86,17 @@ public: */ std::string root_pattern = ".crepe-root"; } asset; + //! Default font options + struct { + /** + * \brief Default font size + * + * using the SDL_ttf library the font size needs to be set when loading the font. + * This config option is the font size at which all fonts will be loaded initially. + * + */ + int font_size = 16; + } font; }; } // namespace crepe |