summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/mhockey.lay
blob: 97624dd286e47655c990fee37162977e4d4718dc (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
<?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="red"><rect><color red="0.25" green="0.07" blue="0.02" /></rect></element>
	<element name="redd"><disk><color red="0.25" green="0.07" blue="0.02" /></disk></element>
	<element name="blue"><rect><color red="0.2" green="0.5" blue="0.65" /></rect></element>

	<element name="f1">
		<rect>
			<bounds x="0" y="0" width="30" height="30" />
			<color red="0" green="0" blue="0" />
		</rect>
		<rect>
			<bounds x="2.25" y="4.25" width="20.5" height="5" />
			<color red="0.2" green="0.5" blue="0.65" />
		</rect>
		<rect>
			<bounds x="2.25" y="5.25" width="20.5" height="22" />
			<color red="0.8" green="0.8" blue="0.8" />
		</rect>
		<rect>
			<bounds x="2.5" y="7" width="20" height="1.8" />
			<color red="0" green="0" blue="0" />
		</rect>
		<rect>
			<bounds x="5" y="6" width="15" height="5" />
			<color red="0.8" green="0.8" blue="0.8" />
		</rect>
		<disk>
			<bounds x="2.25" y="4.5" width="20.5" height="20.5" />
			<color red="0.8" green="0.8" blue="0.8" />
		</disk>
		<disk>
			<bounds x="2.5" y="4.75" width="20" height="20" />
			<color red="0" green="0" blue="0" />
		</disk>
		<rect>
			<bounds x="2.5" y="14.75" width="20" height="11" />
			<color red="0" green="0" blue="0" />
		</rect>
		<rect>
			<bounds x="2.5" y="18.75" width="20" height="0.25" />
			<color red="0.2" green="0.5" blue="0.65" />
		</rect>
	</element>

	<element name="text_p"><text string="PENALTY"><color red="0.01" green="0.01" blue="0.01" /></text></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.5" green="0.05" blue="0.075" /></rect>
		<rect state="2"><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="4.26" bottom="26.14" />

		<!-- bezel -->
		<element ref="f1"><bounds x="0" y="0" width="30" height="30" /></element>

		<element ref="text_p"><bounds x="2.5" y="6.32" width="2.5" height="0.6" /></element>
		<element ref="text_p"><bounds x="20" y="6.32" width="2.5" height="0.6" /></element>

		<element ref="red"><bounds x="4" y="9.5" width="17" height="0.25" /></element>
		<element ref="white"><bounds x="10" y="6.5" width="5" height="3.25" /></element>
		<element ref="red"><bounds x="10" y="9.75" width="5" height="3.25" /></element>
		<element ref="black"><bounds x="10.25" y="6.75" width="4.5" height="2.75" /></element>
		<element ref="black"><bounds x="10.25" y="9.75" width="4.5" height="3" /></element>

		<element ref="redd"><bounds x="5.5" y="14" width="4" height="4" /></element>
		<element ref="blackd"><bounds x="5.75" y="14.25" width="3.5" height="3.5" /></element>
		<element ref="redd"><bounds x="15.5" y="14" width="4" height="4" /></element>
		<element ref="blackd"><bounds x="15.75" y="14.25" width="3.5" height="3.5" /></element>
		<element ref="redd"><bounds x="10.5" y="19.75" width="4" height="4" /></element>
		<element ref="blackd"><bounds x="10.75" y="20" width="3.5" height="3.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="blue"><bounds x="5.5" y="21.9" width="14" height="5" /></element>
		<element ref="blue"><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="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>

		<!-- 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="5.3" 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>