summaryrefslogtreecommitdiffstats
path: root/src/mame/layout/brkball.lay
blob: f88c6185534fd765170107a9dceb4cb858244197 (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
<?xml version="1.0"?>
<mamelayout version="2">
	<element name="dmd_background">
		<rect>
			<color red="0.2" green="0.0" blue="0"/>
		</rect>
	</element>

	<element name="dotmatrixdot">
		<rect>
			<color red="0" green="0" blue="0" />
			<bounds left="-0.05" top="-0.05" right="1.05" bottom="1.05" />
		</rect>
		<disk>
			<color state="1" red="1.0" green="1.0" blue="1.0" />
			<color state="0" red="0.125" green="0.125" blue="0.125" />
		</disk>
	</element>

	<group name="dmd">
		<repeat count="21">
			<param name="s" start="0" increment="65" />
			<param name="y" start="0" increment="1" />
			<repeat count="65">
				<param name="n" start="~s~" increment="1" />
				<param name="x" start="0" increment="1" />
				<element name="dotmatrix~n~" ref="dotmatrixdot" state="0">
					<bounds x="~x~" y="~y~" width="1" height="1" />
					<color red="1.0" green="0.12" blue="0.12" />
				</element>
			</repeat>
		</repeat>
	</group>

	<view name="main">
		<group ref="dmd">
			<bounds x="149" y="0" width="102" height="42"/>
		</group>
		<element ref="dmd_background" blend="add">
			<bounds x="149" y="0" width="102" height="42"/>
		</element>
		<screen tag="screen">
			<bounds x="0" y="42" width="400" height="300" />
		</screen>
	</view>
</mamelayout>