commit d60a04762db9940d8ff1d486c4816a6a70f4c213
parent a2a64069b5c98dc224fb7f1f3357f5144b89ec64
Author: Jatin Chowdhury <jatinchowdhury18@gmail.com>
Date: Tue, 7 Jun 2022 00:45:40 +0200
More accessibility updates
Diffstat:
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/Plugin/Source/GUI/Assets/gui.xml b/Plugin/Source/GUI/Assets/gui.xml
@@ -46,7 +46,7 @@
<Plot source="scope" plot-color="FFEAA92C" padding="0" background-color="33000000"
plot-decay="0.0" plot-fill-color="FFFFFFFF"/>
</View>
- <View padding="0" margin="" background-color="" lookAndFeel="">
+ <View padding="0" margin="" background-color="" lookAndFeel="" group="Main Controls View">
<View display="tabbed" padding="0" background-color="FF31323A" lookAndFeel="MyLNF"
flex-grow="1.5" group="Basic Controls">
<View flex-direction="column" tab-color="" background-color="FF31323A"
@@ -269,7 +269,7 @@
<TooltipComp flex-grow="0.13" background-color="00000000" tooltip-name="FFEAA92C"
tooltip-text="FFFFFFFF"/>
<View max-height="35" margin="0" padding="0" background-color="FF31323A"
- flex-grow="0.1">
+ flex-grow="0.1" group="Extra Controls Bar">
<View background-color="00000000" flex-grow="0.05"/>
<OversamplingMenu caption="Oversampling" class="Slider" flex-grow="1.2" caption-size="0"
padding="0" combo-text="FFEAA92C" menu-accent="FFEAA92C" combo-background="00000000"
@@ -290,7 +290,8 @@
radius="" border="" text-highlight="FF8B3232" lookAndFeel="PresetsLNF" flex-grow="1.95"
max-height="100"/>
<SettingsButton lookAndFeel="ComboBoxLNF" background-color="00000000" flex-grow="0.06"
- margin="0" padding="5" max-width="40" min-width="25"/>
+ margin="0" padding="5" max-width="40" min-width="25" name="Settings"
+ tooltip="Opens the plugin settings menu."/>
</View>
</View>
</magic>
diff --git a/Plugin/Source/GUI/OnOff/PowerButton.cpp b/Plugin/Source/GUI/OnOff/PowerButton.cpp
@@ -61,7 +61,10 @@ void PowerButtonItem::update()
auto parameter = getControlledParameterID ({});
if (parameter.isNotEmpty())
+ {
+ button.setTitle (getMagicState().getParameter (parameter)->name);
attachment = getMagicState().createAttachment (parameter, button);
+ }
auto triggerID = getProperty (pOnClick).toString();
if (triggerID.isNotEmpty())
diff --git a/Plugin/Source/GUI/WowFlutterMenu.cpp b/Plugin/Source/GUI/WowFlutterMenu.cpp
@@ -51,6 +51,7 @@ float wowFreqToParam (float freq)
WowFlutterMenu::WowFlutterMenu (const ChowtapeModelAudioProcessor& proc, const String& type) : proc (proc)
{
+ setDescription (type + " Sync Menu");
setupUI();
const bool isFlutter = type == "Flutter";