mirror of
https://github.com/DarkStore-3DS/Universal-Core.git
synced 2026-07-03 00:39:23 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user