mirror of
https://codeberg.org/armin/terion.git
synced 2026-10-11 16:41:53 +02:00
Add mono toggle, wider scale dropdown, dynamic UI scaling
This commit is contained in:
parent
9ee92e515c
commit
d15e61b96f
6 changed files with 90 additions and 30 deletions
|
|
@ -24,6 +24,7 @@ private:
|
|||
ArcKnob dotSizeKnob;
|
||||
ArcKnob smoothingKnob;
|
||||
juce::ToggleButton freezeButton;
|
||||
juce::ToggleButton monoButton;
|
||||
juce::ComboBox scaleBox;
|
||||
juce::Label fadeLabel, sensitivityLabel, dotSizeLabel, smoothingLabel;
|
||||
|
||||
|
|
@ -32,6 +33,7 @@ private:
|
|||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> dotSizeAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> smoothingAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::ButtonAttachment> freezeAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::ButtonAttachment> monoAttachment;
|
||||
|
||||
float currentScale = 1.0f;
|
||||
static constexpr int kBaseWidth = 420;
|
||||
|
|
@ -39,6 +41,7 @@ private:
|
|||
static constexpr int kFooterHeight = 28;
|
||||
static constexpr int kKnobSize = 54;
|
||||
static constexpr int kKnobMargin = 6;
|
||||
static constexpr float kMaxScale = 3.0f;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(TerionProcessorEditor)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue