gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit e0d23b53fe12e463d846d2f75025cd03934e8830
parent 3064e9950007892dc29dc9efb1bffe2d3291dffa
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu,  8 Aug 2024 20:29:29 +0200

add parameter tooltip

Diffstat:
Msource/nord/n2x/n2xJucePlugin/n2xEditor.cpp | 5+++++
Msource/nord/n2x/n2xJucePlugin/n2xEditor.h | 1+
Msource/nord/n2x/n2xJucePlugin/skins/n2xTrancy/n2xTrancy.json | 11++++++++++-
3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/source/nord/n2x/n2xJucePlugin/n2xEditor.cpp b/source/nord/n2x/n2xJucePlugin/n2xEditor.cpp @@ -193,6 +193,11 @@ namespace n2xJucePlugin m_lcd->updatePatchName(); } + void Editor::mouseEnter(const juce::MouseEvent& _ev) + { + m_focusedParameter->onMouseEnter(_ev); + } + void Editor::onBtSave() const { juce::PopupMenu menu; diff --git a/source/nord/n2x/n2xJucePlugin/n2xEditor.h b/source/nord/n2x/n2xJucePlugin/n2xEditor.h @@ -59,6 +59,7 @@ namespace n2xJucePlugin } private: + void mouseEnter(const juce::MouseEvent& _ev) override; void onBtSave() const; void onBtPrev() const; void onBtNext() const; diff --git a/source/nord/n2x/n2xJucePlugin/skins/n2xTrancy/n2xTrancy.json b/source/nord/n2x/n2xJucePlugin/skins/n2xTrancy/n2xTrancy.json @@ -190,6 +190,15 @@ { "name" : "DeviceModel", "label" : { "text" : "NL2x", "textHeight" : "28", "color" : "FFFFFFFF", "alignH" : "L", "alignV" : "C", "x" : "175", "y" : "1155", "width" : "100", "height" : "32" }}, { "name" : "RomSelector", "combobox" : { "text" : "rom.bin", "textHeight" : "28", "color" : "FFFFFFFF", "alignH" : "L", "alignV" : "C", "x" : "730", "y" : "1154", "width" : "400", "height" : "32", "offsetR" : "-60", "tooltip" : "Copy a valid ROM file with file extension .bin next to this plugin" }}, - + { + "name" : "FocusedParameterTooltip", + "label" : { + "text" : "", "textHeight" : "30", "fontFile":"DSEG7Classic-BoldItalic","fontName":"Register", + "color" : "FF0000FF", "backgroundColor" : "220303ff", + "alignH" : "C", "alignV" : "C", + "x" : "1385", "y" : "1225", "width" : "80", "height" : "45" + }, + "componentProperties" : {"offsetY" : "25"} + } ] }