summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/hh_sm510_test.lay
blob: 3fdf9bdb40ad99262195d743cae9843651ebecb7 (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
<?xml version="1.0"?>
<mamelayout version="2">

<!-- define elements -->

	<!-- not really black, and not really leds either, but let's just keep the same naming as the other hh test layouts -->
	<element name="static_black"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element>

	<element name="led" defstate="0">
		<disk state="0"><color red="0.5412" green="0.57255" blue="0.5804" /></disk>
		<disk state="1"><color red="0.361" green="0.326" blue="0.346" /></disk>
	</element>


<!-- build screen -->

	<view name="Test Layout">
		<bounds left="0" right="20" top="0" bottom="16" />
		<bezel element="static_black">
			<bounds left="0" right="20" top="0" bottom="16" />
		</bezel>

	<!-- max 4*16*4 matrix -->

		<repeat count="16">
			<param name="y" start="0" increment="1" />

			<!-- a -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="0" increment="1" />
				<bezel name="0.~y~.~x~" element="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></bezel>
			</repeat>

			<!-- b -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="5" increment="1" />
				<bezel name="1.~y~.~x~" element="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></bezel>
			</repeat>

			<!-- bs -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="10" increment="1" />
				<bezel name="2.~y~.~x~" element="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></bezel>
			</repeat>

			<!-- c -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="15" increment="1" />
				<bezel name="3.~y~.~x~" element="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></bezel>
			</repeat>
		</repeat>

	</view>
</mamelayout>