|
JUCE Designer
|
PropertyComponent that shows a CallOutBox with a ColourSelector in it. More...
Public Member Functions | |
| JUCED_ColourPropertyComponent (const Value &ValueToControl, const String &propertyName) | |
| Creates a colour selector property component. | |
| void | buttonClicked (Button *buttonThatWasClicked) |
| Called when the user clicks the button. | |
| void | changeListenerCallback (ChangeBroadcaster *source) |
| Called whenever the colour within the ColourSelector changes. | |
Public Member Functions inherited from TextWithButtonPropertyComponent | |
| TextWithButtonPropertyComponent (const Value &ValueToControl, const String &propertyName) | |
| Creates a PropertyComponent with an editable Label and a TextButton on the right. | |
| void | resized () |
| Called automatically to resize child components. | |
Public Attributes | |
| Colour | colour |
Public Attributes inherited from TextWithButtonPropertyComponent | |
| TextButton * | button |
| Pointer to TextButton object. | |
| Label * | textLabel |
| Pointer to Label object. | |
PropertyComponent that shows a CallOutBox with a ColourSelector in it.
Used to allow the user change Colour Attributes from fomponents
Inherits TextWithButtonPropertyComponent, ChangeListener.
Definition at line 20 of file ColourPropertyComponent.cpp.
|
inline |
Creates a colour selector property component.
| ValueToControl | Value reference to control. |
| propertyName | String containing the display name for this PropertyComponent. |
Definition at line 32 of file ColourPropertyComponent.cpp.
References TextWithButtonPropertyComponent::textLabel.
|
inlinevirtual |
Called when the user clicks the button.
Implements TextWithButtonPropertyComponent.
Definition at line 41 of file ColourPropertyComponent.cpp.
References TextWithButtonPropertyComponent::button.
|
inline |
Called whenever the colour within the ColourSelector changes.
Definition at line 56 of file ColourPropertyComponent.cpp.
References TextWithButtonPropertyComponent::textLabel.