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

<!-- note: the PLUS sign is supposed to be lop sided like that -->

<!-- define elements -->

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

	<element name="lamp_dot" defstate="0">
		<disk state="1"><color red="1.0" green="0.3" blue="0.2" /></disk>
		<disk state="0"><color red="0.125490" green="0.035294" blue="0.0235294" /></disk>
	</element>
	<element name="lamp_dash" defstate="0">
		<rect state="1"><color red="1.0" green="0.3" blue="0.2" /></rect>
		<rect state="0"><color red="0.125490" green="0.035294" blue="0.0235294" /></rect>
	</element>
	<element name="lamp_slash" defstate="0">
		<text string="/" state="1"><color red="1.0" green="0.3" blue="0.2" /></text>
		<text string="/" state="0"><color red="0.125490" green="0.035294" blue="0.0235294" /></text>
	</element>
	<element name="lamp_backslash" defstate="0">
		<text string="&#x5c;" state="1"><color red="1.0" green="0.3" blue="0.2" /></text>
		<text string="&#x5c;" state="0"><color red="0.125490" green="0.035294" blue="0.0235294" /></text>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="0" right="100" top="0" bottom="25" />

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

		<bezel name="digit2" element="digit">
			<bounds x="30" y="10" width="10" height="15" />
		</bezel>
		<bezel name="digit3" element="digit">
			<bounds x="40" y="10" width="10" height="15" />
		</bezel>

		<bezel name="digit4" element="digit">
			<bounds x="60" y="10" width="10" height="15" />
		</bezel>
		<bezel name="digit5" element="digit">
			<bounds x="70" y="10" width="10" height="15" />
		</bezel>
		<bezel name="digit6" element="digit">
			<bounds x="80" y="10" width="10" height="15" />
		</bezel>
		<bezel name="digit7" element="digit">
			<bounds x="90" y="10" width="10" height="15" />
		</bezel>

	<!-- math symbols custom digit -->

		<bezel name="8.6" element="lamp_dash"><bounds x="21.5" y="17.25" width="7" height="0.5" /></bezel>

		<bezel name="8.1" element="lamp_slash"><bounds x="24" y="9.5" width="5" height="7.5" /></bezel>
		<bezel name="8.1" element="lamp_slash"><bounds x="21" y="17" width="5" height="7.5" /></bezel>

		<bezel name="8.2" element="lamp_backslash"><bounds x="21" y="9.5" width="5" height="7.5" /></bezel>
		<bezel name="8.2" element="lamp_backslash"><bounds x="24" y="17" width="5" height="7.5" /></bezel>

		<bezel name="8.0" element="lamp_dot"><bounds x="24.25" y="12.25" width="1.5" height="1.5" /></bezel>
		<bezel name="8.0" element="lamp_dot"><bounds x="24.25" y="21.75" width="1.5" height="1.5" /></bezel>

	<!-- equals sign custom digit -->

		<bezel name="9.0" element="lamp_dash"><bounds x="51.5" y="14.5" width="7" height="0.5" /></bezel>
		<bezel name="9.3" element="lamp_dash"><bounds x="51.5" y="20.0" width="7" height="0.5" /></bezel>

	<!-- other lamps -->

		<bezel name="10.0" element="lamp_dot"><bounds x="1" y="1" width="4" height="4" /></bezel>
		<bezel name="10.1" element="lamp_dot"><bounds x="26" y="1" width="4" height="4" /></bezel>
		<bezel name="10.3" element="lamp_dot"><bounds x="51" y="1" width="4" height="4" /></bezel>
		<bezel name="10.6" element="lamp_dot"><bounds x="76" y="1" width="4" height="4" /></bezel>

	</view>
</mamelayout>