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

Public Member Functions

 BypassButton (String name, String on, String off)
 
void buttonStateChanged () override
 
- Public Member Functions inherited from SynthButton
 SynthButton (String name)
 
void setStringLookup (const std::string *lookup)
 
const std::string * getStringLookup () const
 
String getTextFromValue (bool value)
 
void handlePopupResult (int result)
 
virtual void mouseDown (const MouseEvent &e) override
 
virtual void mouseUp (const MouseEvent &e) override
 
void addButtonListener (ButtonListener *listener)
 
virtual void clicked () override
 Called when the button is clicked.
 
- 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
 

Additional Inherited Members

- Public Types inherited from SynthButton
enum  MenuId { kCancel = 0 , kArmMidiLearn , kClearMidiLearn }
 Possible menu IDs for popup operations. More...
 

Constructor & Destructor Documentation

◆ BypassButton()

BypassButton::BypassButton ( String name,
String on,
String off )
inline

Member Function Documentation

◆ buttonStateChanged()

void BypassButton::buttonStateChanged ( )
inlineoverride

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