Gin
|
Slider + editable text for showing a param. More...
Public Member Functions | |
Knob (Parameter *parameter, bool fromCentre=false) | |
~Knob () override | |
void | setDisplayName (const juce::String &) |
void | setLiveValuesCallback (std::function< juce::Array< float >()> cb) |
PluginSlider & | getSlider () |
Readout & | getReadout () |
void | paint (juce::Graphics &g) override |
void | resized () override |
void | parentHierarchyChanged () override |
void | mouseEnter (const juce::MouseEvent &e) override |
void | mouseDown (const juce::MouseEvent &e) override |
void | mouseDrag (const juce::MouseEvent &e) override |
bool | isInterestedInDragSource (const SourceDetails &dragSourceDetails) override |
void | itemDragEnter (const SourceDetails &dragSourceDetails) override |
void | itemDragExit (const SourceDetails &dragSourceDetails) override |
void | itemDropped (const SourceDetails &dragSourceDetails) override |
Public Member Functions inherited from ParamComponent | |
ParamComponent (Parameter *parameter) | |
juce::String | getUid () |
void | setTooltip (const juce::String &newTooltip) override |
Protected Member Functions | |
void | timerCallback () override |
void | learnSourceChanged (ModSrcId) override |
void | modMatrixChanged () override |
void | showModMenu () |
Protected Attributes | |
juce::Label | name |
Readout | value |
PluginSlider | knob |
bool | learning = false |
float | modDepth = 0.0f |
bool | dragOver = false |
gin::CoalescedTimer | modTimer |
gin::CoalescedTimer | shiftTimer |
juce::Array< float > | modValues |
std::function< juce::Array< float >)> | liveValuesCallback |
gin::ModulationDepthSlider | modDepthSlider |
Protected Attributes inherited from ParamComponent | |
Parameter * | parameter = nullptr |
Additional Inherited Members | |
Public Types inherited from ParamComponent | |
using | Ptr = ParamComponent * |
Slider + editable text for showing a param.
Knob::Knob | ( | Parameter * | parameter, |
bool | fromCentre = false |
||
) |
|
override |
void Knob::setDisplayName | ( | const juce::String & | ) |
void Knob::setLiveValuesCallback | ( | std::function< juce::Array< float >()> | cb | ) |
References liveValuesCallback, and modMatrixChanged().
PluginSlider& Knob::getSlider | ( | ) |
References knob.
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
overrideprotected |
|
overrideprotectedvirtual |
Reimplemented from ModMatrix::Listener.
|
overrideprotectedvirtual |
Reimplemented from ModMatrix::Listener.
Referenced by setLiveValuesCallback().
|
protected |
|
protected |
|
protected |
Referenced by getReadout().
|
protected |
Referenced by getSlider().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by setLiveValuesCallback().
|
protected |