|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
An object of this class maintains a connection between a Slider and a parameter in an AudioProcessorValueTreeState. More...
#include "juce_AudioProcessorValueTreeState.h"
Public Member Functions | |
| SliderAttachment (AudioProcessorValueTreeState &stateToUse, const String ¶meterID, Slider &slider) | |
An object of this class maintains a connection between a Slider and a parameter in an AudioProcessorValueTreeState.
During the lifetime of this SliderAttachment object, it keeps the two things in sync, making it easy to connect a slider to a parameter. When this object is deleted, the connection is broken. Make sure that your AudioProcessorValueTreeState and Slider aren't deleted before this object!
Definition at line 540 of file juce_AudioProcessorValueTreeState.h.
| juce::AudioProcessorValueTreeState::SliderAttachment::SliderAttachment | ( | AudioProcessorValueTreeState & | stateToUse, |
| const String & | parameterID, | ||
| Slider & | slider | ||
| ) |
Definition at line 484 of file juce_AudioProcessorValueTreeState.cpp.