summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-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);