summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2023-06-03 20:05:04 -0400
committerkat <kat@vector35.com>2023-06-03 20:05:09 -0400
commit1f2faf3ed77cc413a235e8f26634c49207c87826 (patch)
tree7c755a23a355b8e37283c42f3d954dd86f2df79d
parentfacb8628099e18fc1de100f354d25c93e1358ce1 (diff)
Export the addJsonTheme symbol
-rw-r--r--ui/theme.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/theme.h b/ui/theme.h
index 9a27429b..e0c5ffb7 100644
--- a/ui/theme.h
+++ b/ui/theme.h
@@ -36,6 +36,12 @@ bool BINARYNINJAUIAPI isActiveThemeDark();
bool BINARYNINJAUIAPI isColorBlindMode();
void BINARYNINJAUIAPI setColorBlindMode(bool active);
+/*! \warning If registering themes from a plugin, you will also need to manually swap to them
+
+ \param json
+*/
+void BINARYNINJAUIAPI addJsonTheme(const char* json);
+
QColor BINARYNINJAUIAPI getThemeColor(BNThemeColor color);
QColor BINARYNINJAUIAPI getTokenColor(QWidget* widget, BNInstructionTextTokenType token);