foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Types | Public Attributes | List of all members
SettableProperty Struct Reference

A SettableProperty is a value that can be selected by the designer and will be set for the Component each time the ValueTree is loaded. More...

Public Types

enum  PropertyType {
  Text , Number , Colour , Toggle ,
  Choice
}
 

Public Attributes

const juce::ValueTree node
 
const juce::Identifier name
 
const PropertyType type
 
const juce::var defaultValue
 
const std::function< void(juce::ComboBox &)> menuCreationLambda
 

Detailed Description

A SettableProperty is a value that can be selected by the designer and will be set for the Component each time the ValueTree is loaded.

Member Enumeration Documentation

◆ PropertyType

Enumerator
Text 
Number 
Colour 
Toggle 
Choice 

Member Data Documentation

◆ node

const juce::ValueTree node

◆ name

const juce::Identifier name

◆ type

const PropertyType type

◆ defaultValue

const juce::var defaultValue

◆ menuCreationLambda

const std::function<void(juce::ComboBox&)> menuCreationLambda

The documentation for this struct was generated from the following file: