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

<!-- define elements -->

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

	<element name="led" defstate="0">
		<disk state="0"><color red="0.0" green="0.0" blue="0.0" /></disk>
		<disk state="1"><color red="0.3" green="1.0" blue="0.3" /></disk>
	</element>


<!-- build screen -->

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

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

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

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

	</view>
</mamelayout>