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

<!-- define elements -->

	<element name="black"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="blackd"><disk><color red="0" green="0" blue="0" /></disk></element>
	<element name="white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="whited"><disk><color red="0.8" green="0.8" blue="0.8" /></disk></element>
	<element name="green"><rect><color red="0.2" green="0.55" blue="0.1" /></rect></element>

	<element name="text_l1"><text string="HOME" align="1"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_l2"><text string="VISITOR" align="2"><color red="0.01" green="0.01" blue="0.01" /></text></element>

	<element name="led" defstate="0">
		<rect state="0"><color red="0.1" green="0.01" blue="0.015" /></rect>
		<rect state="1"><color red="0.3" green="0.03" blue="0.05" /></rect>
		<rect state="2"><color red="0.5" green="0.05" blue="0.075" /></rect>
		<rect state="3"><color red="1.0" green="0.1" blue="0.15" /></rect>
	</element>

	<element name="digit" defstate="0">
		<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="2.26" right="22.74" top="3.36" bottom="26.14" />

		<!-- bezel -->
		<element ref="white"><bounds x="2.25" y="5" width="20.5" height="22" /></element>
		<element ref="black"><bounds x="2.5" y="5.5" width="20" height="22" /></element>

		<element ref="whited"><bounds x="10" y="9.55" width="5" height="5" /></element>
		<element ref="blackd"><bounds x="10.25" y="9.8" width="4.5" height="4.5" /></element>

		<element ref="white"><bounds x="6.5" y="5.25" width="12" height="7.75" /></element>
		<element ref="black"><bounds x="6.75" y="5.5" width="11.5" height="7.25" /></element>

		<element ref="white"><bounds x="9.25" y="5.25" width="6.5" height="2.25" /></element>
		<element ref="black"><bounds x="9.5" y="5.5" width="6" height="1.75" /></element>

		<element ref="whited"><bounds x="10" y="19.25" width="5" height="5" /></element>
		<element ref="blackd"><bounds x="10.25" y="19.5" width="4.5" height="4.5" /></element>
		<element ref="white"><bounds x="2.3" y="21.65" width="20.4" height="5" /></element>

		<element ref="text_l1"><bounds x="3" y="21.85" width="11" height="0.6" /></element>
		<element ref="text_l2"><bounds x="11" y="21.85" width="11" height="0.6" /></element>

		<element ref="green"><bounds x="5.5" y="21.9" width="14" height="5" /></element>
		<element ref="green"><bounds x="2.25" y="22.65" width="20.5" height="5" /></element>
		<element ref="black"><bounds x="0" y="26.15" width="25" height="5" /></element>
		<element ref="black"><bounds x="0" y="0" width="25" height="5.25" /></element>
		<element ref="green"><bounds x="2.25" y="3.35" width="20.5" height="1.9" /></element>

		<element ref="white"><bounds x="10" y="22.15" width="5" height="3.75" /></element>
		<element ref="black"><bounds x="10.25" y="22.4" width="4.5" height="3.25" /></element>

		<element ref="white"><bounds x="10" y="3.6" width="5" height="1.8" /></element>
		<element ref="black"><bounds x="10.25" y="3.85" width="4.5" height="1.4" /></element>

		<!-- leds -->
		<element name="digit0" ref="digit"><bounds x="10.75" y="23.025" width="1.5" height="2" /></element>
		<element name="digit1" ref="digit"><bounds x="12.75" y="23.025" width="1.5" height="2" /></element>

		<element name="7.a" ref="led"><bounds x="12.4" y="4.56" width="0.2" height="0.6" /></element>

		<element name="2.0" ref="led"><bounds x="3.7"   y="7.6" width="0.2" height="0.6" /></element>
		<element name="3.0" ref="led"><bounds x="8.05"  y="7.6" width="0.2" height="0.6" /></element>
		<element name="4.0" ref="led"><bounds x="12.4"  y="7.6" width="0.2" height="0.6" /></element>
		<element name="5.0" ref="led"><bounds x="16.75" y="7.6" width="0.2" height="0.6" /></element>
		<element name="6.0" ref="led"><bounds x="21.1"  y="7.6" width="0.2" height="0.6" /></element>

		<element name="2.1" ref="led"><bounds x="3.7"   y="11.883" width="0.2" height="0.6" /></element>
		<element name="3.1" ref="led"><bounds x="8.05"  y="11.883" width="0.2" height="0.6" /></element>
		<element name="4.1" ref="led"><bounds x="12.4"  y="11.883" width="0.2" height="0.6" /></element>
		<element name="5.1" ref="led"><bounds x="16.75" y="11.883" width="0.2" height="0.6" /></element>
		<element name="6.1" ref="led"><bounds x="21.1"  y="11.883" width="0.2" height="0.6" /></element>

		<element name="2.2" ref="led"><bounds x="3.7"   y="16.166" width="0.2" height="0.6" /></element>
		<element name="3.2" ref="led"><bounds x="8.05"  y="16.166" width="0.2" height="0.6" /></element>
		<element name="4.2" ref="led"><bounds x="12.4"  y="16.166" width="0.2" height="0.6" /></element>
		<element name="5.2" ref="led"><bounds x="16.75" y="16.166" width="0.2" height="0.6" /></element>
		<element name="6.2" ref="led"><bounds x="21.1"  y="16.166" width="0.2" height="0.6" /></element>

		<element name="2.3" ref="led"><bounds x="3.7"   y="20.45" width="0.2" height="0.6" /></element>
		<element name="3.3" ref="led"><bounds x="8.05"  y="20.45" width="0.2" height="0.6" /></element>
		<element name="4.3" ref="led"><bounds x="12.4"  y="20.45" width="0.2" height="0.6" /></element>
		<element name="5.3" ref="led"><bounds x="16.75" y="20.45" width="0.2" height="0.6" /></element>
		<element name="6.3" ref="led"><bounds x="21.1"  y="20.45" width="0.2" height="0.6" /></element>

	</view>
</mamelayout>