-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPluginEditor.h
More file actions
53 lines (41 loc) · 1.71 KB
/
Copy pathPluginEditor.h
File metadata and controls
53 lines (41 loc) · 1.71 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
/*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "PluginProcessor.h"
//==============================================================================
/**
*/
class CompreezorAudioProcessorEditor : public AudioProcessorEditor, public Slider::Listener,
public Button::Listener
{
public:
CompreezorAudioProcessorEditor (CompreezorAudioProcessor&);
~CompreezorAudioProcessorEditor();
//==============================================================================
void paint (Graphics&) override;
void resized() override;
void sliderValueChanged(Slider* sliderThatWasMoved) override;
void buttonClicked(Button* buttonThatWasClicked) override;
// Binary resources:
static const char* brushedMetalShrunk_jpg;
static const int brushedMetalShrunk_jpgSize;
ScopedPointer<Slider> DetGainSlider;
ScopedPointer<Slider> ThresholdSlider;
ScopedPointer<Slider> AttackTimeSlider;
ScopedPointer<Slider> ReleaseTimeSlider;
ScopedPointer<Slider> RatioSlider;
ScopedPointer<Slider> OutputGainSlider;
ScopedPointer<Slider> KneeWidthSlider;
ScopedPointer<ToggleButton> DigitalAnalogueButton;
ScopedPointer<Drawable> drawable1;
private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
CompreezorAudioProcessor& processor;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CompreezorAudioProcessorEditor)
};