From 4977698b1905907a2a3bbe74a10a27bd7d6d5425 Mon Sep 17 00:00:00 2001 From: Roland Rabien Date: Sat, 10 Jan 2026 17:06:49 -0800 Subject: [PATCH] Added mod overlay --- Changelist.txt | 5 +++++ VERSION | 2 +- modules/gin | 2 +- plugin/Source/PluginEditor.cpp | 8 +++++++- plugin/Source/PluginEditor.h | 3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Changelist.txt b/Changelist.txt index 85a07a5..b69672f 100644 --- a/Changelist.txt +++ b/Changelist.txt @@ -1,3 +1,8 @@ +1.0.25: +- Added manual +- Added cable when dragging mod sources +- Fixed right click on mod depth button + 1.0.24: - Added MIDI learn - Fixed glitch in noise LFO diff --git a/VERSION b/VERSION index 321816a..855f702 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.24 \ No newline at end of file +1.0.25 \ No newline at end of file diff --git a/modules/gin b/modules/gin index b729bd7..9eb75b5 160000 --- a/modules/gin +++ b/modules/gin @@ -1 +1 @@ -Subproject commit b729bd7b1214cc277240a54fef6ba5818432c573 +Subproject commit 9eb75b5bad2525a387bcf1c1d773f897c35ef372 diff --git a/plugin/Source/PluginEditor.cpp b/plugin/Source/PluginEditor.cpp index 9643397..565ac4c 100644 --- a/plugin/Source/PluginEditor.cpp +++ b/plugin/Source/PluginEditor.cpp @@ -22,7 +22,8 @@ WavetableAudioProcessorEditor::WavetableAudioProcessorEditor (WavetableAudioProc addAndMakeVisible (usage); addChildComponent (modOverview); - + addAndMakeVisible (modOverlay); + usage.setBounds (45, 12, 80, 16); modOverview.setBounds (usage.getRight() + 10, 12, 150, 16); scope.setBounds (704, 5, 187, 30); @@ -70,6 +71,7 @@ void WavetableAudioProcessorEditor::resized() editor.setBounds (rc); patchBrowser.setBounds (rc); + modOverlay.setBounds (getLocalBounds()); } void WavetableAudioProcessorEditor::addMenuItems (juce::PopupMenu& m) @@ -97,4 +99,8 @@ void WavetableAudioProcessorEditor::addMenuItems (juce::PopupMenu& m) um.addItem ("200%", [setSize] { setSize (2.00f); }); m.addSubMenu ("UI Size", um); + + m.addSeparator(); + + m.addItem ("Manual", [] { juce::URL ("https://github.com/FigBug/Wavetable/blob/master/Manual.md").launchInDefaultBrowser(); }); } diff --git a/plugin/Source/PluginEditor.h b/plugin/Source/PluginEditor.h index 92d9250..9883e17 100644 --- a/plugin/Source/PluginEditor.h +++ b/plugin/Source/PluginEditor.h @@ -26,7 +26,8 @@ private: gin::TriggeredScope scope { wtProc.scopeFifo }; gin::SynthesiserUsage usage { wtProc }; gin::ModulationOverview modOverview { wtProc.modMatrix }; - + gin::ModOverlay modOverlay { wtProc.modMatrix }; + Editor editor { wtProc }; #if JUCE_DEBUG