Gin
|
A control for holding pags of controls on a grid Pages slide over top of each other to make room. More...
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 |
A control for holding pags of controls on a grid Pages slide over top of each other to make room.
PagedControlBox::PagedControlBox | ( | ProcessorEditor & | e | ) |
References addAndMakeVisible().
void PagedControlBox::addPage | ( | const juce::String & | name, |
int | rows, | ||
int | cols | ||
) |
void PagedControlBox::addPageEnable | ( | int | pageIdx, |
gin::Parameter::Ptr | p | ||
) |
References MultiParamComponent::watchParam().
void PagedControlBox::addBottomButton | ( | int | pageIdx, |
Component * | c | ||
) |
void PagedControlBox::addControl | ( | int | pageIdx, |
Component * | c, | ||
int | x, | ||
int | y, | ||
int | cx = 1 , |
||
int | cy = 1 |
||
) |
void PagedControlBox::setPageOpen | ( | int | page, |
bool | open | ||
) |
|
overrideprotectedvirtual |
Reimplemented from MultiParamComponent.
References MultiParamComponent::paramChanged().