#include <PluginMenuItemComponent.h>
User interface element for a plugin item. See PluginMenuComponent and PluginMenuContainer
◆ PluginMenuItemComponent()
| PluginInterface::PluginMenuItemComponent::PluginMenuItemComponent |
( |
juce::ValueTree | valueTreeToAttachTo, |
|
|
PluginMenuCallback | callback, |
|
|
juce::DragAndDropContainer * | parentContainer ) |
- Parameters
-
| valueTreeToAttachTo | this plugin's value tree. |
| callback | function to call to show context menu. |
| parentContainer | juce::DragAndDropContainer containing this component. |
◆ ~PluginMenuItemComponent()
| PluginInterface::PluginMenuItemComponent::~PluginMenuItemComponent |
( |
| ) |
|
|
override |
◆ isInterestedInDragSource()
| bool PluginInterface::PluginMenuItemComponent::isInterestedInDragSource |
( |
const SourceDetails & | dragSourceDetails | ) |
|
|
override |
◆ itemDragEnter()
| void PluginInterface::PluginMenuItemComponent::itemDragEnter |
( |
const SourceDetails & | dragSourceDetails | ) |
|
|
override |
◆ itemDragExit()
| void PluginInterface::PluginMenuItemComponent::itemDragExit |
( |
const SourceDetails & | dragSourceDetails | ) |
|
|
override |
◆ itemDragMove()
| void PluginInterface::PluginMenuItemComponent::itemDragMove |
( |
const SourceDetails & | dragSourceDetails | ) |
|
|
override |
◆ itemDropped()
| void PluginInterface::PluginMenuItemComponent::itemDropped |
( |
const SourceDetails & | dragSourceDetails | ) |
|
|
override |
◆ mouseDown()
| void PluginInterface::PluginMenuItemComponent::mouseDown |
( |
const juce::MouseEvent & | event | ) |
|
|
override |
◆ mouseDrag()
| void PluginInterface::PluginMenuItemComponent::mouseDrag |
( |
const juce::MouseEvent & | | ) |
|
|
override |
◆ mouseUp()
| void PluginInterface::PluginMenuItemComponent::mouseUp |
( |
const juce::MouseEvent & | event | ) |
|
|
override |
◆ paint()
| void PluginInterface::PluginMenuItemComponent::paint |
( |
juce::Graphics & | g | ) |
|
|
override |
◆ paintOverChildren()
| void PluginInterface::PluginMenuItemComponent::paintOverChildren |
( |
juce::Graphics & | g | ) |
|
|
override |
◆ resized()
| void PluginInterface::PluginMenuItemComponent::resized |
( |
| ) |
|
|
override |
◆ setupButtons()
| void PluginInterface::PluginMenuItemComponent::setupButtons |
( |
| ) |
|
|
private |
◆ showMenu()
| void PluginInterface::PluginMenuItemComponent::showMenu |
( |
| ) |
|
Calls callback passed on constructor.
◆ toggleBypass()
| void PluginInterface::PluginMenuItemComponent::toggleBypass |
( |
| ) |
|
|
private |
◆ valueTreeChildAdded()
| void PluginInterface::PluginMenuItemComponent::valueTreeChildAdded |
( |
juce::ValueTree & | parentTree, |
|
|
juce::ValueTree & | childWhichHasBeenAdded ) |
|
inlineoverrideprivate |
◆ valueTreeChildOrderChanged()
| void PluginInterface::PluginMenuItemComponent::valueTreeChildOrderChanged |
( |
juce::ValueTree & | parentTreeWhoseChildrenHaveMoved, |
|
|
int | oldIndex, |
|
|
int | newIndex ) |
|
inlineoverrideprivate |
◆ valueTreeChildRemoved()
| void PluginInterface::PluginMenuItemComponent::valueTreeChildRemoved |
( |
juce::ValueTree & | parentTree, |
|
|
juce::ValueTree & | childWhichHasBeenRemoved, |
|
|
int | indexFromWhichChildWasRemoved ) |
|
inlineoverrideprivate |
◆ valueTreePropertyChanged()
| void PluginInterface::PluginMenuItemComponent::valueTreePropertyChanged |
( |
juce::ValueTree & | treeWhosePropertyHasChanged, |
|
|
const juce::Identifier & | property ) |
|
inlineoverrideprivate |
◆ buttonWidth
| int PluginInterface::PluginMenuItemComponent::buttonWidth = 35 |
|
private |
◆ bypassButton
| juce::TextButton PluginInterface::PluginMenuItemComponent::bypassButton |
|
private |
◆ container
| juce::DragAndDropContainer* PluginInterface::PluginMenuItemComponent::container |
|
private |
◆ drawLine
| bool PluginInterface::PluginMenuItemComponent::drawLine = false |
|
private |
Flag for drawing the line that signals to the user that a plugin may be dropped here.
◆ menuCallback
◆ pluginValueTree
| juce::ValueTree PluginInterface::PluginMenuItemComponent::pluginValueTree |
◆ showMenuButton
| juce::TextButton PluginInterface::PluginMenuItemComponent::showMenuButton |
|
private |
The documentation for this class was generated from the following files: