mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-11 17:01:53 +02:00
Persist engine state in DAW projects, black monochrome panel, expand preset bank
- Save/load the engine's full parameter set alongside the preset index so knob and menu tweaks survive relaunching a song project - Make the plugin panel black: top/surround laser border and bottom deck (rotary + nav keys) are now #000000 - Extend factory bank to 320 categorized presets and add LCD click-to-open preset category browser
This commit is contained in:
parent
78e8ee80ad
commit
bdd3b38cee
7 changed files with 943 additions and 56 deletions
|
|
@ -236,4 +236,12 @@ void LcdDisplay::paint (juce::Graphics& g)
|
|||
}
|
||||
}
|
||||
|
||||
void LcdDisplay::timerCallback() { repaint(); }
|
||||
void LcdDisplay::timerCallback() { repaint(); }
|
||||
|
||||
void LcdDisplay::mouseDown (const juce::MouseEvent& e)
|
||||
{
|
||||
const int row = juce::jlimit (0, kRows - 1,
|
||||
(int) (e.position.y / (float) (getHeight() / kRows)));
|
||||
if (onPressed)
|
||||
onPressed (row);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue