Gin
Public Member Functions | List of all members
ControlBox Class Reference

A box for holding controls on a grid. More...

Inheritance diagram for ControlBox:

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
 

Detailed Description

A box for holding controls on a grid.

Constructor & Destructor Documentation

◆ ControlBox()

ControlBox::ControlBox ( ProcessorEditor e)

Member Function Documentation

◆ getGridArea()

juce::Rectangle<int> ControlBox::getGridArea ( int  x,
int  y,
int  w = 1,
int  h = 1 
)

◆ add() [1/2]

void ControlBox::add ( Component *  c)

References addAndMakeVisible().

◆ add() [2/2]

void ControlBox::add ( int  page,
ParamComponent c 
)

References addAndMakeVisible().

◆ setPage()

void ControlBox::setPage ( int  page)

The documentation for this class was generated from the following file: