Classes | |
class | CustomFusionStyle |
Functions | |
void | initThemes () |
void | resetUserThemes () |
void | refreshUserThemes () |
std::vector< QString > | getAvailableThemes () |
QString | getActiveTheme () |
void | setActiveTheme (const QString &name, bool saveToSettings=true) |
bool | isActiveThemeDark () |
bool | isColorBlindMode () |
void | setColorBlindMode (bool active) |
QColor | getThemeColor (BNThemeColor color) |
QColor | getTokenColor (QWidget *widget, BNInstructionTextTokenType token) |
QColor | avgColor (QColor a, QColor b) |
QColor | mixColor (QColor a, QColor b, uint8_t mix) |
QColor | getThemeHighlightColor (BNHighlightStandardColor color) |
QColor avgColor | ( | QColor | a, |
QColor | b | ||
) |
QString getActiveTheme | ( | ) |
std::vector< QString > getAvailableThemes | ( | ) |
QColor getThemeColor | ( | BNThemeColor | color | ) |
QColor getThemeHighlightColor | ( | BNHighlightStandardColor | color | ) |
QColor getTokenColor | ( | QWidget * | widget, |
BNInstructionTextTokenType | token | ||
) |
void initThemes | ( | ) |
bool isActiveThemeDark | ( | ) |
bool isColorBlindMode | ( | ) |
QColor mixColor | ( | QColor | a, |
QColor | b, | ||
uint8_t | mix | ||
) |
void refreshUserThemes | ( | ) |
void resetUserThemes | ( | ) |
void setActiveTheme | ( | const QString & | name, |
bool | saveToSettings = true |
||
) |
void setColorBlindMode | ( | bool | active | ) |