48 showAlphaChannel = 1 << 0,
50 showColourAtTop = 1 << 1,
51 editableColour = 1 << 2,
53 showColourspace = 1 << 4
67 ColourSelector (
int flags = (showAlphaChannel | showColourAtTop | showSliders | showColourspace),
69 int gapAroundColourSpaceComponent = 7);
82 Colour getCurrentColour()
const;
99 virtual int getNumSwatches()
const;
109 virtual Colour getSwatchColour (
int index)
const;
119 virtual void setSwatchColour (
int index,
const Colour& newColour);
132 backgroundColourId = 0x1007000,
133 labelTextColourId = 0x1007001
138 class SwatchComponent;
139 class ColourSpaceView;
140 class HueSelectorComp;
141 class ColourPreviewComp;
153 void setHue (
float newH);
154 void setSV (
float newS,
float newV);
159 void resized()
override;
Holds a list of ChangeListeners, and sends messages to them when instructed.
A component that lets the user choose a colour.
ColourIds
A set of colour IDs to use to change the colour of various aspects of the keyboard.
ColourSelectorOptions
Options for the type of selector to show.
Represents a colour, also including a transparency value.
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
An array designed for holding objects.
NotificationType
These enums are used in various classes to indicate whether a notification event should be sent out.