-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeck_visual_row.xml
207 lines (201 loc) · 9.01 KB
/
deck_visual_row.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE template>
<!--
Description:
Deck visual row (waveform and spinny).
Variables:
group: the group to connect to
-->
<Template>
<WidgetGroup>
<ObjectName>VisualRow</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>me,max</SizePolicy>
<!-- Because the spinny hides itself and throws off the size
calculation we set our minimum size to the spinny size. -->
<MinimumSize>-1,101</MinimumSize>
<Children>
<Visual>
<TooltipId>waveform_display</TooltipId>
<Group><Variable name="group"/></Group>
<BgColor><Variable name="DeckBackgroundColor"/></BgColor>
<SignalHighColor></SignalHighColor>
<SignalMidColor></SignalMidColor>
<SignalLowColor></SignalLowColor>
<SignalRGBHighColor></SignalRGBHighColor>
<SignalRGBMidColor></SignalRGBMidColor>
<SignalRGBLowColor></SignalRGBLowColor>
<SignalColor><Variable name="DeckSignalColor"/></SignalColor>
<BeatColor>#ffffff</BeatColor>
<PlayPosColor>#FFFFFF</PlayPosColor>
<EndOfTrackColor>#7f1a23</EndOfTrackColor>
<AxesColor></AxesColor>
<Align></Align>
<DefaultMark>
<Align>top</Align>
<Color>#FFFFFF</Color>
<TextColor>#000000</TextColor>
<Text> %1 </Text>
</DefaultMark>
<MarkRange>
<StartControl>loop_start_position</StartControl>
<EndControl>loop_end_position</EndControl>
<EnabledControl>loop_enabled</EnabledControl>
<Color>#FFFFFF</Color>
<DisabledColor>#FFFFFF</DisabledColor>
</MarkRange>
<Mark>
<Control>loop_start_position</Control>
<Pixmap>image/marker_loop_in.png</Pixmap>
<Text>IN</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<Mark>
<Control>loop_end_position</Control>
<Pixmap>image/marker_loop_out.png</Pixmap>
<Text>OUT</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<!--
The hotcues not represented by a button in the current skin show only in the waveform under two circumstances:
- if a MIDI device which supports more hotcues than buttons are in the current skin has them activated
- if you change from a skin which supports more hotcues than buttons are in the current skin (and has them activated)
-->
<Mark>
<Control>hotcue_1_position</Control>
<Pixmap>image/marker_hotcue_1.png</Pixmap>
<Text>1</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<Mark>
<Control>hotcue_2_position</Control>
<Pixmap>image/marker_hotcue_2.png</Pixmap>
<Text>2</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<Mark>
<Control>hotcue_3_position</Control>
<Pixmap>image/marker_hotcue_3.png</Pixmap>
<Text>3</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<Mark>
<Control>hotcue_4_position</Control>
<Pixmap>image/marker_hotcue_4.png</Pixmap>
<Text>4</Text>
<Align>bottom</Align>
<Color>#FFFFFF</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
<Mark>
<Control>cue_point</Control>
<Pixmap>image/marker_cue.png</Pixmap>
<Text>CUE</Text>
<Align>bottom</Align>
<Color>#bfb327</Color>
<TextColor>#FFFFFF</TextColor>
</Mark>
</Visual>
<WidgetGroup>
<ObjectName>WaveformZoomContainer</ObjectName>
<Layout>vertical</Layout>
<SizePolicy>min,min</SizePolicy>
<Children>
<Template src="skin:left_1state_button.xml">
<SetVariable name="TooltipId">waveform_zoom_down</SetVariable>
<SetVariable name="ObjectName">WaveformZoomDownButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SmallSquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SmallSquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SmallSquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_zoom_in_24px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_zoom_in_24px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,waveform_zoom_down</SetVariable>
</Template>
<Template src="skin:left_1state_button.xml">
<SetVariable name="TooltipId">waveform_zoom_set_default</SetVariable>
<SetVariable name="ObjectName">WaveformZoomSetDefaultButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SmallSquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SmallSquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SmallSquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_clear_48px</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_clear_48px</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,waveform_zoom_set_default</SetVariable>
</Template>
<Template src="skin:left_1state_button.xml">
<SetVariable name="TooltipId">waveform_zoom_up</SetVariable>
<SetVariable name="ObjectName">WaveformZoomUpButton</SetVariable>
<SetVariable name="MinimumSize"><Variable name="SmallSquareButtonMinimumSize"/></SetVariable>
<SetVariable name="MaximumSize"><Variable name="SmallSquareButtonMaximumSize"/></SetVariable>
<SetVariable name="SizePolicy"><Variable name="SmallSquareButtonSizePolicy"/></SetVariable>
<SetVariable name="state_0_text"></SetVariable>
<SetVariable name="state_0_pressed">icon/ic_zoom_out_24px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_zoom_out_24px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,waveform_zoom_up</SetVariable>
</Template>
</Children>
</WidgetGroup>
<!-- We allow for the following options in the skin settings:
: Show no cover
: Show cover on spinning vinyl images
: Show cover in text row of decks
-->
<WidgetStack>
<ObjectName>SpinnyContainer</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>max,max</SizePolicy>
<MinimumSize>-1,100</MinimumSize>
<NextControl>[Deere],show_coverart</NextControl>
<PrevControl></PrevControl>
<Children>
<WidgetGroup>
<ObjectName>SpinnyHolder</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>max,max</SizePolicy>
<Children>
<Spinny>
<TooltipId>spinny</TooltipId>
<Group><Variable name="group"/></Group>
<PathBackground>image/vinyl_spinny_background.svg</PathBackground>
<PathForeground>image/vinyl_spinny_foreground.svg</PathForeground>
<PathGhost>image/vinyl_spinny_foreground_ghost.svg</PathGhost>
<PathMask>image/vinyl_spinny_cover_mask.svg</PathMask>
<ShowCover>false</ShowCover>
</Spinny>
</Children>
</WidgetGroup>
<WidgetGroup>
<ObjectName>SpinnyHolder</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>max,max</SizePolicy>
<Children>
<Spinny>
<TooltipId>spinny</TooltipId>
<Group><Variable name="group"/></Group>
<PathBackground>image/vinyl_spinny_background.svg</PathBackground>
<PathForeground>image/vinyl_spinny_foreground.svg</PathForeground>
<PathGhost>image/vinyl_spinny_foreground_ghost.svg</PathGhost>
<PathMask>image/vinyl_spinny_cover_mask.svg</PathMask>
<ShowCover>true</ShowCover>
</Spinny>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey persist="true"><Variable name="control_show_spinny"/></ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetStack>
</Children>
</WidgetGroup>
</Template>