This is a generic AudioProcessorEditor, that is completely defined and styled by drag and drop. More...
#include <foleys_MagicPluginEditor.h>
Inherits AudioProcessorEditor, and DragAndDropContainer.
Public Member Functions | |
MagicPluginEditor (MagicProcessorState &processorState, std::unique_ptr< MagicGUIBuilder > builder={}) | |
Create an AudioProcessorEditor populated from a MagicGUIBuilder. | |
~MagicPluginEditor () override | |
void | setConfigTree (const juce::ValueTree &config) |
Setup a GUI from a previously stored ValueTree. | |
MagicGUIBuilder & | getGUIBuilder () |
Grants access to the MagicGUIBuilder. | |
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.
config | 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().