diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-06-29 21:40:40 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2021-07-01 01:32:29 -0400 |
| commit | b5a68720fd48925688afd52dcdafc14954a50fdc (patch) | |
| tree | 9d81df2ef248f7871e31d42bb6d04cf0a66211d0 /ui/render.h | |
| parent | 6183f2b4102325f1c76b91c5fa986fea56b5ecaf (diff) | |
Emoji font settings for tags
Diffstat (limited to 'ui/render.h')
| -rw-r--r-- | ui/render.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/render.h b/ui/render.h index 5c05c4b6..5277f81f 100644 --- a/ui/render.h +++ b/ui/render.h @@ -39,7 +39,7 @@ struct BINARYNINJAUIAPI HexEditorHighlightState class BINARYNINJAUIAPI FontParameters { QWidget* m_owner; - QFont m_font; + QFont m_font, m_emojiFont; int m_baseline, m_charWidth, m_charHeight, m_charOffset; float m_fontScale; bool m_customFont; @@ -49,7 +49,9 @@ public: void update(); QFont& getFont() { return m_font; } + QFont& getEmojiFont() { return m_emojiFont; } void setFont(const QFont& font); + void setEmojiFont(const QFont& emojiFont); int getBaseline() const { return m_baseline; } int getWidth() const { return m_charWidth; } int getHeight() const { return m_charHeight; } |
