From b5a68720fd48925688afd52dcdafc14954a50fdc Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 29 Jun 2021 21:40:40 -0400 Subject: Emoji font settings for tags --- ui/render.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/render.h') 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; } -- cgit v1.3.1