JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
juce::LookAndFeel_V4::ColourScheme Class Reference

A struct containing the set of colours to apply to the GUI. More...

#include "juce_LookAndFeel_V4.h"

Public Types

enum  UIColour {
  windowBackground , 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
 
ColourSchemeoperator= (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.
 

Detailed Description

A struct containing the set of colours to apply to the GUI.

Definition at line 42 of file juce_LookAndFeel_V4.h.

Member Enumeration Documentation

◆ UIColour

The standard set of colours to use.

Definition at line 46 of file juce_LookAndFeel_V4.h.

Constructor & Destructor Documentation

◆ ColourScheme()

template<typename... ItemColours>
juce::LookAndFeel_V4::ColourScheme::ColourScheme ( ItemColours...  coloursToUse)

Definition at line 62 of file juce_LookAndFeel_V4.h.

Member Function Documentation

◆ getUIColour()

Colour juce::LookAndFeel_V4::ColourScheme::getUIColour ( UIColour  colourToGet) const
noexcept

Returns a colour from the scheme.

Definition at line 29 of file juce_LookAndFeel_V4.cpp.

◆ operator!=()

bool juce::LookAndFeel_V4::ColourScheme::operator!= ( const ColourScheme other) const
noexcept

Returns false if two ColourPalette objects contain the same colours.

Definition at line 55 of file juce_LookAndFeel_V4.cpp.

◆ operator==()

bool juce::LookAndFeel_V4::ColourScheme::operator== ( const ColourScheme other) const
noexcept

Returns true if two ColourPalette objects contain the same colours.

Definition at line 46 of file juce_LookAndFeel_V4.cpp.

◆ setUIColour()

void juce::LookAndFeel_V4::ColourScheme::setUIColour ( UIColour  colourToSet,
Colour  newColour 
)
noexcept

Sets a scheme colour.

Definition at line 38 of file juce_LookAndFeel_V4.cpp.


The documentation for this class was generated from the following files: