SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SourceParamComponent.h
Go to the documentation of this file.
1 /*
2  ==============================================================================
3 
4  This is an automatically generated GUI class created by the Introjucer!
5 
6  Be careful when adding custom code to these files, as only the code within
7  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
8  and re-saved.
9 
10  Created with Introjucer version: 3.1.0
11 
12  ------------------------------------------------------------------------------
13 
14  The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
15  Copyright 2004-13 by Raw Material Software Ltd.
16 
17  ==============================================================================
18 */
19 
20 #ifndef __JUCE_HEADER_243013F0C1B216AA__
21 #define __JUCE_HEADER_243013F0C1B216AA__
22 
23 //[Headers] -- You can add your own extra header files here --
24 #include "PluginProcessor.h"
25 #include "SpaopEditorComponent.h"
26 #include "PluginEditor.h"
27 #include "JuceHeader.h"
28 //[/Headers]
29 
30 
31 
32 //==============================================================================
46  public TextEditor::Listener,
47  public ChangeListener,
48  public SliderListener,
49  public ButtonListener
50 {
51 public:
52  //==============================================================================
55 
56  //==============================================================================
57  //[UserMethods] -- You can add your own custom methods in this section.
58 private:
59  void update() override;
60 
61  void showColourSelector();
62 
64  void changeListenerCallback (ChangeBroadcaster* changeBroadcaster);
65 
66  void textEditorTextChanged (TextEditor& textEditor);
67 
68  void textEditorReturnKeyPressed (TextEditor& textEditor);
69 
70  void textEditorFocusLost (TextEditor& textEditor);
71 
72 public:
73  //[/UserMethods]
74 
75  void paint (Graphics& g);
76  void resized();
77  void sliderValueChanged (Slider* sliderThatWasMoved);
78  void buttonClicked (Button* buttonThatWasClicked);
79 
80 
81 
82 private:
83  //[UserVariables] -- You can add your own custom variables in this section.
84  bool nameIsBeingEdited_;
85  //[/UserVariables]
86 
87  //==============================================================================
88  ScopedPointer<GroupComponent> parametersGroup;
89  ScopedPointer<GroupComponent> sourceGroup;
90  ScopedPointer<Slider> idSlider;
91  ScopedPointer<Label> idLabel;
92  ScopedPointer<Label> angleLabel;
93  ScopedPointer<ToggleButton> dopplerButton;
94  ScopedPointer<ToggleButton> lockIDButton;
95  ScopedPointer<TextEditor> nameEditor;
96  ScopedPointer<Label> nameLabel;
97  ScopedPointer<ToggleButton> typeButton;
98  ScopedPointer<TextButton> colourButton;
99  ScopedPointer<Slider> angleSlider;
100 
101 
102  //==============================================================================
103  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SourceParamComponent)
104 };
105 
106 //[EndFile] You can add extra defines here...
107 //[/EndFile]
108 
109 #endif // __JUCE_HEADER_243013F0C1B216AA__
void paint(Graphics &g)
Definition: SourceParamComponent.cpp:153
An abstract class for GUI subcomponents of the SpaopAudioProcessorEditor.
Definition: SpaopEditorComponent.h:37
SourceParamComponent(SpaopAudioProcessor *ownerFilter)
Definition: SourceParamComponent.cpp:30
void buttonClicked(Button *buttonThatWasClicked)
Definition: SourceParamComponent.cpp:203
The SPAOP-plugin's processor class.
Definition: PluginProcessor.h:42
[Comments]
Definition: SourceParamComponent.h:45
~SourceParamComponent()
Definition: SourceParamComponent.cpp:129
void sliderValueChanged(Slider *sliderThatWasMoved)
Definition: SourceParamComponent.cpp:180
void resized()
Definition: SourceParamComponent.cpp:162