Skip to content

Commit 4977698

Browse files
committed
Added mod overlay
1 parent 4634337 commit 4977698

5 files changed

Lines changed: 16 additions & 4 deletions

File tree

Changelist.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
1.0.25:
2+
- Added manual
3+
- Added cable when dragging mod sources
4+
- Fixed right click on mod depth button
5+
16
1.0.24:
27
- Added MIDI learn
38
- Fixed glitch in noise LFO

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.24
1+
1.0.25

plugin/Source/PluginEditor.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ WavetableAudioProcessorEditor::WavetableAudioProcessorEditor (WavetableAudioProc
2222
addAndMakeVisible (usage);
2323

2424
addChildComponent (modOverview);
25-
25+
addAndMakeVisible (modOverlay);
26+
2627
usage.setBounds (45, 12, 80, 16);
2728
modOverview.setBounds (usage.getRight() + 10, 12, 150, 16);
2829
scope.setBounds (704, 5, 187, 30);
@@ -70,6 +71,7 @@ void WavetableAudioProcessorEditor::resized()
7071

7172
editor.setBounds (rc);
7273
patchBrowser.setBounds (rc);
74+
modOverlay.setBounds (getLocalBounds());
7375
}
7476

7577
void WavetableAudioProcessorEditor::addMenuItems (juce::PopupMenu& m)
@@ -97,4 +99,8 @@ void WavetableAudioProcessorEditor::addMenuItems (juce::PopupMenu& m)
9799
um.addItem ("200%", [setSize] { setSize (2.00f); });
98100

99101
m.addSubMenu ("UI Size", um);
102+
103+
m.addSeparator();
104+
105+
m.addItem ("Manual", [] { juce::URL ("https://github.com/FigBug/Wavetable/blob/master/Manual.md").launchInDefaultBrowser(); });
100106
}

plugin/Source/PluginEditor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class WavetableAudioProcessorEditor : public gin::ProcessorEditor,
2626
gin::TriggeredScope scope { wtProc.scopeFifo };
2727
gin::SynthesiserUsage usage { wtProc };
2828
gin::ModulationOverview modOverview { wtProc.modMatrix };
29-
29+
gin::ModOverlay modOverlay { wtProc.modMatrix };
30+
3031
Editor editor { wtProc };
3132

3233
#if JUCE_DEBUG

0 commit comments

Comments
 (0)