Gin
|
Draws an MSEG LFO curve and shows a little dot moving long. More...
Public Types | |
enum | DrawMode { step , half , down , up , tri } |
Public Member Functions | |
MSEGComponent (MSEG::Data &d) | |
~MSEGComponent () override=default | |
void | setParams (Parameter::Ptr sync, Parameter::Ptr rate, Parameter::Ptr beat, Parameter::Ptr depth, Parameter::Ptr offset, Parameter::Ptr phase, Parameter::Ptr enable, Parameter::Ptr xgrid, Parameter::Ptr ygrid, Parameter::Ptr loop) |
void | setEditable (bool e) |
void | setDrawMode (bool enable, DrawMode m) |
void | markDirty () |
void | paint (juce::Graphics &g) override |
void | resized () override |
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 () |
Public Attributes | |
std::function< std::vector< float >)> | phaseCallback |
std::function< void()> | onClick |
std::function< void()> | onLoad |
std::function< void()> | onSave |
Additional Inherited Members | |
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 |
Protected Attributes inherited from MultiParamComponent | |
juce::Array< Parameter * > | params |
std::unique_ptr< juce::BubbleMessageComponent > | bubble |
MSEGComponent::MSEGComponent | ( | MSEG::Data & | d | ) |
|
overridedefault |
void MSEGComponent::setParams | ( | Parameter::Ptr | sync, |
Parameter::Ptr | rate, | ||
Parameter::Ptr | beat, | ||
Parameter::Ptr | depth, | ||
Parameter::Ptr | offset, | ||
Parameter::Ptr | phase, | ||
Parameter::Ptr | enable, | ||
Parameter::Ptr | xgrid, | ||
Parameter::Ptr | ygrid, | ||
Parameter::Ptr | loop | ||
) |
void MSEGComponent::setEditable | ( | bool | e | ) |
void MSEGComponent::setDrawMode | ( | bool | enable, |
DrawMode | m | ||
) |
void MSEGComponent::markDirty | ( | ) |
|
override |
|
override |
std::function<std::vector<float>)> MSEGComponent::phaseCallback |
std::function<void()> MSEGComponent::onClick |
std::function<void()> MSEGComponent::onLoad |
std::function<void()> MSEGComponent::onSave |