diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:36:52 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-18 13:36:52 +0100 |
commit | 0e800c6857122436e7a766c6934991aa1d8d31ff (patch) | |
tree | ce5eb98a3b93b40b9535613b84eff3a7a4b1854a /src/crepe/api/Config.h | |
parent | 3c7373eba71ccf5f16069d540c9f66e297895b1a (diff) | |
parent | 81404db80bbf9463c3d535ae389e7fbb753a902c (diff) |
Merge branch 'master' into loek/savemgrloek/savemgr
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 ed1cf38..6b9e3ca 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -76,6 +76,17 @@ struct Config final { */ 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. + * + */ + unsigned int size = 16; + } font; //! Configuration for click tolerance. struct { //! The maximum number of pixels the mouse can move between MouseDown and MouseUp events to be considered a click. |