summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Palmisciano <jp@jonpalmisc.com>2022-05-16 14:45:27 -0400
committerJon Palmisciano <jp@jonpalmisc.com>2022-05-18 11:53:49 -0400
commit6387fb7121a78d1381fad101e193d44e32693526 (patch)
treee7b382598d9fea1e9fd3dd20d84b0de537a01a6b
parenta0fdaba9b0e03c28be3a8c9514952338c91ec578 (diff)
Add `isActiveThemeDark` API
-rw-r--r--ui/theme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/theme.h b/ui/theme.h
index 5b1e5253..51d6491b 100644
--- a/ui/theme.h
+++ b/ui/theme.h
@@ -25,6 +25,8 @@ std::vector<QString> BINARYNINJAUIAPI getAvailableThemes();
QString BINARYNINJAUIAPI getActiveTheme();
void BINARYNINJAUIAPI setActiveTheme(const QString& name, bool saveToSettings = true);
+bool BINARYNINJAUIAPI isActiveThemeDark();
+
bool BINARYNINJAUIAPI isColorBlindMode();
void BINARYNINJAUIAPI setColorBlindMode(bool active);