Gin
Public Types | Public Member Functions | Protected Member Functions | List of all members
PagedControlBox Class Reference

A control for holding pags of controls on a grid Pages slide over top of each other to make room. More...

Inheritance diagram for PagedControlBox:

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
 

Detailed Description

A control for holding pags of controls on a grid Pages slide over top of each other to make room.

Member Typedef Documentation

◆ ParamComponentPtr

Constructor & Destructor Documentation

◆ PagedControlBox()

PagedControlBox::PagedControlBox ( ProcessorEditor e)

References addAndMakeVisible().

Member Function Documentation

◆ addPage()

void PagedControlBox::addPage ( const juce::String &  name,
int  rows,
int  cols 
)

◆ addPageEnable()

void PagedControlBox::addPageEnable ( int  pageIdx,
gin::Parameter::Ptr  p 
)

◆ addBottomButton()

void PagedControlBox::addBottomButton ( int  pageIdx,
Component *  c 
)

◆ addControl()

void PagedControlBox::addControl ( int  pageIdx,
Component *  c,
int  x,
int  y,
int  cx = 1,
int  cy = 1 
)

◆ setPageOpen()

void PagedControlBox::setPageOpen ( int  page,
bool  open 
)

◆ paramChanged()

void PagedControlBox::paramChanged ( )
overrideprotectedvirtual

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