-
Notifications
You must be signed in to change notification settings - Fork 0
/
equalizer_rack_parameter_right.xml
79 lines (75 loc) · 2.88 KB
/
equalizer_rack_parameter_right.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE template>
<!--
Description:
An equalizer rack parameter for the provided group.
Assumes the equalizer is effect 1 in the unit.
Variables:
group: the group
parameter: the parameter number
color: the notch color. carmine, green, yellow, blue or light_blue.
-->
<Template>
<SetVariable name="EqualizerNumber">1</SetVariable>
<SetVariable name="EffectNumber">1</SetVariable>
<SetVariable name="EqualizerRackGroup">[EqualizerRack<Variable name="EqualizerNumber"/>]</SetVariable>
<SetVariable name="EqualizerEffectUnitGroup">[EqualizerRack<Variable name="EqualizerNumber"/>_<Variable name="group"/>]</SetVariable>
<SetVariable name="EqualizerEffectGroup">[EqualizerRack<Variable name="EqualizerNumber"/>_<Variable name="group"/>_Effect<Variable name="EffectNumber"/>]</SetVariable>
<WidgetGroup>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>EQKnob</ObjectName>
<MinimumSize>40,34</MinimumSize>
<MaximumSize>40,41</MaximumSize>
<Layout>vertical</Layout>
<Children>
<EffectParameterKnobComposed>
<Size>40f,34f</Size>
<Knob>knob.svg</Knob>
<BackPath>knob_bg_purple.svg</BackPath>
<MinAngle>-135</MinAngle>
<MaxAngle>135</MaxAngle>
<KnobCenterYOffset>1.602</KnobCenterYOffset>
<Connection>
<ConfigKey><Variable name="EqualizerEffectGroup"/>,parameter<Variable name="parameter"/></ConfigKey>
</Connection>
</EffectParameterKnobComposed>
</Children>
</WidgetGroup>
<EffectPushButton>
<TooltipId>EqualizerRack_effect_button_parameter</TooltipId>
<Size>15f,20f</Size>
<ObjectName>EQKillButton</ObjectName>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
</State>
<State>
<Number>1</Number>
</State>
<Connection>
<ConfigKey><Variable name="EqualizerEffectGroup"/>,button_parameter<Variable name="parameter"/></ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</EffectPushButton>
<WidgetGroup><!-- Expanding spacer to push EQ knob to opposite side -->
<Size>0me,1min</Size>
<Children/>
<Connection>
<ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey>
<Transform><Not/></Transform>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey><Variable name="EqualizerEffectGroup"/>,parameter<Variable name="parameter"/>_loaded</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>