comparison AddressPlugin/PluginEditor.h @ 0:2cd427e000b0

initial commit
author Yannick JACOB <y.jacob@se12.qmul.ac.uk>
date Tue, 03 Sep 2013 12:53:16 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2cd427e000b0
1 /*
2 ==============================================================================
3
4 This file was auto-generated by the Introjucer!
5
6 It contains the basic startup code for a Juce application.
7
8 ==============================================================================
9 */
10
11 #ifndef __PLUGINEDITOR_H_6E48F605__
12 #define __PLUGINEDITOR_H_6E48F605__
13
14 #include "../JuceLibraryCode/JuceHeader.h"
15 #include "PluginProcessor.h"
16
17
18 //==============================================================================
19
20 class ADRessAudioProcessorEditor : public AudioProcessorEditor,
21 public SliderListener,
22 public ComboBox::Listener,
23 public Timer
24 {
25 public:
26 ADRessAudioProcessorEditor (ADRessAudioProcessor* ownerFilter);
27 ~ADRessAudioProcessorEditor();
28
29 //==============================================================================
30 // This is just a standard Juce paint method...
31 void timerCallback();
32 void paint (Graphics& g);
33 void resized();
34 void sliderValueChanged (Slider*);
35 void comboBoxChanged (ComboBox *);
36
37 int getBeta();
38
39 private:
40 Label fftSizeLabel_, hopSizeLabel_, windowTypeLabel_;
41 ComboBox fftSizeComboBox_, hopSizeComboBox_, windowTypeComboBox_;
42
43 Label widthLabel_;
44 Slider widthSlider_;
45
46 Label azimuthLabel_;
47 Slider azimuthSlider_;
48
49
50 ScopedPointer<ResizableCornerComponent> resizer_;
51 ComponentBoundsConstrainer resizeLimits_;
52 int betaE_;
53
54 ADRessAudioProcessor* getProcessor() const
55 {
56 return static_cast <ADRessAudioProcessor*> (getAudioProcessor());
57 }
58 };
59
60
61 #endif // __PLUGINEDITOR_H_6E48F605__