Krotos Modules 3
Loading...
Searching...
No Matches
LabelCustomParameterAttachment.h
Go to the documentation of this file.
1namespace krotos
2{
3 class LabelCustomParameterAttachment : public Label::Listener
4 {
5 public:
6 LabelCustomParameterAttachment(CustomParameter& parameter, Label& label, UndoManager* undoManager = nullptr);
7
9
10 void labelTextChanged(Label* labelThatHasChanged) override;
11
12 private:
13 void setValue(String& newValue);
14
15 Label& label;
17 bool ignoreCallbacks = false;
18 };
19} // namespace krotos
A wrapper around juce::ValueTree designed to store custom plugin state (strings, arrays,...
Definition CustomParameter.h:9
Definition LabelCustomParameterAttachment.h:4
Label & label
Definition LabelCustomParameterAttachment.h:15
void labelTextChanged(Label *labelThatHasChanged) override
Definition LabelCustomParameterAttachment.cpp:20
CustomParameter & customParameter
Definition LabelCustomParameterAttachment.h:16
bool ignoreCallbacks
Definition LabelCustomParameterAttachment.h:17
LabelCustomParameterAttachment(CustomParameter &parameter, Label &label, UndoManager *undoManager=nullptr)
Definition LabelCustomParameterAttachment.cpp:3
~LabelCustomParameterAttachment() override
Definition LabelCustomParameterAttachment.cpp:12
void setValue(String &newValue)
Definition LabelCustomParameterAttachment.cpp:14
Definition AirAbsorptionFilter.cpp:2