Enumerations | |
enum | Style { kOliveDefaultDark, kOliveDefaultLight, kNativeDarkIcons, kNativeLightIcons } |
Officially supported styles to use in Olive. More... | |
Functions | |
bool | UseDarkIcons () |
Return whether to use dark icons or light icons. More... | |
bool | UseNativeUI () |
Return whether to use native UI or Fusion. More... | |
QColor | GetIconColor () |
Return the current icon color based on Config::use_dark_icons. More... | |
Officially supported styles to use in Olive.
QColor olive::styling::GetIconColor | ( | ) |
Return the current icon color based on Config::use_dark_icons.
Also used by some other UI elements like the lines and text on the TimelineHeader
Either white or black depending on Config::use_dark_icons
bool olive::styling::UseDarkIcons | ( | ) |
Return whether to use dark icons or light icons.
TRUE if icons should be dark.
bool olive::styling::UseNativeUI | ( | ) |
Return whether to use native UI or Fusion.
TRUE if UI should use native styling