Add persistent UI scale parameter (75%..200%)

- Add uiScale AudioParameterChoice to APVTS with 5 options (75%, 100%, 125%, 150%, 200%)
- Connect uiScaleBox ComboBox to parameter via ComboBoxAttachment
- Restore saved scale on editor creation
- Scale persists across plugin close/reopen via APVTS state
This commit is contained in:
Armin 2026-08-31 21:39:12 +02:00
commit fbca80dfe3
3 changed files with 35 additions and 22 deletions

View file

@ -296,6 +296,7 @@ private:
// Arpeggiator attachments
std::unique_ptr<ComboBoxAttachment> arpPatternAttach, arpOctavesAttach, arpRateAttach;
std::unique_ptr<ComboBoxAttachment> uiScaleAttach;
void setupLabel(juce::Label& label, const juce::String& text);
void setupKnob(juce::Slider& knob, const juce::String& name);