-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquick_effect_superknob_right.xml
56 lines (52 loc) · 1.72 KB
/
quick_effect_superknob_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
<!DOCTYPE template>
<!--
Description:
The QuickEffect rack superknob.
Variables:
QuickEffect: the quick effect rack
group: the group
color: the knob ring color. carmine, yellow or light_blue
-->
<Template>
<SetVariable name="QuickEffectUnitGroup">[QuickEffectRack1_<Variable name="group"/>]</SetVariable>
<WidgetGroup>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<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>
<PushButton>
<TooltipId><Variable name="button_TooltipId"/></TooltipId>
<Size>15f,20f</Size>
<ObjectName>QuickEffectKillButton</ObjectName>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
</State>
<State>
<Number>1</Number>
</State>
<Connection>
<ConfigKey><Variable name="QuickEffectUnitGroup"/>,enabled</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</PushButton>
<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>
</WidgetGroup>
</Template>