mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Load all fonts folders
This commit is contained in:
+3
-2
@@ -49,8 +49,9 @@ public:
|
||||
|
||||
Font();
|
||||
|
||||
/// Load fonts (.ttf or .otf) from the given directory and its subdirectories, returns true if there were errors
|
||||
static bool PreloadResourceFonts(String fontsDirectoryPath, bool recursive);
|
||||
/// Load fonts (.ttf or .otf) from all directories in the app directory that contain "fonts" in their names,
|
||||
/// and optionaly their subdirectories, returns true if there were errors
|
||||
static bool PreloadResourceFonts(bool recursive);
|
||||
/// Adds font file paths from the given directory into fontFilePaths
|
||||
static void TallyResourceFonts(String fontsDirectoryPath, vector<String>& fontFilePaths, bool recursive);
|
||||
/// Update the scritables, returns true if there is a change
|
||||
|
||||
Reference in New Issue
Block a user