Public Member Functions | |
StylePropertyComponent (MagicGUIBuilder &builder, juce::Identifier property, juce::ValueTree &node) | |
~StylePropertyComponent () override | |
void | paint (juce::Graphics &g) override |
void | resized () override |
void | mouseDoubleClick (const juce::MouseEvent &event) override |
Static Public Member Functions | |
static StylePropertyComponent * | createComponent (MagicGUIBuilder &builder, SettableProperty &property, juce::ValueTree &node) |
Protected Member Functions | |
juce::var | lookupValue () |
Protected Attributes | |
MagicGUIBuilder & | builder |
juce::Identifier | property |
juce::ValueTree | node |
juce::ValueTree | inheritedFrom |
std::unique_ptr< juce::Component > | editor |
juce::TextButton | remove { "X" } |
StylePropertyComponent | ( | MagicGUIBuilder & | builder, |
juce::Identifier | property, | ||
juce::ValueTree & | node | ||
) |
|
override |
References StylePropertyComponent::node.
|
override |
|
override |
References StylePropertyComponent::editor, and StylePropertyComponent::remove.
|
override |
References StylePropertyComponent::builder, and StylePropertyComponent::inheritedFrom.
|
static |
|
protected |
References StylePropertyComponent::builder, MagicGUIBuilder::getPropertyDefaultValue(), Stylesheet::getStyleProperty(), MagicGUIBuilder::getStylesheet(), StylePropertyComponent::inheritedFrom, StylePropertyComponent::node, StylePropertyComponent::property, and StylePropertyComponent::remove.
Referenced by StyleBoolPropertyComponent::refresh(), StyleChoicePropertyComponent::refresh(), StyleColourPropertyComponent::refresh(), StyleGradientPropertyComponent::refresh(), and StyleTextPropertyComponent::refresh().
|
protected |
Referenced by StylePropertyComponent::createComponent(), StylePropertyComponent::lookupValue(), StylePropertyComponent::mouseDoubleClick(), StyleBoolPropertyComponent::refresh(), StyleChoicePropertyComponent::refresh(), StyleBoolPropertyComponent::StyleBoolPropertyComponent(), and StylePropertyComponent::StylePropertyComponent().
|
protected |
Referenced by StylePropertyComponent::createComponent(), StylePropertyComponent::lookupValue(), StylePropertyComponent::paint(), StyleBoolPropertyComponent::refresh(), StyleChoicePropertyComponent::refresh(), StyleBoolPropertyComponent::StyleBoolPropertyComponent(), and StylePropertyComponent::StylePropertyComponent().
|
protected |
Referenced by StylePropertyComponent::createComponent(), StylePropertyComponent::lookupValue(), StylePropertyComponent::paint(), StyleBoolPropertyComponent::refresh(), StyleChoicePropertyComponent::refresh(), StyleBoolPropertyComponent::StyleBoolPropertyComponent(), StylePropertyComponent::StylePropertyComponent(), and StylePropertyComponent::~StylePropertyComponent().
|
protected |
|
protected |
|
protected |