-
Notifications
You must be signed in to change notification settings - Fork 0
/
beatloop_button.xml
30 lines (30 loc) · 1.81 KB
/
beatloop_button.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
<!DOCTYPE template>
<!--
Description:
An individual beatloop button.
Variables:
group: The group for the controls.
control_length: The length as used in control names.
state_X_pressed: The (optional) image file used for this state.
state_X_unpressed: The (optional) image file used for this state.
text_length: The length in text form.
SmallSquareButtonSize: The button size
-->
<Template>
<Template src="skin:left_right_display_2state_button.xml">
<SetVariable name="TooltipId">beatloop</SetVariable>
<SetVariable name="ObjectName">BeatLoopButton</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_pressed"><Variable name="state_0_pressed"/></SetVariable>
<SetVariable name="state_0_unpressed"><Variable name="state_0_unpressed"/></SetVariable>
<SetVariable name="state_0_text"><Variable name="text_length"/></SetVariable>
<SetVariable name="state_1_pressed"><Variable name="state_1_pressed"/></SetVariable>
<SetVariable name="state_1_unpressed"><Variable name="state_1_unpressed"/></SetVariable>
<SetVariable name="state_1_text"><Variable name="text_length"/></SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,beatloop_<Variable name="control_length"/>_toggle</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,beatlooproll_<Variable name="control_length"/>_activate</SetVariable>
<SetVariable name="display_connection_control"><Variable name="group"/>,beatloop_<Variable name="control_length"/>_enabled</SetVariable>
</Template>
</Template>