mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-10-11 21:31:54 +02:00
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:
parent
94b9d4a8f8
commit
fbca80dfe3
3 changed files with 35 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue