summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/drdunk.lay
blob: af3856e36dff96e15165bb4b1ce448c0451cf029 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">

<!-- define elements -->

	<element name="static_black"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="disk_black"><disk><color red="0" green="0" blue="0" /></disk></element>
	<element name="static_white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="disk_white"><disk><color red="0.8" green="0.8" blue="0.8" /></disk></element>

	<element name="text_l1"><text string="HOME" align="1"><color red="0.85" green="0.85" blue="0.85" /></text></element>
	<element name="text_l2"><text string="VISITOR" align="2"><color red="0.85" green="0.85" blue="0.85" /></text></element>

	<element name="led" defstate="0">
		<rect>
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color alpha="0" />
		</rect>
		<disk state="0">
			<bounds x="0.25" y="0.25" width="0.5" height="0.5" />
			<color red="0.14" green="0.02" blue="0.03" />
		</disk>
		<disk state="1">
			<bounds x="0.25" y="0.25" width="0.5" height="0.5" />
			<color red="0.5" green="0.1" blue="0.11" />
		</disk>
		<disk state="2">
			<bounds x="0.25" y="0.25" width="0.5" height="0.5" />
			<color red="1.0" green="0.20" blue="0.23" />
		</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="3.26" right="21.74" top="-2.75" bottom="23.25" />

	<!-- bezel -->

		<element ref="static_white"><bounds x="3.25" y="5" width="18.5" height="22" /></element>
		<element ref="static_black"><bounds x="3.5" y="5.5" width="18" height="22" /></element>

		<element ref="static_white"><bounds x="10" y="5.25" width="5" height="7.25" /></element>
		<element ref="static_white"><bounds x="9" y="7.5" width="7" height="0.25" /></element>
		<element ref="static_white"><bounds x="9" y="8.75" width="7" height="0.25" /></element>
		<element ref="static_white"><bounds x="9" y="10" width="7" height="0.25" /></element>
		<element ref="static_black"><bounds x="10.25" y="5.5" width="4.5" height="7.25" /></element>

		<element ref="disk_white"><bounds x="10" y="10" width="5" height="5" /></element>
		<element ref="disk_black"><bounds x="10.25" y="10.25" width="4.5" height="4.5" /></element>
		<element ref="static_black"><bounds x="10.85" y="9.5" width="0.35" height="3" /></element>
		<element ref="static_black"><bounds x="12.25" y="9.5" width="0.5" height="3" /></element>
		<element ref="static_black"><bounds x="13.8" y="9.5" width="0.35" height="3" /></element>
		<element ref="static_white"><bounds x="10.1" y="12.25" width="4.8" height="0.25" /></element>

		<element ref="disk_white"><bounds x="10" y="19.25" width="5" height="5" /></element>
		<element ref="disk_black"><bounds x="10.25" y="19.5" width="4.5" height="4.5" /></element>
		<element ref="static_white"><bounds x="3.3" y="21.65" width="18.4" height="5" /></element>
		<element ref="static_black"><bounds x="0" y="21.9" width="25" height="6" /></element>
		<element ref="static_black"><bounds x="0" y="0" width="25" height="5.25" /></element>

		<element ref="static_white"><bounds x="9" y="1" width="7" height="0.25" /></element>
		<element ref="disk_white"><bounds x="10.75" y="2" width="3.5" height="2" /></element>
		<element ref="disk_black"><bounds x="11" y="2.25" width="3" height="1.5" /></element>

		<element ref="text_l1"><bounds x="4" y="22" width="10" height="1" /></element>
		<element ref="text_l2"><bounds x="11" y="22" width="10" height="1" /></element>

	<!-- leds -->

		<element name="digit5" ref="digit"><bounds x="11" y="-2" width="1.5" height="2.25" /></element>
		<element name="digit4" ref="digit"><bounds x="12.5" y="-2" width="1.5" height="2.25" /></element>

		<element name="0.5" ref="led"><bounds x="12" y="2.5" width="1" height="1" /></element>

		<element name="3.0" ref="led"><bounds x="4"  y="6" width="1" height="1" /></element>
		<element name="3.1" ref="led"><bounds x="8"  y="6" width="1" height="1" /></element>
		<element name="3.2" ref="led"><bounds x="12" y="6" width="1" height="1" /></element>
		<element name="3.3" ref="led"><bounds x="16" y="6" width="1" height="1" /></element>
		<element name="3.4" ref="led"><bounds x="20" y="6" width="1" height="1" /></element>

		<element name="2.0" ref="led"><bounds x="4"  y="10.75" width="1" height="1" /></element>
		<element name="2.1" ref="led"><bounds x="8"  y="10.75" width="1" height="1" /></element>
		<element name="2.2" ref="led"><bounds x="12" y="10.75" width="1" height="1" /></element>
		<element name="2.3" ref="led"><bounds x="16" y="10.75" width="1" height="1" /></element>
		<element name="2.4" ref="led"><bounds x="20" y="10.75" width="1" height="1" /></element>

		<element name="1.0" ref="led"><bounds x="4"  y="15.5" width="1" height="1" /></element>
		<element name="1.1" ref="led"><bounds x="8"  y="15.5" width="1" height="1" /></element>
		<element name="1.2" ref="led"><bounds x="12" y="15.5" width="1" height="1" /></element>
		<element name="1.3" ref="led"><bounds x="16" y="15.5" width="1" height="1" /></element>
		<element name="1.4" ref="led"><bounds x="20" y="15.5" width="1" height="1" /></element>

		<element name="0.0" ref="led"><bounds x="4"  y="20.25" width="1" height="1" /></element>
		<element name="0.1" ref="led"><bounds x="8"  y="20.25" width="1" height="1" /></element>
		<element name="0.2" ref="led"><bounds x="12" y="20.25" width="1" height="1" /></element>
		<element name="0.3" ref="led"><bounds x="16" y="20.25" width="1" height="1" /></element>
		<element name="0.4" ref="led"><bounds x="20" y="20.25" width="1" height="1" /></element>

	</view>
</mamelayout>