forked from getdunne/VanillaJuce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGuiOscTab.h
33 lines (27 loc) · 869 Bytes
/
GuiOscTab.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
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "SynthSound.h"
class GuiOscTab : public Component,
public ComboBoxListener,
public SliderListener
{
public:
GuiOscTab (SynthSound* pSynthSound);
~GuiOscTab();
void paint (Graphics& g) override;
void resized() override;
void comboBoxChanged (ComboBox* comboBoxThatHasChanged) override;
void sliderValueChanged (Slider* sliderThatWasMoved) override;
void notify();
private:
SynthSound* pSound;
Label wfLabel1, semiLabel1, detuneLabel1;
ComboBox waveformCB1;
Slider semiSlider1, detuneSlider1;
Label wfLabel2, semiLabel2, detuneLabel2;
ComboBox waveformCB2;
Slider semiSlider2, detuneSlider2;
Label oscBlendLabel;
Slider oscBlendSlider;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GuiOscTab)
};