1
0
Fork 0
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:
hogliux 2017-10-26 16:19:03 +01:00
parent d9a49cf8a5
commit 544d3284e3
5 changed files with 28 additions and 4 deletions

View file

@ -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:
//==============================================================================