commit a2a64069b5c98dc224fb7f1f3357f5144b89ec64
parent 6757d443ded359770da1fef8a4b47f05529f6f55
Author: Jatin Chowdhury <jatinchowdhury18@gmail.com>
Date: Mon, 6 Jun 2022 18:09:15 +0200
Implement tab groups for accessibility
Diffstat:
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/Plugin/Source/GUI/Assets/gui.xml b/Plugin/Source/GUI/Assets/gui.xml
@@ -48,9 +48,9 @@
</View>
<View padding="0" margin="" background-color="" lookAndFeel="">
<View display="tabbed" padding="0" background-color="FF31323A" lookAndFeel="MyLNF"
- flex-grow="1.5">
+ flex-grow="1.5" group="Basic Controls">
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Gain">
+ padding="0" tab-caption="Gain" group="Gain Controls Tab">
<Slider caption="Input Gain [dB]" parameter="ingain" class="Slider" name="Input Gain"
padding="0" margin="0" tooltip="Sets the input gain to the tape model in Decibels."/>
<Slider caption="Dry/Wet" parameter="drywet" class="Slider" tooltip="Sets dry/wet mix of the entire plugin."
@@ -59,7 +59,7 @@
padding="0" margin="0" name="Output Gain" tooltip="Sets the output gain from the tape model in Decibels."/>
</View>
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Filters" margin="0">
+ padding="0" tab-caption="Filters" margin="0" group="Input/Output Filter Controls Tab">
<Slider caption="Low Cut" parameter="ifilt_low" class="Slider" name="Low Cut"
tooltip="Applies a low cut filter before applying tape processing."/>
<Slider caption="High Cut" parameter="ifilt_high" class="Slider" name="High Cut"
@@ -74,7 +74,7 @@
parameter="ifilt_onoff" name="Filters On/Off" tooltip="Turns the pre-processing filters on or off."/>
</View>
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Stereo" enabled="plugin:is_stereo">
+ padding="0" tab-caption="Stereo" enabled="plugin:is_stereo" group="Stereo Controls Tab">
<TextButton tooltip="Toggles between left/right and mid/side processing modes (Stereo only)"
margin="0" padding="5" parameter="mid_side" text="Stereo" text_on="Mid/Side"
flex-grow="0.35" name="Mid/Side" lookAndFeel="LookAndFeel_V3"
@@ -93,9 +93,9 @@
</View>
</View>
<View display="tabbed" padding="0" background-color="FF31323A" lookAndFeel="MyLNF"
- flex-grow="1.5">
+ flex-grow="1.5" group="Saturation Controls">
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Tape" margin="0">
+ padding="0" tab-caption="Tape" margin="0" group="Tape Controls Tab">
<View margin="0" padding="0" flex-grow="0.05" background-color="00000000"/>
<Slider caption="Bias" parameter="width" class="Slider" name="Bias" padding="0"
margin="0" tooltip="Controls the amount of bias used by the tape recorder. Turning down the bias can create "deadzone" distortion."/>
@@ -108,7 +108,7 @@
parameter="hyst_onoff" name="Tape On/Off" tooltip="Turns the tape processing on or off."/>
</View>
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Comp" margin="0">
+ padding="0" tab-caption="Comp" margin="0" group="Compression Controls Tab">
<View margin="0" padding="0" flex-grow="0.05" background-color="00000000"/>
<Slider caption="Amount [dB]" parameter="comp_amt" class="Slider" name="Compression Amount"
padding="0" margin="0" tooltip="Controls the amount of tape compression applied by the effect."/>
@@ -121,7 +121,7 @@
parameter="comp_onoff" name="Comp. On/Off" tooltip="Turns the tape compression on or off."/>
</View>
<View flex-direction="column" tab-color="" background-color="FF31323A"
- padding="0" tab-caption="Tone" margin="0">
+ padding="0" tab-caption="Tone" margin="0" group="Tape Tone Controls Tab">
<View margin="0" padding="0" flex-grow="0.05" background-color="00000000"/>
<Slider caption="Treble" parameter="h_treble" class="Slider" name="Treble"
padding="0" margin="0" tooltip="Controls the treble response of the pre/post-emphasis filters."/>
@@ -135,9 +135,9 @@
</View>
</View>
<View display="tabbed" padding="0" background-color="FF31323A" flex-grow="1.5"
- lookAndFeel="MyLNF">
+ lookAndFeel="MyLNF" group="Degradation Controls">
<View flex-direction="column" tab-caption="Loss" tab-color="" background-color="FF31323A"
- padding="0" margin="0">
+ padding="0" margin="0" group="Loss Controls Tab">
<Slider caption="Gap [microns]" parameter="gap" slider-type="linear-horizontal"
class="Slider" padding="0" slider-background="ff595c6b" slider-track="ff9cbcbd"
name="Gap" tooltip="Sets the width of the playhead gap. Certain frequencies that resonate with the gap width will be emphasized."
@@ -158,7 +158,7 @@
class="Slider" padding="0" slider-background="ff595c6b" slider-track="ff9cbcbd"
name="Speed" tooltip="Sets the speed of the tape as it affects the playhead loss effects. Note that this control does not affect the wow/flutter processing."
caption-placement="top-left"/>
- <View flex-grow="0.53" margin="0" padding="2" background-color="00000000">
+ <View flex-grow="0.53" margin="0" padding="2" background-color="00000000" group="Discrete Tape Speed Options">
<TextButton margin="0" padding="2" text="3.75" button-color="00000000" background-color="00000000"
onClick="set_speed_3.75" lookAndFeel="SpeedButtonLNF" button-on-color="00000000"
name="3.75 ips" tooltip="Snaps the tape speed to 3.75 inches per second."/>
@@ -178,7 +178,7 @@
parameter="loss_onoff" name="Loss On/Off" tooltip="Turns the loss filters on or off."/>
</View>
<View tab-caption="Degrade" padding="0" flex-direction="column" background-color="FF31323A"
- margin="0">
+ margin="0" group="Degrade Controls Tab">
<View flex-direction="column" max-height="140" background-color="FF1E1F22"
flex-grow="2.0" flex-shrink="2.0" padding="0">
<View max-height="5"/>
@@ -211,7 +211,7 @@
parameter="deg_onoff" name="Degrade On/Off" tooltip="Turns the degradation processing on or off."/>
</View>
<View tab-caption="CHEW" padding="0" flex-direction="column" background-color="FF31323A"
- margin="0">
+ margin="0" group="Chew Controls Tab">
<View margin="0" padding="0" flex-grow="0.05" background-color="00000000"/>
<Slider parameter="chew_depth" caption="Depth" padding="0" margin="0"
class="Slider" name="Chew Depth" tooltip="Controls how intensely the tape has been chewed up."/>
@@ -224,8 +224,8 @@
parameter="chew_onoff" name="Chew On/Off" tooltip="Turns the chew processing on or off."/>
</View>
</View>
- <View display="tabbed" padding="0" background-color="FF31323A" lookAndFeel="MyLNF">
- <View tab-caption="Flutter" flex-direction="column" background-color="FF31323A">
+ <View display="tabbed" padding="0" background-color="FF31323A" lookAndFeel="MyLNF" group="Wow/Flutter Controls">
+ <View tab-caption="Flutter" flex-direction="column" background-color="FF31323A" group="Flutter Controls Tab">
<FlutterMenu margin="0" padding="0" background-color="00000000" max-height="30"
name="Flutter Sync" tooltip="Snaps the flutter rate to a synchronized value."/>
<View margin="0" padding="0" flex-grow="0.1" background-color="00000000"/>
@@ -242,7 +242,7 @@
parameter="flutter_onoff" name="Wow/Flutter On/Off" tooltip="Turns the wow and flutter processing on or off."/>
</View>
<View tab-caption="Wow" flex-direction="column" background-color="FF31323A"
- padding="0" margin="3">
+ padding="0" margin="3" group="Wow Controls Tab">
<WowMenu margin="0" padding="0" background-color="00000000" max-height="30"
name="Wow Sync" tooltip="Snaps the wow rate to a synchronized value."/>
<View margin="0" padding="0" flex-grow="0.1" background-color="00000000"/>