-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathPluginEditor.h
More file actions
54 lines (39 loc) · 1.64 KB
/
Copy pathPluginEditor.h
File metadata and controls
54 lines (39 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#ifndef PLUGINEDITOR_H_INCLUDED
#define PLUGINEDITOR_H_INCLUDED
#include "../JuceLibraryCode/JuceHeader.h"
#include "TemperLookAndFeel.h"
#include "PluginProcessor.h"
#include "MainComponent.h"
#include "SpectroscopeComponent.h"
typedef AudioProcessorValueTreeState::SliderAttachment SliderAttachment;
//==============================================================================
/**
*/
class TemperAudioProcessorEditor : public AudioProcessorEditor
{
public:
TemperAudioProcessorEditor (TemperAudioProcessor&, AudioProcessorValueTreeState&);
~TemperAudioProcessorEditor();
//==============================================================================
void paint (Graphics&) override;
void resized() override;
//==============================================================================
ScopedPointer<SpectroscopeComponent> m_vizPre;
ScopedPointer<SpectroscopeComponent> m_vizPost;
private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
TemperAudioProcessor& processor;
TemperLookAndFeel laf;
OpenGLContext m_glContext;
AudioProcessorValueTreeState& m_vts;
ScopedPointer<MainComponent> m_main;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TemperAudioProcessorEditor)
};
#endif // PLUGINEDITOR_H_INCLUDED