mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a callback to AudioParameterBool, Choice, Float and Int which is called when the parameter value changes
This commit is contained in:
parent
d9a49cf8a5
commit
544d3284e3
5 changed files with 28 additions and 4 deletions
|
|
@ -69,6 +69,11 @@ public:
|
|||
/** Provides access to the parameter's range. */
|
||||
NormalisableRange<float> range;
|
||||
|
||||
protected:
|
||||
/** Override this method if you are interested in receiving callbacks
|
||||
when the parameter value changes.
|
||||
*/
|
||||
virtual void valueChanged (float newValue);
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue