summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/leboom.lay
blob: 1f17315c33bd536ba61c36070f1b5a33faf45b44 (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
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">

<!-- define elements -->

	<element name="disk_black"><disk><color red="0.03" green="0.03" blue="0.03" /></disk></element>
	<element name="disk_red"><disk><color red="0.9" green="0.15" blue="0.17" /></disk></element>
	<element name="disk_blue"><disk><color red="0.2" green="0.3" blue="0.9" /></disk></element>
	<element name="disk_yellow"><disk><color red="0.9" green="0.9" blue="0.25" /></disk></element>
	<element name="disk_green"><disk><color red="0.3" green="0.9" blue="0.25" /></disk></element>

	<element name="text_l1"><text string="GAME"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l2"><text string="ROWS"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l3"><text string="FUSE"><color red="0.8" green="0.8" blue="0.8" /></text></element>

	<element name="text_r1"><text string="1"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_r2"><text string="2"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_r3"><text string="3"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_r4"><text string="4"><color red="0.03" green="0.03" blue="0.03" /></text></element>

	<element name="text_g1"><text string="SHORTEST"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_g2"><text string="SHORT"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_g3"><text string="LONG"><color red="0.03" green="0.03" blue="0.03" /></text></element>
	<element name="text_g4"><text string="LONGEST"><color red="0.03" green="0.03" blue="0.03" /></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="led" defstate="0">
		<disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
		<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-0.5" right="33.5" top="-2.1" bottom="18" />

		<element ref="text_l1"><bounds x="0" y="-1.7" width="4" height="1.2" /></element>
		<element ref="text_l2"><bounds x="5" y="-1.7" width="4" height="1.2" /></element>
		<element ref="text_l3"><bounds x="10" y="-1.7" width="4" height="1.2" /></element>

		<element name="0.0" ref="led"><bounds x="31" y="7.75" width="2" height="2" /></element>

		<!-- button panel -->
		<element ref="disk_red"><bounds x="0" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="0" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="0" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="0" y="13.5" width="4" height="4" /></element>
		<element ref="text_r1"><bounds x="1" y="1.25"  width="2" height="1.5" /></element>
		<element ref="text_r2"><bounds x="1" y="5.75"  width="2" height="1.5" /></element>
		<element ref="text_r3"><bounds x="1" y="10.25" width="2" height="1.5" /></element>
		<element ref="text_r4"><bounds x="1" y="14.75" width="2" height="1.5" /></element>

		<element ref="disk_red"><bounds x="5" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="5" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="5" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_red"><bounds x="5" y="13.5" width="4" height="4" /></element>
		<element ref="disk_black"><bounds x="6.25" y="1.25"  width="1.5" height="1.5" /></element>
		<element ref="disk_black"><bounds x="6.25" y="5.75"  width="1.5" height="1.5" /></element>
		<element ref="disk_black"><bounds x="6.25" y="10.25" width="1.5" height="1.5" /></element>
		<element ref="disk_black"><bounds x="6.25" y="14.75" width="1.5" height="1.5" /></element>
		<element ref="disk_red">   <bounds x="6.4" y="1.4"  width="1.2" height="1.2" /></element>
		<element ref="disk_green"> <bounds x="6.4" y="5.9"  width="1.2" height="1.2" /></element>
		<element ref="disk_yellow"><bounds x="6.4" y="10.4" width="1.2" height="1.2" /></element>
		<element ref="disk_blue">  <bounds x="6.4" y="14.9" width="1.2" height="1.2" /></element>

		<element ref="disk_green"><bounds x="10" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_green"><bounds x="10" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_green"><bounds x="10" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_green"><bounds x="10" y="13.5" width="4" height="4" /></element>
		<element ref="text_g1"><bounds x="10.1" y="1.5"  width="3.8" height="1" /></element>
		<element ref="text_g2"><bounds x="10.1" y="6.0"  width="3.8" height="1" /></element>
		<element ref="text_g3"><bounds x="10.1" y="10.5" width="3.8" height="1" /></element>
		<element ref="text_g4"><bounds x="10.1" y="15.0" width="3.8" height="1" /></element>

		<element ref="disk_yellow"><bounds x="15" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_yellow"><bounds x="15" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_yellow"><bounds x="15" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_yellow"><bounds x="15" y="13.5" width="4" height="4" /></element>

		<element ref="disk_blue"><bounds x="20" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="20" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="20" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="20" y="13.5" width="4" height="4" /></element>

		<element ref="disk_blue"><bounds x="25" y="0.0"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="25" y="4.5"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="25" y="9.0"  width="4" height="4" /></element>
		<element ref="disk_blue"><bounds x="25" y="13.5" width="4" height="4" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="0" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="5" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="5" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="10" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="10" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="10" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="10" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="15" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="15" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="15" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="15" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x01"><bounds x="20" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x02"><bounds x="20" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x04"><bounds x="20" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.4" inputmask="0x08"><bounds x="20" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.5" inputmask="0x01"><bounds x="25" y="0.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.5" inputmask="0x02"><bounds x="25" y="4.5"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.5" inputmask="0x04"><bounds x="25" y="9.0"  width="4" height="4" /><color alpha="0.3" /></element>
		<element ref="hl" inputtag="IN.5" inputmask="0x08"><bounds x="25" y="13.5" width="4" height="4" /><color alpha="0.3" /></element>

	</view>
</mamelayout>