A struct containing the set of colours to apply to the GUI. More...
#include <juce_LookAndFeel_V4.h>
Public Types | |
enum | UIColour { windowBackground = 0 , widgetBackground , menuBackground , outline , defaultText , defaultFill , highlightedText , highlightedFill , menuText , numColours } |
The standard set of colours to use. More... | |
Public Member Functions | |
template<typename... ItemColours> | |
ColourScheme (ItemColours... coloursToUse) | |
ColourScheme (const ColourScheme &)=default | |
ColourScheme & | operator= (const ColourScheme &)=default |
Colour | getUIColour (UIColour colourToGet) const noexcept |
Returns a colour from the scheme. | |
void | setUIColour (UIColour colourToSet, Colour newColour) noexcept |
Sets a scheme colour. | |
bool | operator== (const ColourScheme &) const noexcept |
Returns true if two ColourPalette objects contain the same colours. | |
bool | operator!= (const ColourScheme &) const noexcept |
Returns false if two ColourPalette objects contain the same colours. | |
A struct containing the set of colours to apply to the GUI.
LookAndFeel_V4::ColourScheme::ColourScheme | ( | ItemColours... | coloursToUse | ) |
|
default |
|
default |
Returns a colour from the scheme.
Sets a scheme colour.
|
noexcept |
Returns true if two ColourPalette objects contain the same colours.
|
noexcept |
Returns false if two ColourPalette objects contain the same colours.