-
Notifications
You must be signed in to change notification settings - Fork 0
/
deck_looping_controls.xml
109 lines (95 loc) · 5.85 KB
/
deck_looping_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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE template>
<!--
Description:
A grid of beatloop controls with a loop double and halve on the left and right.
Variables:
group: The group for the controls.
-->
<Template>
<WidgetGroup>
<ObjectName>LoopContainer</ObjectName>
<Layout>vertical</Layout>
<Children>
<WidgetGroup><!-- SpinBox + loop_activate -->
<Layout>horizontal</Layout>
<Children>
<BeatSpinBox>
<ObjectName>BeatloopSizeSpinBox</ObjectName>
<TooltipId>beatloop_size</TooltipId>
<Size>54f,25f</Size>
<Value><Variable name="group"/>,beatloop_size</Value>
</BeatSpinBox>
<!-- Workaround for layout spacing -->
<WidgetGroup><Size>1f,0min</Size></WidgetGroup>
<Template src="skin:left_right_2state_button.xml">
<SetVariable name="TooltipId">beatloop_activate</SetVariable>
<SetVariable name="ObjectName">BeatloopActivate</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_beatloop_activate_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_beatloop_activate_48px.svg</SetVariable>
<SetVariable name="state_1_text"></SetVariable>
<SetVariable name="state_1_pressed">icon/ic_beatloop_activate_48px.svg</SetVariable>
<SetVariable name="state_1_unpressed">icon/ic_beatloop_activate_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,beatloop_activate</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,beatlooproll_activate</SetVariable>
</Template>
</Children>
</WidgetGroup><!-- SpinBox + loop_activate -->
<!-- Workaround for layout spacing -->
<WidgetGroup><Size>0min,2f</Size></WidgetGroup>
<WidgetGroup><!-- loop_in, loop_out, reloop -->
<Layout>horizontal</Layout>
<Children>
<WidgetGroup><Size>4f,0min</Size></WidgetGroup>
<Template src="skin:left_right_1state_button.xml">
<SetVariable name="TooltipId">loop_in</SetVariable>
<SetVariable name="ObjectName">LoopIn</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_loop_in_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_loop_in_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,loop_in</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,loop_in_goto</SetVariable>
</Template>
<!-- Workaround for layout spacing -->
<WidgetGroup><Size>2f,0min</Size></WidgetGroup>
<Template src="skin:left_right_1state_button.xml">
<SetVariable name="TooltipId">loop_out</SetVariable>
<SetVariable name="ObjectName">LoopOut</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_loop_out_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_loop_out_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,loop_out</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,loop_out_goto</SetVariable>
</Template>
<!-- Workaround for layout spacing -->
<WidgetGroup><Size>5f,0min</Size></WidgetGroup>
<Template src="skin:left_right_display_2state_button.xml">
<SetVariable name="TooltipId">reloop_toggle</SetVariable>
<SetVariable name="ObjectName">Reloop</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_loop_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_loop_48px.svg</SetVariable>
<SetVariable name="state_1_text"></SetVariable>
<SetVariable name="state_1_pressed">icon/ic_loop_48px.svg</SetVariable>
<SetVariable name="state_1_unpressed">icon/ic_loop_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,reloop_toggle</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,reloop_andstop</SetVariable>
<SetVariable name="display_connection_control"><Variable name="group"/>,loop_enabled</SetVariable>
</Template>
</Children>
</WidgetGroup><!-- loop_in, loop_out, reloop -->
</Children>
</WidgetGroup><!-- LoopContainer -->
</Template>