foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StylePropertyComponent Class Reference
+ Inheritance diagram for StylePropertyComponent:

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 StylePropertyComponentcreateComponent (MagicGUIBuilder &builder, SettableProperty &property, juce::ValueTree &node)
 

Protected Member Functions

juce::var lookupValue ()
 

Protected Attributes

MagicGUIBuilderbuilder
 
juce::Identifier property
 
juce::ValueTree node
 
juce::ValueTree inheritedFrom
 
std::unique_ptr< juce::Component > editor
 
juce::TextButton remove { "X" }
 

Constructor & Destructor Documentation

◆ StylePropertyComponent()

StylePropertyComponent ( MagicGUIBuilder builder,
juce::Identifier  property,
juce::ValueTree &  node 
)

◆ ~StylePropertyComponent()

~StylePropertyComponent ( )
override

Member Function Documentation

◆ paint()

void paint ( juce::Graphics &  g)
override

◆ resized()

void resized ( )
override

◆ mouseDoubleClick()

void mouseDoubleClick ( const juce::MouseEvent &  event)
override

◆ createComponent()

StylePropertyComponent * createComponent ( MagicGUIBuilder builder,
SettableProperty property,
juce::ValueTree &  node 
)
static

◆ lookupValue()

juce::var lookupValue ( )
protected

Member Data Documentation

◆ builder

MagicGUIBuilder& builder
protected

◆ property

juce::Identifier property
protected

◆ node

juce::ValueTree node
protected

◆ inheritedFrom

juce::ValueTree inheritedFrom
protected

◆ editor

std::unique_ptr<juce::Component> editor
protected

◆ remove

juce::TextButton remove { "X" }
protected

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