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

<!-- NOTE: this only shows the info panel, -->
<!-- simple reflected lamps are possible but not added yet, -->
<!-- movable parts are omitted -->


<!-- define elements -->

	<element name="static_black">
		<rect>
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>

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

	<element name="text_time">
		<text string="TIME">
			<color red="1.0" green="0.3" blue="0.2" />
		</text>
	</element>
	<element name="text_mph">
		<text string="M.P.H.">
			<color red="1.0" green="0.3" blue="0.2" />
		</text>
	</element>
	<element name="text_score">
		<text string="SCORE">
			<color red="1.0" green="0.3" blue="0.2" />
		</text>
	</element>




	<view name="Internal Layout">
		<bounds left="0" right="170" top="0" bottom="47" />
		<element ref="static_black">
			<bounds left="0" right="170" top="0" bottom="47" />
		</element>

<!-- left panel -->
		<!-- TIME -->
		<element name="digit3" ref="digit">
			<bounds x="10" y="10" width="10" height="15" />
		</element>
		<element name="digit2" ref="digit">
			<bounds x="20" y="10" width="10" height="15" />
		</element>

		<!-- not connected -->
		<element name="dummy_digita" ref="digit">
			<bounds x="30" y="10" width="10" height="15" />
		</element>
		<element name="dummy_digitb" ref="digit">
			<bounds x="40" y="10" width="10" height="15" />
		</element>

		<!-- M.P.H. -->
		<element name="digit1" ref="digit">
			<bounds x="50" y="10" width="10" height="15" />
		</element>
		<element name="digit0" ref="digit">
			<bounds x="60" y="10" width="10" height="15" />
		</element>

		<element ref="text_time">
			<bounds x="10" y="30" width="30" height="7" />
		</element>
		<element ref="text_mph">
			<bounds x="40" y="30" width="30" height="7" />
		</element>


<!-- right panel -->
		<!-- SCORE -->
		<element name="digit9" ref="digit">
			<bounds x="100" y="10" width="10" height="15" />
		</element>
		<element name="digit8" ref="digit">
			<bounds x="110" y="10" width="10" height="15" />
		</element>
		<element name="digit7" ref="digit">
			<bounds x="120" y="10" width="10" height="15" />
		</element>
		<element name="digit6" ref="digit">
			<bounds x="130" y="10" width="10" height="15" />
		</element>
		<element name="digit5" ref="digit">
			<bounds x="140" y="10" width="10" height="15" />
		</element>
		<element name="digit4" ref="digit">
			<bounds x="150" y="10" width="10" height="15" />
		</element>

		<element ref="text_score">
			<bounds x="100" y="30" width="60" height="7" />
		</element>

	</view>
</mamelayout>