|
Gin
|
Advanced container with sliding page transitions for organizing controls. More...
#include <gin_controlbox.h>
Public Types | |
| using | ParamComponentPtr = ParamComponent * |
Public Member Functions | |
| PagedControlBox (ProcessorEditor &e) | |
| void | addPage (const juce::String &name, int rows, int cols) |
| void | addPageEnable (int pageIdx, gin::Parameter::Ptr p) |
| void | addBottomButton (int pageIdx, Component *c) |
| void | addControl (int pageIdx, Component *c, int x, int y, int cx=1, int cy=1) |
| void | setPageOpen (int page, bool open) |
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 () |
Protected Member Functions | |
| void | paramChanged () override |
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 () |
| void | enablementChanged () override |
| void | valueUpdated (Parameter *) override |
| void | handleAsyncUpdate () override |
Additional Inherited Members | |
Protected Attributes inherited from MultiParamComponent | |
| juce::Array< Parameter * > | params |
| std::unique_ptr< juce::BubbleMessageComponent > | bubble |
Advanced container with sliding page transitions for organizing controls.
PagedControlBox extends ControlBox with animated page transitions. Pages slide over each other with smooth animations, providing a polished UI for plugins with many parameters organized into logical groups.
Key Features:
Usage:
| PagedControlBox::PagedControlBox | ( | ProcessorEditor & | e | ) |
References addAndMakeVisible().
References MultiParamComponent::watchParam().
| void PagedControlBox::addControl | ( | int | pageIdx, |
| Component * | c, | ||
| int | x, | ||
| int | y, | ||
| int | cx = 1, |
||
| int | cy = 1 |
||
| ) |
|
overrideprotectedvirtual |
Reimplemented from MultiParamComponent.
References MultiParamComponent::paramChanged().