-
Notifications
You must be signed in to change notification settings - Fork 0
/
sampler_bank_controls.xml
214 lines (204 loc) · 11.3 KB
/
sampler_bank_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
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
208
209
210
211
212
213
214
<!DOCTYPE template>
<!--
Description:
Sampler bank controls row column.
Allows to show/hide single sampler bank 1-4 in the sampler rack, and to load
and save sampler bank configurations.
Variables:
-->
<Template>
<!-- Controls used when in simple sampler view -->
<WidgetGroup>
<ObjectName>SamplerBankContainer</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>min,f</SizePolicy>
<Children>
<Label>
<ObjectName>SamplerBankLabel</ObjectName>
<Text>Bank</Text>
</Label>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">1</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">1</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_1</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">2</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">2</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_2</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">3</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">3</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_3</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">4</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">4</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_4</SetVariable>
</Template>
</Children>
<Connection>
<ConfigKey>[Samplers],show_samplers</ConfigKey>
<BindProperty>visible</BindProperty>
<Transform>
<Not/>
</Transform>
</Connection>
</WidgetGroup>
<!-- Controls used when in advanced sampler view -->
<WidgetGroup>
<ObjectName>SamplerBankContainer</ObjectName>
<Layout>vertical</Layout>
<Children>
<Label>
<ObjectName>SamplerBankLabel</ObjectName>
<Text>Bank</Text>
</Label>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">1</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">1</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_1</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">2</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">2</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_2</SetVariable>
</Template>
</Children>
</WidgetGroup>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">3</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">3</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_3</SetVariable>
</Template>
<Template src="skin:left_2state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankToggle</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">4</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="state_1_text">4</SetVariable>
<SetVariable name="state_1_pressed"></SetVariable>
<SetVariable name="state_1_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Deere],sampler_bank_4</SetVariable>
</Template>
</Children>
</WidgetGroup>
<Template src="skin:spacer_v.xml"/>
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<Template src="skin:left_1state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankLoadButton</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">Load</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Sampler],LoadSamplerBank</SetVariable>
</Template>
<Template src="skin:left_1state_button.xml">
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="ObjectName">SamplerBankSaveButton</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">Save</SetVariable>
<SetVariable name="state_0_pressed"></SetVariable>
<SetVariable name="state_0_unpressed"></SetVariable>
<SetVariable name="left_connection_control">[Sampler],SaveSamplerBank</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Samplers],show_samplers</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>