#include <PluginMenuComponent.h>
UI component for adding, removing, selecting, replacing, reordering the plugins for the currently selected track. Plugins are represnted by PluginMenuItemComponent added to a PluginMenuContainer. PluginMenuContainer is the content component of a juce::Viewport for scrollability. It is a juce::DragAndDropContainer used for reordering plugins. This is the bridge between the value tree data, the PluginManager, and the user interface.
◆ PluginMenuComponent()
| PluginInterface::PluginMenuComponent::PluginMenuComponent |
( |
| ) |
|
◆ ~PluginMenuComponent()
| PluginInterface::PluginMenuComponent::~PluginMenuComponent |
( |
| ) |
|
|
override |
◆ addPlugin()
| void PluginInterface::PluginMenuComponent::addPlugin |
( |
juce::PluginDescription | pluginToLoad | ) |
|
|
private |
◆ focusGained()
| void PluginInterface::PluginMenuComponent::focusGained |
( |
FocusChangeType | cause | ) |
|
|
override |
◆ getAllCommands()
| void PluginInterface::PluginMenuComponent::getAllCommands |
( |
juce::Array< juce::CommandID > & | commands | ) |
|
|
override |
◆ getCommandInfo()
| void PluginInterface::PluginMenuComponent::getCommandInfo |
( |
juce::CommandID | commandID, |
|
|
juce::ApplicationCommandInfo & | result ) |
|
override |
◆ getNextCommandTarget()
| juce::ApplicationCommandTarget * PluginInterface::PluginMenuComponent::getNextCommandTarget |
( |
| ) |
|
|
override |
◆ paint()
| void PluginInterface::PluginMenuComponent::paint |
( |
juce::Graphics & | g | ) |
|
|
override |
◆ perform()
| bool PluginInterface::PluginMenuComponent::perform |
( |
const InvocationInfo & | info | ) |
|
|
override |
◆ refreshPluginItems()
| void PluginInterface::PluginMenuComponent::refreshPluginItems |
( |
| ) |
|
|
private |
Clears every PluginMenuItemComponent and creates new ones to reflect the current state of the selected track's plugins.
◆ resized()
| void PluginInterface::PluginMenuComponent::resized |
( |
| ) |
|
|
override |
◆ showPluginMenu()
| void PluginInterface::PluginMenuComponent::showPluginMenu |
( |
juce::ValueTree | linkedValueTree, |
|
|
juce::Point< float > | position ) |
◆ valueTreeChildAdded()
| void PluginInterface::PluginMenuComponent::valueTreeChildAdded |
( |
juce::ValueTree & | parentTree, |
|
|
juce::ValueTree & | childWhichHasBeenAdded ) |
|
overrideprivate |
◆ valueTreeChildOrderChanged()
| void PluginInterface::PluginMenuComponent::valueTreeChildOrderChanged |
( |
juce::ValueTree & | parentTreeWhoseChildrenHaveMoved, |
|
|
int | oldIndex, |
|
|
int | newIndex ) |
|
overrideprivate |
◆ valueTreeChildRemoved()
| void PluginInterface::PluginMenuComponent::valueTreeChildRemoved |
( |
juce::ValueTree & | parentTree, |
|
|
juce::ValueTree & | childWhichHasBeenRemoved, |
|
|
int | indexFromWhichChildWasRemoved ) |
|
overrideprivate |
◆ valueTreePropertyChanged()
| void PluginInterface::PluginMenuComponent::valueTreePropertyChanged |
( |
juce::ValueTree & | treeWhosePropertyHasChanged, |
|
|
const juce::Identifier & | property ) |
|
overrideprivate |
◆ menuViewport
| std::unique_ptr<juce::Viewport> PluginInterface::PluginMenuComponent::menuViewport |
|
private |
◆ pluginContainer
◆ pluginItems
◆ pluginManager
| std::shared_ptr<PluginManager> PluginInterface::PluginMenuComponent::pluginManager |
|
private |
◆ projectValueTree
| juce::ValueTree PluginInterface::PluginMenuComponent::projectValueTree |
|
private |
Local object holding the project value tree so it's in scope for the Listener subclass.
The documentation for this class was generated from the following files: