Add separate function to load a system font

The other fonts are smaller, so when printing they're multiplied to be about the same as the standard
This commit is contained in:
Pk11
2021-03-20 17:49:32 -05:00
parent 12759353de
commit bb168fdab1
2 changed files with 45 additions and 1 deletions
+11
View File
@@ -53,9 +53,18 @@ namespace Gui {
/*
Initialize the GUI with Citro2D & Citro3D and initialize the Textbuffer.
call this when initializing.
fontRegion: The region to use for the system font.
*/
Result init(CFG_Region fontRegion = CFG_REGION_USA);
/*
Load a system font.
fontRegion: The region to use for the system font.
*/
void loadSystemFont(CFG_Region fontRegion = CFG_REGION_USA);
/*
Load a Font. (BCFNT)
@@ -95,6 +104,8 @@ namespace Gui {
/*
Reinit the GUI.
fontRegion: The region to use for the system font.
*/
Result reinit(CFG_Region fontRegion = CFG_REGION_USA);