-
Notifications
You must be signed in to change notification settings - Fork 0
/
effect_rack.xml
80 lines (73 loc) · 2.73 KB
/
effect_rack.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
80
<!DOCTYPE template>
<!--
Container for all the effect units
-->
<Template>
<WidgetGroup>
<Connection>
<ConfigKey>[EffectRack1],show</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
<Layout>vertical</Layout>
<!-- I don't now why this works but a WidgetGroup wrapper around a
WidgetStack with a 'fixed' size policy makes the group track the
minimum size of the current stack widget. -->
<SizePolicy>me,f</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>EffectRackContainer</ObjectName>
<Layout>vertical</Layout>
<Children>
<WidgetGroup>
<ObjectName>EffectUnitsRow</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<Template src="skin:effect_unit.xml">
<SetVariable name="EffectRack">1</SetVariable>
<SetVariable name="EffectUnit">1</SetVariable>
</Template>
<Template src="skin:spacer_hx.xml">
<SetVariable name="width">5</SetVariable>
<SetVariable name="color">22</SetVariable>
</Template>
<Template src="skin:effect_unit.xml">
<SetVariable name="EffectRack">1</SetVariable>
<SetVariable name="EffectUnit">2</SetVariable>
</Template>
</Children>
</WidgetGroup>
<WidgetGroup>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>EffectUnitsRow</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,me</SizePolicy>
<Children>
<Template src="skin:effect_unit.xml">
<SetVariable name="EffectRack">1</SetVariable>
<SetVariable name="EffectUnit">3</SetVariable>
</Template>
<Template src="skin:spacer_hx.xml">
<SetVariable name="width">5</SetVariable>
<SetVariable name="color">22</SetVariable>
</Template>
<Template src="skin:effect_unit.xml">
<SetVariable name="EffectRack">1</SetVariable>
<SetVariable name="EffectUnit">4</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Skin],show_4effectunits</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Children>
</WidgetGroup>
</Children>
</WidgetGroup>
</Template>