|
Gin
|
A base component for controlling multiple parameters at once. More...
#include <gin_multiparamcomponent.h>
Public Member Functions | |
| MultiParamComponent () | |
| ~MultiParamComponent () override | |
| juce::Colour | dimIfNeeded (const juce::Colour &c) |
Public Member Functions inherited from Parameter::ParameterListener | |
| virtual | ~ParameterListener () |
Protected Member Functions | |
| 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 | |
| juce::Array< Parameter * > | params |
| std::unique_ptr< juce::BubbleMessageComponent > | bubble |
A base component for controlling multiple parameters at once.
| MultiParamComponent::MultiParamComponent | ( | ) |
|
override |
References unwatchParams().
| juce::Colour MultiParamComponent::dimIfNeeded | ( | const juce::Colour & | c | ) |
|
protected |
References bubble.
References Parameter::addListener(), and params.
Referenced by ParamBox::addEnable(), ParamBox::addHeader(), and PagedControlBox::addPageEnable().
References params, and Parameter::removeListener().
|
protected |
References params.
Referenced by ~MultiParamComponent().
Reimplemented in PagedControlBox, and ParamBox.
Referenced by handleAsyncUpdate(), PagedControlBox::paramChanged(), and ParamBox::paramChanged().
|
overrideprotected |
Implements Parameter::ParameterListener.
|
overrideprotected |
References paramChanged().
|
protected |
Referenced by unwatchParam(), unwatchParams(), and watchParam().
|
protected |
Referenced by hideBubble(), and showBubble().