Loading...
Searching...
No Matches
juce::AudioProcessorValueTreeState::ButtonAttachment Class Reference

Detailed Description

An object of this class maintains a connection between a Button and a parameter in an AudioProcessorValueTreeState.

During the lifetime of this ButtonAttachment object, it keeps the two things in sync, making it easy to connect a button to a parameter. When this object is deleted, the connection is broken. Make sure that your AudioProcessorValueTreeState and Button aren't deleted before this object!


The documentation for this class was generated from the following file:

Public Member Functions

 ButtonAttachment (AudioProcessorValueTreeState &stateToUse, const String &parameterID, Button &button)

Constructors and Destructors

◆ ButtonAttachment()

juce::AudioProcessorValueTreeState::ButtonAttachment::ButtonAttachment ( AudioProcessorValueTreeState & stateToUse,
const String & parameterID,
Button & button )
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram