-
Notifications
You must be signed in to change notification settings - Fork 0
/
PluginEditor.h
51 lines (42 loc) · 1.52 KB
/
PluginEditor.h
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
/*
==============================================================================
This file contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "PluginProcessor.h"
#include "OperatorComponent.h"
#include "ModulationGrid.h"
#include "RGBColor.h"
#include "GlobalColor.h"
#include "LfoGroupComponent.h"
#include "PatchManagerComponent.h"
#include "PatchSavingDialogBox.h"
//==============================================================================
/**
*/
class HexFmAudioProcessorEditor : public juce::AudioProcessorEditor
{
public:
HexFmAudioProcessorEditor (HexFmAudioProcessor&);
~HexFmAudioProcessorEditor() override;
//==============================================================================
void resized() override;
void paint(juce::Graphics &g) override;
void updatePresetSelection();
private:
juce::TooltipWindow tipWindow;
juce::OwnedArray<OperatorComponent> allOps;
ModulationGrid modGrid;
LfoGroupComponent lfoGroup;
PatchLoader patchLoader;
PatchDialogBox saveDialog;
AlgorithmGraph algGraph;
juce::Colour operatorColor;
int dY;
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
HexFmAudioProcessor& audioProcessor;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HexFmAudioProcessorEditor)
};