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

A button for enabling modulation learn. More...

Inheritance diagram for ModulationSourceButton:

Public Member Functions

 ModulationSourceButton (ModMatrix &mm, ModSrcId src={}, bool poly_=false)
 
 ModulationSourceButton (const juce::String &name, ModMatrix &mm, ModSrcId src={}, bool poly_=false)
 
 ~ModulationSourceButton () override
 
void mouseDown (const juce::MouseEvent &e) override
 
void mouseDrag (const juce::MouseEvent &e) override
 
void setSource (ModSrcId src, bool p)
 

Detailed Description

A button for enabling modulation learn.

Constructor & Destructor Documentation

◆ ModulationSourceButton() [1/2]

ModulationSourceButton::ModulationSourceButton ( ModMatrix mm,
ModSrcId  src = {},
bool  poly_ = false 
)

◆ ModulationSourceButton() [2/2]

ModulationSourceButton::ModulationSourceButton ( const juce::String &  name,
ModMatrix mm,
ModSrcId  src = {},
bool  poly_ = false 
)

◆ ~ModulationSourceButton()

ModulationSourceButton::~ModulationSourceButton ( )
override

Member Function Documentation

◆ mouseDown()

void ModulationSourceButton::mouseDown ( const juce::MouseEvent &  e)
override

◆ mouseDrag()

void ModulationSourceButton::mouseDrag ( const juce::MouseEvent &  e)
override

References ModSrcId::id.

◆ setSource()

void ModulationSourceButton::setSource ( ModSrcId  src,
bool  p 
)

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