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 | |
ColourScheme (const ColourScheme &)=default | |
template<typename... ItemColours> | |
ColourScheme (ItemColours... coloursToUse) | |
Colour | getUIColour (UIColour colourToGet) const noexcept |
Returns a colour from the scheme. More... | |
bool | operator!= (const ColourScheme &) const noexcept |
Returns false if two ColourPalette objects contain the same colours. More... | |
ColourScheme & | operator= (const ColourScheme &)=default |
bool | operator== (const ColourScheme &) const noexcept |
Returns true if two ColourPalette objects contain the same colours. More... | |
void | setUIColour (UIColour colourToSet, Colour newColour) noexcept |
Sets a scheme colour. More... | |
Private Attributes | |
Colour | palette [numColours] |
A struct containing the set of colours to apply to the GUI.
|
inline |
References juce::gl::c.
|
default |
Returns a colour from the scheme.
|
noexcept |
Returns false if two ColourPalette objects contain the same colours.
|
default |
|
noexcept |
Returns true if two ColourPalette objects contain the same colours.
|
noexcept |
Sets a scheme colour.
|
private |