-
Notifications
You must be signed in to change notification settings - Fork 0
/
deck_mixer_controls_col2.xml
94 lines (89 loc) · 3.85 KB
/
deck_mixer_controls_col2.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE template>
<!--
Description:
The deck mixer controls.
-->
<Template>
<SetVariable name="group">[Channel<Variable name="i"/>]</SetVariable>
<WidgetGroup>
<ObjectName>DeckMixer<Variable name="i"/>_Column2</ObjectName>
<Layout>vertical</Layout>
<SizePolicy>me,min</SizePolicy>
<Children>
<!-- VUMERTER L & R -->
<WidgetGroup>
<Size>22min,-1me</Size>
<MaximumSize>-1,91</MaximumSize>
<Layout>horizontal</Layout>
<Children>
<WidgetGroup>
<ObjectName>channel_VuMeter_Group</ObjectName>
<Layout>horizontal</Layout>
<MaximumSize>22,91</MaximumSize>
<Children>
<Template src="skin:vumeter_v.xml">
<SetVariable name="group"><Variable name="group"/></SetVariable>
<SetVariable name="side">L</SetVariable>
<SetVariable name="tooltip_meter">channel_VuMeterL</SetVariable>
<SetVariable name="tooltip_clip">channel_PeakIndicatorL</SetVariable>
</Template>
<Template src="skin:vumeter_v.xml">
<SetVariable name="group"><Variable name="group"/></SetVariable>
<SetVariable name="side">R</SetVariable>
<SetVariable name="tooltip_meter">channel_VuMeterR</SetVariable>
<SetVariable name="tooltip_clip">channel_PeakIndicatorR</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Nimix],nimix_mode</ConfigKey>
<BindProperty>visible</BindProperty>
<Transform>
<Not/>
</Transform>
</Connection>
</WidgetGroup>
<!-- HEADPHONES BUTTON -->
<WidgetGroup>
<Size>22min,-1me</Size>
<MaximumSize>-1,20</MaximumSize>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:left_2state_button.xml">
<SetVariable name="TooltipId">pfl</SetVariable>
<SetVariable name="ObjectName">DeckPFLButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="WideButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="WideButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="WideButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_headphones_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_headphones_48px.svg</SetVariable>
<SetVariable name="state_1_text"></SetVariable>
<SetVariable name="state_1_pressed">icon/ic_headphones_48px.svg</SetVariable>
<SetVariable name="state_1_unpressed">icon/ic_headphones_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,pfl</SetVariable>
</Template>
</Children>
<!-- <Connection>
<ConfigKey>[Nimix],nimix_mode</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection> -->
</WidgetGroup>
<!-- VOLUME SLIDER -->
<SliderComposed>
<TooltipId>channel_volume</TooltipId>
<SizePolicy>min,me</SizePolicy>
<MinimumSize>40,100</MinimumSize>
<MaximumSize>40,-1</MaximumSize>
<Slider scalemode="STRETCH">slider-vertical.svg</Slider>
<Handle scalemode="STRETCH_ASPECT">handle-vertical.svg</Handle>
<Horizontal>false</Horizontal>
<Connection>
<ConfigKey><Variable name="group"/>,volume</ConfigKey>
<EmitOnDownPress>false</EmitOnDownPress>
</Connection>
</SliderComposed>
</Children>
</WidgetGroup>
</Template>