summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/maniac.lay
blob: a6b663ac9a7208aeecef5afeb1ae47c4e309df4a (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
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">

<!-- define elements -->

	<element name="but">
		<rect><bounds x="0" y="0" width="1" height="1"/><color red="0.85" green="0.85" blue="0.85" /></rect>
		<text string="M"><bounds x="0.15" y="0.12" width="0.7" height="0.7"/><color red="0.85" green="0.25" blue="0.2" /></text>
	</element>

	<element name="hl" defstate="0">
		<disk>
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color alpha="0" />
		</disk>
		<disk state="1">
			<bounds x="0.07" y="0.07" width="0.86" height="0.86" />
			<color red="0.0" green="0.0" blue="0.0" />
		</disk>
	</element>

	<element name="digit" defstate="0">
		<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="7" right="53" top="7" bottom="48" />

		<element name="digit0" ref="digit"><bounds x="20" y="20" width="10" height="15" /></element>
		<element name="digit1" ref="digit"><bounds x="30" y="20" width="10" height="15" /></element>

		<element ref="but"><bounds x="8" y="8" width="10" height="10" /><orientation rotate="90" /></element>
		<element ref="but"><bounds x="42" y="8" width="10" height="10" /><orientation rotate="180" /></element>
		<element ref="but"><bounds x="8" y="37" width="10" height="10" /><orientation rotate="0" /></element>
		<element ref="but"><bounds x="42" y="37" width="10" height="10" /><orientation rotate="270" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="42" y="8" width="10" height="10" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="42" y="37" width="10" height="10" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="8" y="37" width="10" height="10" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="8" y="8" width="10" height="10" /><color alpha="0.15" /></element>

	</view>
</mamelayout>