-
Notifications
You must be signed in to change notification settings - Fork 0
/
beatjump_button.xml
31 lines (30 loc) · 1.65 KB
/
beatjump_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
31
<!DOCTYPE template>
<!--
Description:
An individual beatjump button.
Beatjump jumps the player forward or backward by X beats.
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.
direction: ``forward`` or ``backward`` jump
SmallSquareButtonSize: The button size
-->
<Template>
<Template src="skin:left_1state_button.xml">
<SetVariable name="TooltipId">beatjump</SetVariable>
<SetVariable name="ObjectName">BeatJumpButton</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"/>,beatjump_<Variable name="control_length"/>_<Variable name="direction"/></SetVariable>
</Template>
</Template>