summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/s11.lay
blob: 01994068303ec737e51d024cc2b350f4cdd8dd0f (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
<?xml version="1.0"?>
<!--
license:CC0-1.0
copyright-holders:Robbbert
-->

<mamelayout version="2">

	<element name="digit" defstate="0">
		<led14segsc>
			<color red="1.0" green="0.0" blue="0.0" />
		</led14segsc>
	</element>
	<element name="ldigit" defstate="0">
		<led7seg>
			<color red="1.0" green="0.0" blue="0.0" />
		</led7seg>
	</element>
	<element name="diag" defstate="0">
		<led7seg>
			<color red="1.0" green="0.0" blue="1.0" />
		</led7seg>
	</element>
	<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
	<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
	<element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
	<element name="P4"><text string="Player 2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
	<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
	<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>

	<group name="score">
		<repeat count="7">
			<param name="n" start="~s~" increment="1" />
			<param name="x" start="0" increment="24" />
			<element name="digit~n~" ref="digit">
				<bounds x="~x~" y="0" width="20" height="39" />
			</element>
		</repeat>
	</group>

	<view name="Default Layout">
		<bounds left="0" top="25" right="364" bottom="249" />

		<!-- LEDs -->

		<!-- Player 1 Score -->
		<param name="s" value="1" />
		<group ref="score">
			<bounds left="10" top="45" right="174" bottom="84" />
		</group>

		<!-- Player 2 Score -->
		<param name="s" value="9" />
		<group ref="score">
			<bounds left="190" top="45" right="354" bottom="84" />
		</group>

		<!-- Player 3 Score -->
		<param name="s" value="17" />
		<group ref="score">
			<bounds left="10" top="100" right="174" bottom="139" />
		</group>

		<!-- Player 4 Score -->
		<param name="s" value="25" />
		<group ref="score">
			<bounds left="190" top="100" right="354" bottom="139" />
		</group>

		<!-- Credits and Balls -->
		<element name="digit16" ref="digit">
			<bounds left="256" top="200" right="276" bottom="239" />
		</element>
		<element name="digit24" ref="digit">
			<bounds left="280" top="200" right="300" bottom="239" />
		</element>
		<element name="digit60" ref="diag">
			<bounds left="220" top="200" right="232" bottom="219" />
		</element>
		<element name="digit0" ref="ldigit">
			<bounds left="310" top="200" right="330" bottom="239" />
		</element>
		<element name="digit8" ref="ldigit">
			<bounds left="334" top="200" right="354" bottom="239" />
		</element>
		<element ref="P0"><bounds left="310" right="354" top="180" bottom="192" /></element>
		<element ref="P1"><bounds left="256" right="300" top="180" bottom="192" /></element>
		<element ref="P3"><bounds left="10" right="174" top="30" bottom="42" /></element>
		<element ref="P4"><bounds left="190" right="354" top="30" bottom="42" /></element>
		<element ref="P5"><bounds left="10" right="174" top="88" bottom="100" /></element>
		<element ref="P6"><bounds left="190" right="354" top="88" bottom="100" /></element>
	</view>
</mamelayout>