|
Gin
|
Container for organizing plugin controls on a grid layout with page support. More...
#include <gin_controlbox.h>
Public Member Functions | |
| ControlBox (ProcessorEditor &e) | |
| juce::Rectangle< int > | getGridArea (int x, int y, int w=1, int h=1) |
| void | add (Component *c) |
| void | add (int page, ParamComponent *c) |
| void | setPage (int page) |
Public Member Functions inherited from MultiParamComponent | |
| MultiParamComponent () | |
| ~MultiParamComponent () override | |
| juce::Colour | dimIfNeeded (const juce::Colour &c) |
Public Member Functions inherited from Parameter::ParameterListener | |
| virtual | ~ParameterListener () |
Additional Inherited Members | |
Protected Member Functions inherited from MultiParamComponent | |
| void | showBubble (const juce::String &text, const juce::Rectangle< int > &rc) |
| void | hideBubble () |
| void | watchParam (Parameter *p) |
| void | unwatchParam (Parameter *p) |
| void | unwatchParams () |
| virtual void | paramChanged () |
| void | enablementChanged () override |
| void | valueUpdated (Parameter *) override |
| void | handleAsyncUpdate () override |
Protected Attributes inherited from MultiParamComponent | |
| juce::Array< Parameter * > | params |
| std::unique_ptr< juce::BubbleMessageComponent > | bubble |
Container for organizing plugin controls on a grid layout with page support.
ControlBox provides a simple grid-based layout system for organizing multiple parameter controls (knobs, sliders, buttons) in a plugin UI. It supports multi-page layouts where controls can be shown/hidden based on the current page.
Key Features:
Usage:
| ControlBox::ControlBox | ( | ProcessorEditor & | e | ) |
References ProcessorEditorBase::getGridHeight(), and ProcessorEditorBase::getGridWidth().
| void ControlBox::add | ( | Component * | c | ) |
References addAndMakeVisible().
| void ControlBox::add | ( | int | page, |
| ParamComponent * | c | ||
| ) |
References addAndMakeVisible().