-
Notifications
You must be signed in to change notification settings - Fork 0
/
quick_effect_superknob_left.xml
77 lines (73 loc) · 3.09 KB
/
quick_effect_superknob_left.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
<!DOCTYPE template>
<!--
Description:
The QuickEffect rack superknob.
Variables:
QuickEffect: the quick effect rack
group: the group
color: the notch color. red, green, yellow, blue or light_blue
-->
<Template>
<SetVariable name="QuickEffectRackGroup">[QuickEffectRack<Variable name="QuickEffect"/>]</SetVariable>
<SetVariable name="QuickEffectUnitGroup">[QuickEffectRack<Variable name="QuickEffect"/>_<Variable name="group"/>]</SetVariable>
<SetVariable name="QuickEffectEffectGroup">[QuickEffectRack<Variable name="QuickEffect"/>_<Variable name="group"/>_Effect1]</SetVariable>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<!-- BUTTON -->
<WidgetGroup>
<Size>15f,21f</Size>
<Children>
<EffectPushButton>
<TooltipId><Variable name="button_TooltipId"/></TooltipId>
<Size>15f,15f</Size>
<ObjectName>MixerButton</ObjectName>
<EffectRackGroup><Variable name="QuickEffectRackGroup"/></EffectRackGroup>
<EffectUnitGroup><Variable name="QuickEffectUnitGroup"/></EffectUnitGroup>
<Effect>1</Effect>
<EffectButtonParameter><Variable name="QuickEffect"/></EffectButtonParameter>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
<Text></Text>
<Pressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_off_48px.svg</Pressed>
<Unpressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_off_48px.svg</Unpressed>
</State>
<State>
<Number>1</Number>
<Text></Text>
<Pressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_on_48px.svg</Pressed>
<Unpressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_on_48px.svg</Unpressed>
</State>
<Connection>
<ConfigKey><Variable name="QuickEffectEffectGroup"/>,enabled</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
</EffectPushButton>
</Children>
</WidgetGroup>
<!-- KNOB -->
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<Template src="skin:knob.xml">
<SetVariable name="group"><Variable name="QuickEffectUnitGroup"/></SetVariable>
<SetVariable name="control">super1</SetVariable>
<SetVariable name="color"><Variable name="color"/></SetVariable>
</Template>
<EffectName>
<Size>40f,10f</Size>
<ObjectName>KnobLabel</ObjectName>
<EffectRackGroup><Variable name="QuickEffectRackGroup"/></EffectRackGroup>
<EffectUnitGroup><Variable name="QuickEffectUnitGroup"/></EffectUnitGroup>
<Effect>1</Effect>
</EffectName>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey><Variable name="QuickEffectEffectGroup"/>,loaded</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>