diff options
| author | Alexander Taylor <alex@vector35.com> | 2023-08-29 11:17:41 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2023-08-29 11:22:42 -0400 |
| commit | a13c3f5cfd7ddf1840371fb7fb435ecb4ebf14b2 (patch) | |
| tree | 61faa077af47a87097e1101042d0457c75c8b3af /ui | |
| parent | a6cdb7a25b5ee94992160e451c45fd191f91a9db (diff) | |
Expose Name versions of font getters, update docs.
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/fontsettings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/fontsettings.h b/ui/fontsettings.h index 3d29db33..59de414c 100644 --- a/ui/fontsettings.h +++ b/ui/fontsettings.h @@ -18,6 +18,11 @@ enum AntialiasingStyle NoAntialiasing }; +//! Returns the default font size for the current platform. +int BINARYNINJAUIAPI getDefaultFontSize(); + +//! Returns the default application font name. +std::string BINARYNINJAUIAPI getDefaultApplicationFontName(); //! Returns the default application font, ignoring user settings. QFont BINARYNINJAUIAPI getDefaultApplicationFont(); //! Returns the currently configured application font (or the default, if it doesn't exist). @@ -29,6 +34,8 @@ QFont BINARYNINJAUIAPI getApplicationFont(QWidget* widget); */ void BINARYNINJAUIAPI setApplicationFont(const QFont* font); +//! Returns the default monospaced font name. +std::string BINARYNINJAUIAPI getDefaultMonospaceFontName(); //! Returns the default monospaced font, ignoring user settings. QFont BINARYNINJAUIAPI getDefaultMonospaceFont(); //! Returns the currently configured monospaced font (or the default, if it doesn't exist). @@ -40,6 +47,8 @@ QFont BINARYNINJAUIAPI getMonospaceFont(QWidget* widget); */ void BINARYNINJAUIAPI setMonospaceFont(const QFont* font); +//! Returns the default emoji font name. +std::string BINARYNINJAUIAPI getDefaultEmojiFontName(); //! Returns the default emoji font, ignoring user settings. QFont BINARYNINJAUIAPI getDefaultEmojiFont(); //! Returns the currently configured emoji font (or the default, if it doesn't exist). |
