|
| | ProcessorEditor (Processor &) noexcept |
| | ProcessorEditor (Processor &, int cx, int cy) noexcept |
| | ~ProcessorEditor () override |
| virtual void | addMenuItems (juce::PopupMenu &) |
| virtual void | showAboutInfo () |
| void | refreshProgramsList () |
| void | refreshPatchBrowser () |
| void | showPatchBrowser (bool p) |
| | ProcessorEditorBase (Processor &p, int cx_, int cy_) |
| | ~ProcessorEditorBase () override |
| void | makeResizable (int minX, int minY, int maxX, int maxY) |
| void | resized () override |
| void | globalFocusChanged (juce::Component *) override |
| void | paintOverChildren (juce::Graphics &g) override |
| void | addControl (ParamComponent *c, int x=0, int y=0, int w=1, int h=1) |
| virtual juce::Rectangle< int > | getControlsArea () |
| virtual juce::Rectangle< int > | getGridArea (int x, int y, int w=1, int h=1) |
| juce::Rectangle< int > | getFullGridArea () |
| int | getGridWidth () |
| int | getGridHeight () |
| virtual bool | getUseIncreasedKeyboardAccessibility () |
| virtual void | setUseIncreasedKeyboardAccessibility (bool accessible) |
Main plugin editor component for Gin-based audio plugins.
ProcessorEditor provides the primary user interface for audio plugins built with the Gin framework. It extends ProcessorEditorBase with integrated support for preset management, patch browsing, and plugin menu systems.
Key Features:
- Integrated title bar with preset management UI
- Patch browser for navigating and managing presets
- Automatic program list synchronization
- Customizable menu system via addMenuItems()
- About/info display functionality
- Grid-based control layout inherited from ProcessorEditorBase
The editor automatically manages:
- Preset browser visibility and state
- Program list updates
- Async UI updates for thread-safe operations
- Title bar with preset controls
Usage: Inherit from ProcessorEditor in your plugin and implement your UI layout in the constructor. Override addMenuItems() to add custom menu options and showAboutInfo() to customize the about dialog.
{
public:
MyPluginEditor(MyProcessor& p)
{
}
{
menu.addItem("Custom Action", [] { });
}
};
void addControl(ParamComponent *c, int x=0, int y=0, int w=1, int h=1)
Definition gin_plugineditor.h:129
ProcessorEditor(Processor &) noexcept
virtual void addMenuItems(juce::PopupMenu &)
Definition gin_plugineditor.h:290
- See also
- ProcessorEditorBase, TitleBar, PatchBrowser, Processor