diff options
| author | Alexander Taylor <alex@vector35.com> | 2023-02-15 11:02:43 -0500 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2023-02-15 19:01:04 -0500 |
| commit | bb5677a9433450c3d20d18860be323a9920390b2 (patch) | |
| tree | b1354338948b78f9051e26bcd2e736b34c101671 /ui/fontsettings.h | |
| parent | 086435bd364505f7e05c8a83e48e8b5bec30c94d (diff) | |
Added new API for obtaining application font.
Diffstat (limited to 'ui/fontsettings.h')
| -rw-r--r-- | ui/fontsettings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/fontsettings.h b/ui/fontsettings.h index f32db195..fa8227fd 100644 --- a/ui/fontsettings.h +++ b/ui/fontsettings.h @@ -18,6 +18,10 @@ enum AntialiasingStyle NoAntialiasing }; +QFont BINARYNINJAUIAPI getDefaultApplicationFont(); +QFont BINARYNINJAUIAPI getApplicationFont(QWidget* widget); +void BINARYNINJAUIAPI setApplicationFont(const QFont& font); + QFont BINARYNINJAUIAPI getDefaultMonospaceFont(); QFont BINARYNINJAUIAPI getMonospaceFont(QWidget* widget); void BINARYNINJAUIAPI setMonospaceFont(const QFont& font); |
