summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/maniac.lay
blob: 1cce2b94a554866b187a5d1f07b46a49fe5019a7 (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">

<!-- 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">
		<text string=" ">
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color red="0.0" green="0.0" blue="0.0" />
		</text>
		<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.2" blue="0.23" /></led7seg>
	</element>


<!-- build screen -->

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

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

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

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

	</view>
</mamelayout>