-
Notifications
You must be signed in to change notification settings - Fork 0
/
sampler_text_row.xml
73 lines (72 loc) · 3.04 KB
/
sampler_text_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
<!DOCTYPE template>
<!--
Description:
Sampler text row.
Variables:
group: the group to connect to
-->
<Template>
<WidgetGroup>
<ObjectName>SamplerTextRow</ObjectName>
<Layout>vertical</Layout>
<SizePolicy>me,max</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>TitleGutter</ObjectName>
<Layout>horizontal</Layout>
<!-- When TextRow is laid out, we need to ignore our children. Otherwise
decks might end up with different widths based on the size of the
labels in this row -->
<SizePolicy>i,max</SizePolicy>
<Children>
<Template src="skin:left_right_display_2state_button.xml">
<SetVariable name="TooltipId">play_start</SetVariable>
<SetVariable name="ObjectName">SamplerPlayButton</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_play_48px.svg</SetVariable>
<SetVariable name="state_0_unpressed">icon/ic_play_48px.svg</SetVariable>
<SetVariable name="state_1_text"></SetVariable>
<SetVariable name="state_1_pressed">icon/ic_play_48px.svg</SetVariable>
<SetVariable name="state_1_unpressed">icon/ic_play_48px.svg</SetVariable>
<SetVariable name="left_connection_control"><Variable name="group"/>,cue_gotoandplay</SetVariable>
<SetVariable name="right_connection_control"><Variable name="group"/>,start_stop</SetVariable>
<SetVariable name="display_connection_control"><Variable name="group"/>,play_indicator</SetVariable>
</Template>
<TrackProperty>
<TooltipId>track_title</TooltipId>
<SizePolicy>me,min</SizePolicy>
<Property>title</Property>
<Group><Variable name="group"/></Group>
<Elide>right</Elide>
</TrackProperty>
</Children>
</WidgetGroup>
<!--
<WidgetGroup>
<ObjectName>BPMGutter</ObjectName>
<Layout>horizontal</Layout>
<SizePolicy>min,max</SizePolicy>
<Children>
<Key>
<Group><Variable name="group"/></Group>
<SizePolicy>min,</SizePolicy>
<Connection>
<ConfigKey><Variable name="group"/>,visual_key</ConfigKey>
</Connection>
</Key>
<NumberBpm>
<Group><Variable name="group"/></Group>
<SizePolicy>min,</SizePolicy>
<Connection>
<ConfigKey><Variable name="group"/>,visual_bpm</ConfigKey>
</Connection>
</NumberBpm>
</Children>
</WidgetGroup>
-->
</Children>
</WidgetGroup>
</Template>