This is a generic AudioProcessorEditor, that is completely defined and styled by drag and drop. More...
Inherits AudioProcessorEditor, and DragAndDropContainer.
Public Member Functions | |
| MagicPluginEditor (MagicProcessorState &processorState, std::unique_ptr< MagicGUIBuilder > builder={}) | |
| Create an AudioProcessorEditor populated from a MagicGUIBuilder. More... | |
| ~MagicPluginEditor () override | |
| void | setConfigTree (const juce::ValueTree &config) |
| Setup a GUI from a previously stored ValueTree. More... | |
| MagicGUIBuilder & | getGUIBuilder () |
| Grants access to the MagicGUIBuilder. More... | |
| void | paint (juce::Graphics &g) override |
| void | resized () override |
This is a generic AudioProcessorEditor, that is completely defined and styled by drag and drop.
There is an XML representation, that can be baked into the project using the BinaryData of Projucer.
| MagicPluginEditor | ( | MagicProcessorState & | processorState, |
| std::unique_ptr< MagicGUIBuilder > | builder = {} |
||
| ) |
Create an AudioProcessorEditor populated from a MagicGUIBuilder.
References MagicGUIState::getGuiTree(), MagicGUIState::getValueTree(), and MagicPluginEditor::setConfigTree().
|
override |
| void setConfigTree | ( | const juce::ValueTree & | config | ) |
Setup a GUI from a previously stored ValueTree.
| gui | the ValueTree that defines the Stylesheet, colour palette and GUI components of the editor |
Referenced by MagicPluginEditor::MagicPluginEditor().
| MagicGUIBuilder & getGUIBuilder | ( | ) |
Grants access to the MagicGUIBuilder.
|
override |
|
override |
References MagicProcessorState::setLastEditorSize().