summaryrefslogtreecommitdiffstats
path: root/src/mame/layout/crei680.lay
blob: 6b4cefbfd5860065fc524a96c86f69c87369a92a (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
<?xml version="1.0"?>
<!--
license:CC0

2021-05-21
8 round LEDs for the CREI680 trainer.
-->

<mamelayout version="2">

	<element name="red_led" defstate="1">
		<disk state="0">
			<color red="0.75" green="0.0" blue="0.0" />
		</disk>
		<disk state="1">
			<color red="0.15" green="0.0" blue="0.0" />
		</disk>
	</element>

	<repeat count="8">
		<param name="n" start="7" increment="-1"/>
		<element name="label~n~">
			<text string="~n~">
				<color red="0.0" green="1.0" blue="1.0" />
			</text>
		</element>
	</repeat>

	<view name="Screen and LEDs">
		<bounds left="0" right="400" top="0" bottom="330" />
		<screen index="0">
			<bounds left="0" right="400" top="0" bottom="300" />
		</screen>

		<repeat count="8">
			<param name="n" start="7" increment="-1" />
			<param name="x" start="20" increment="44" />
			<element name="lab~n~" ref="label~n~">
				<bounds x="~x~" width="15" y="295" height="15" />
			</element>
			<element name="led~n~" ref="red_led">
				<bounds x="~x~" width="15" y="312" height="15" />
			</element>
		</repeat>
	</view>

</mamelayout>