-
Notifications
You must be signed in to change notification settings - Fork 0
/
right_deck_mixer_controls.xml
51 lines (48 loc) · 1.49 KB
/
right_deck_mixer_controls.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
<!DOCTYPE template>
<!--
Description:
The deck mixer controls.
-->
<Template>
<SetVariable name="group">[Channel<Variable name="i"/>]</SetVariable>
<WidgetGroup>
<ObjectName>DeckMixer<Variable name="i"/></ObjectName>
<Layout>vertical</Layout>
<SizePolicy>min,me</SizePolicy>
<Children>
<!-- In 2 deck mode, we show a 2-column mixer section -->
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
<Template src="skin:deck_mixer_controls_col2.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_4decks</ConfigKey>
<BindProperty>visible</BindProperty>
<Transform>
<Not/>
</Transform>
</Connection>
</WidgetGroup>
<!-- In 4 deck mode, we show a 2-column mixer section -->
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
<WidgetGroup>
<Layout>vertical</Layout>
<ObjectName>4DecksMixerCol2Container</ObjectName>
<Children>
<Template src="skin:deck_mixer_controls_col2.xml"/>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Master],show_4decks</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Children>
</WidgetGroup>
</Template>