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

<!-- define elements -->

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

	<element name="triangle_mark" defstate="0">
		<text state="0" string="&#x25bc;"><color red="0.0235" green="0.1255" blue="0.1059" /></text>
		<text state="1" string="&#x25bc;"><color red="0.2" green="1.0" blue="0.85" /></text>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="0" right="109" top="0" bottom="19" />

		<!-- 10 digits (snread doesn't use the last digit) -->
		<element name="digit0" ref="digit"><bounds x="0" y="4" width="10" height="15" /></element>
		<element name="digit1" ref="digit"><bounds x="11" y="4" width="10" height="15" /></element>
		<element name="digit2" ref="digit"><bounds x="22" y="4" width="10" height="15" /></element>
		<element name="digit3" ref="digit"><bounds x="33" y="4" width="10" height="15" /></element>
		<element name="digit4" ref="digit"><bounds x="44" y="4" width="10" height="15" /></element>
		<element name="digit5" ref="digit"><bounds x="55" y="4" width="10" height="15" /></element>
		<element name="digit6" ref="digit"><bounds x="66" y="4" width="10" height="15" /></element>
		<element name="digit7" ref="digit"><bounds x="77" y="4" width="10" height="15" /></element>
		<element name="digit8" ref="digit"><bounds x="88" y="4" width="10" height="15" /></element>
		<element name="digit13" ref="digit"><bounds x="99" y="4" width="10" height="15" /></element>

		<element name="0.14" ref="triangle_mark"><bounds x="4" y="0" width="4" height="3" /></element>
		<element name="1.14" ref="triangle_mark"><bounds x="15" y="0" width="4" height="3" /></element>
		<element name="2.14" ref="triangle_mark"><bounds x="26" y="0" width="4" height="3" /></element>
		<element name="3.14" ref="triangle_mark"><bounds x="37" y="0" width="4" height="3" /></element>
		<element name="4.14" ref="triangle_mark"><bounds x="48" y="0" width="4" height="3" /></element>
		<element name="5.14" ref="triangle_mark"><bounds x="59" y="0" width="4" height="3" /></element>
		<element name="6.14" ref="triangle_mark"><bounds x="70" y="0" width="4" height="3" /></element>
		<element name="7.14" ref="triangle_mark"><bounds x="81" y="0" width="4" height="3" /></element>
		<element name="8.14" ref="triangle_mark"><bounds x="92" y="0" width="4" height="3" /></element>
		<element name="13.14" ref="triangle_mark"><bounds x="103" y="0" width="4" height="3" /></element>

	</view>
</mamelayout>