Property component for selecting colors with a visual color picker.
More...
#include <gin_propertycomponents.h>
Property component for selecting colors with a visual color picker.
ColourPropertyComponent displays a color swatch that shows the current color and opens a color selector popup when clicked. The color value is stored as a string (via Colour::toString()) in the bound Value object.
Usage:
Property component for selecting colors with a visual color picker.
Definition gin_propertycomponents.h:145
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
- See also
- PropertyComponentBase, juce::ColourSelector
◆ ColourPropertyComponent()
| ColourPropertyComponent::ColourPropertyComponent |
( |
const juce::Value & |
valueToControl, |
|
|
const juce::String & |
propertyName, |
|
|
bool |
showAlpha = false |
|
) |
| |
◆ refresh()
| void ColourPropertyComponent::refresh |
( |
| ) |
|
|
override |
◆ paint()
| void ColourPropertyComponent::paint |
( |
juce::Graphics & |
g | ) |
|
|
override |
The documentation for this class was generated from the following file: