|
Blender V4.3
|
#include <cstdio>#include "BLF_api.hh"#include "BLI_fileops.h"#include "BLI_path_utils.hh"#include "BKE_appdir.hh"Go to the source code of this file.
Functions | |
| static int | blf_load_font_default (const char *filename, const bool unique) |
| int | BLF_load_default (const bool unique) |
| int | BLF_load_mono_default (const bool unique) |
| static void | blf_load_datafiles_dir () |
| void | BLF_load_font_stack () |
API for loading default font files.
Definition in file blf_font_default.cc.
|
static |
Definition at line 56 of file blf_font_default.cc.
References BKE_appdir_folder_id(), BLENDER_DATAFILES, BLF_DATAFILES_FONTS_DIR, BLF_DEFAULT, BLF_enable(), BLF_is_loaded(), BLF_load(), BLI_filelist_dir_contents(), BLI_filelist_free(), BLI_path_extension_check_n(), direntry::path, S_ISDIR, and SEP_STR.
Referenced by BLF_load_font_stack().
| int BLF_load_default | ( | const bool | unique | ) |
Definition at line 42 of file blf_font_default.cc.
References BLF_DEFAULT, BLF_DEFAULT_PROPORTIONAL_FONT, BLF_enable(), and blf_load_font_default().
Referenced by BLF_load_font_stack(), loggerwindow_new(), and uiStyleInit().
|
static |
Definition at line 24 of file blf_font_default.cc.
References BKE_appdir_folder_id(), BLENDER_DATAFILES, BLF_DATAFILES_FONTS_DIR, BLF_load(), BLF_load_unique(), BLI_path_join, and FILE_MAX.
Referenced by BLF_load_default(), and BLF_load_mono_default().
| void BLF_load_font_stack | ( | ) |
Definition at line 93 of file blf_font_default.cc.
References blf_load_datafiles_dir(), BLF_load_default(), and BLF_load_mono_default().
Referenced by uiStyleInit().
| int BLF_load_mono_default | ( | const bool | unique | ) |
Definition at line 49 of file blf_font_default.cc.
References BLF_DEFAULT, BLF_DEFAULT_MONOSPACED_FONT, BLF_enable(), blf_load_font_default(), and BLF_MONOSPACED.
Referenced by BLF_load_font_stack(), uiStyleInit(), and wm_main_playanim_intern().