Vital
Loading...
Searching...
No Matches
ExpandModulationButton Class Reference
Inheritance diagram for ExpandModulationButton:
OpenGlToggleButton

Public Member Functions

 ExpandModulationButton ()
 
int getNumColumns (int num_sliders)
 
void setSliders (std::vector< ModulationAmountKnob * > sliders)
 
std::vector< ModulationAmountKnob * > getSliders ()
 
void renderSliderQuads (OpenGlWrapper &open_gl, bool animate)
 
- Public Member Functions inherited from OpenGlToggleButton
 OpenGlToggleButton (String name)
 
OpenGlButtonComponentgetGlComponent ()
 
void setActive (bool active=true)
 
bool isActive () const
 
void resized () override
 Called when the button is resized, adjusts text size and colors accordingly.
 
void setText (String text)
 
void setPowerButton ()
 Configures the button as a power button.
 
void setNoBackground ()
 Removes the background, showing just text.
 
void setJustification (Justification justification)
 
void setLightenButton ()
 Configures the button as a lighten button.
 
void setShowOnColors (bool show)
 
void setUiButton (bool primary)
 
virtual void enablementChanged () override
 Called when the button enablement changes.
 
void mouseEnter (const MouseEvent &e) override
 
void mouseExit (const MouseEvent &e) override
 
void mouseDown (const MouseEvent &e) override
 
void mouseUp (const MouseEvent &e) override
 

Constructor & Destructor Documentation

◆ ExpandModulationButton()

ExpandModulationButton::ExpandModulationButton ( )
inline

Member Function Documentation

◆ getNumColumns()

int ExpandModulationButton::getNumColumns ( int num_sliders)
inline

◆ getSliders()

std::vector< ModulationAmountKnob * > ExpandModulationButton::getSliders ( )
inline

◆ renderSliderQuads()

void ExpandModulationButton::renderSliderQuads ( OpenGlWrapper & open_gl,
bool animate )
inline

◆ setSliders()

void ExpandModulationButton::setSliders ( std::vector< ModulationAmountKnob * > sliders)
inline

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