2 ==============================================================================
4 This file was auto-generated by the Jucer!
6 It contains the basic startup code for a Juce application.
8 ==============================================================================
11 #ifndef __PLUGINEDITOR_H_4ACCBAA__
12 #define __PLUGINEDITOR_H_4ACCBAA__
14 #include "../JuceLibraryCode/JuceHeader.h"
15 #include "../JuceLibraryCode/JucePluginCharacteristics.h"
16 #include "PluginProcessor.h"
19 //==============================================================================
20 /** This is the editor component that our filter will display.
22 class JuceDemoPluginAudioProcessorEditor
: public AudioProcessorEditor
,
23 public SliderListener
,
27 JuceDemoPluginAudioProcessorEditor (JuceDemoPluginAudioProcessor
* ownerFilter
);
28 ~JuceDemoPluginAudioProcessorEditor();
30 //==============================================================================
32 void paint (Graphics
& g
);
34 void sliderValueChanged (Slider
*);
37 MidiKeyboardComponent midiKeyboard
;
38 Label infoLabel
, gainLabel
, delayLabel
;
41 ScopedPointer
<ResizableCornerComponent
> resizer
;
42 ComponentBoundsConstrainer resizeLimits
;
44 AudioPlayHead::CurrentPositionInfo lastDisplayedPosition
;
46 JuceDemoPluginAudioProcessor
* getProcessor() const
48 return static_cast <JuceDemoPluginAudioProcessor
*> (getAudioProcessor());
51 void displayPositionInfo (const AudioPlayHead::CurrentPositionInfo
& pos
);
55 #endif // __PLUGINEDITOR_H_4ACCBAA__