summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/melodym.lay
blob: 01b342e355ae20c5a784eece32a67474f61f2aa8 (plain) (blame)
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
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">

<!-- define elements -->

	<element name="black2"><rect><color red="0.2" green="0.21" blue="0.23" /></rect></element>
	<element name="disk_yellow"><disk><color red="0.9" green="0.9" blue="0.2" /></disk></element>
	<element name="disk_orange"><disk><color red="0.9" green="0.45" blue="0.15" /></disk></element>

	<element name="lamp" defstate="0">
		<rect state="1"><color red="1.0" green="0.8" blue="0.5" /></rect>
		<rect state="0"><color red="0.8" green="0.2" blue="0.1" /></rect>
	</element>

	<element name="text_l1"><text string="Novice"><color red="0.9" green="0.9" blue="0.2" /></text></element>
	<element name="text_l2"><text string="Whiz"><color red="0.9" green="0.9" blue="0.2" /></text></element>
	<element name="text_l3"><text string="Pro"><color red="0.9" green="0.9" blue="0.2" /></text></element>
	<element name="text_l4"><text string="&#x266b;"><color red="0.9" green="0.9" blue="0.2" /></text></element> <!-- double music note -->

	<element name="text_b1"><text string="1"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b3"><text string="3"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b5"><text string="5"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b7"><text string="7"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b9"><text string="9"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b11"><text string="11"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b15"><text string="15"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b17"><text string="17"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b19"><text string="19"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b21"><text string="21"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b23"><text string="23"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b25"><text string="25"><color red="0.02" green="0.02" blue="0.02" /></text></element>

	<element name="text_b2"><text string="2"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b4"><text string="4"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b6"><text string="6"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b8"><text string="8"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b10"><text string="10"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b12"><text string="12"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b14"><text string="14"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b16"><text string="16"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b18"><text string="18"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b20"><text string="20"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b22"><text string="22"><color red="0.02" green="0.02" blue="0.02" /></text></element>
	<element name="text_b24"><text string="24"><color red="0.02" green="0.02" blue="0.02" /></text></element>

	<element name="hl" defstate="0">
		<text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
		<disk state="1"><color red="0.0" green="0.0" blue="0.0" /></disk>
	</element>
	<element name="hl2" defstate="0">
		<text string=" "><color red="0.0" green="0.0" blue="0.0" /></text>
		<rect state="1"><color red="1.0" green="1.0" blue="1.0" /></rect>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-1" right="45" top="-6" bottom="55" />

		<element name="0.0" ref="lamp"><bounds x="0" y="-5" width="17" height="8" /></element>
		<element name="0.0" ref="lamp"><bounds x="27" y="-5" width="17" height="8" /></element>

		<!-- upper buttons -->
		<element ref="black2"><bounds x="9"  y="4" width="8" height="5" /></element>
		<element ref="black2"><bounds x="18" y="4" width="8" height="5" /></element>
		<element ref="black2"><bounds x="27" y="4" width="8" height="5" /></element>
		<element ref="black2"><bounds x="36" y="4" width="8" height="5" /></element>

		<element ref="text_l1"><bounds x="9"  y="5.1" width="8" height="2.8" /></element>
		<element ref="text_l2"><bounds x="18" y="5.1" width="8" height="2.8" /></element>
		<element ref="text_l3"><bounds x="27" y="5.1" width="8" height="2.8" /></element>
		<element ref="text_l4"><bounds x="36" y="4.8" width="8" height="3.4" /></element>

		<element ref="hl2" inputtag="IN.5" inputmask="0x01"><bounds x="9"  y="4" width="8" height="5" /><color alpha="0.15" /></element>
		<element ref="hl2" inputtag="IN.5" inputmask="0x02"><bounds x="18" y="4" width="8" height="5" /><color alpha="0.15" /></element>
		<element ref="hl2" inputtag="IN.5" inputmask="0x04"><bounds x="27" y="4" width="8" height="5" /><color alpha="0.15" /></element>
		<element ref="hl2" inputtag="IN.5" inputmask="0x08"><bounds x="36" y="4" width="8" height="5" /><color alpha="0.15" /></element>

		<!-- main buttons -->
		<element ref="disk_yellow"><bounds x="0"  y="10" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="9"  y="10" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="18" y="10" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="27" y="10" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="36" y="10" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="0"  y="19" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="9"  y="19" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="18" y="19" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="27" y="19" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="36" y="19" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="0"  y="28" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="9"  y="28" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="27" y="28" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="36" y="28" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="0"  y="37" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="9"  y="37" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="18" y="37" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="27" y="37" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="36" y="37" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="0"  y="46" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="9"  y="46" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="18" y="46" width="8" height="8" /></element>
		<element ref="disk_orange"><bounds x="27" y="46" width="8" height="8" /></element>
		<element ref="disk_yellow"><bounds x="36" y="46" width="8" height="8" /></element>

		<element ref="text_b1"><bounds x="0"  y="11" width="8" height="6" /></element>
		<element ref="text_b2"><bounds x="9"  y="11" width="8" height="6" /></element>
		<element ref="text_b3"><bounds x="18" y="11" width="8" height="6" /></element>
		<element ref="text_b4"><bounds x="27" y="11" width="8" height="6" /></element>
		<element ref="text_b5"><bounds x="36" y="11" width="8" height="6" /></element>
		<element ref="text_b6"><bounds x="0"  y="20" width="8" height="6" /></element>
		<element ref="text_b7"><bounds x="9"  y="20" width="8" height="6" /></element>
		<element ref="text_b8"><bounds x="18" y="20" width="8" height="6" /></element>
		<element ref="text_b9"><bounds x="27" y="20" width="8" height="6" /></element>
		<element ref="text_b10"><bounds x="36" y="20" width="8" height="6" /></element>
		<element ref="text_b11"><bounds x="0"  y="29" width="8" height="6" /></element>
		<element ref="text_b12"><bounds x="9"  y="29" width="8" height="6" /></element>
		<element ref="text_b14"><bounds x="27" y="29" width="8" height="6" /></element>
		<element ref="text_b15"><bounds x="36" y="29" width="8" height="6" /></element>
		<element ref="text_b16"><bounds x="0"  y="38" width="8" height="6" /></element>
		<element ref="text_b17"><bounds x="9"  y="38" width="8" height="6" /></element>
		<element ref="text_b18"><bounds x="18" y="38" width="8" height="6" /></element>
		<element ref="text_b19"><bounds x="27" y="38" width="8" height="6" /></element>
		<element ref="text_b20"><bounds x="36" y="38" width="8" height="6" /></element>
		<element ref="text_b21"><bounds x="0"  y="47" width="8" height="6" /></element>
		<element ref="text_b22"><bounds x="9"  y="47" width="8" height="6" /></element>
		<element ref="text_b23"><bounds x="18" y="47" width="8" height="6" /></element>
		<element ref="text_b24"><bounds x="27" y="47" width="8" height="6" /></element>
		<element ref="text_b25"><bounds x="36" y="47" width="8" height="6" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="0"  y="10" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="9"  y="10" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="18" y="10" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="27" y="10" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x10"><bounds x="36" y="10" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="0"  y="19" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="9"  y="19" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="18" y="19" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="27" y="19" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x10"><bounds x="36" y="19" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="0"  y="28" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="9"  y="28" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="27" y="28" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x10"><bounds x="36" y="28" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="0"  y="37" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="9"  y="37" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="18" y="37" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="27" y="37" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x10"><bounds x="36" y="37" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x01"><bounds x="0"  y="46" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x02"><bounds x="9"  y="46" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x04"><bounds x="18" y="46" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x08"><bounds x="27" y="46" width="8" height="8" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x10"><bounds x="36" y="46" width="8" height="8" /><color alpha="0.3" /></element>

	</view>
</mamelayout>