summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/horseran.lay
blob: c0f7d1a60ffebbe3fe320f928417f9c6c88c056d (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0"?>
<mamelayout version="2">

<!-- lcd colours are inverted due to 7seg element limitation -->

<!-- define elements -->

	<element name="text_places" defstate="0">
		<text state="0" string="PLACES"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="PLACES"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_shows" defstate="0">
		<text state="0" string="SHOWS"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="SHOWS"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_earnings" defstate="0">
		<text state="0" string="EARNINGS"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="EARNINGS"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_oflast5" defstate="0">
		<text state="0" string="OF LAST 5 RACES"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="OF LAST 5 RACES"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_rating" defstate="0">
		<text state="0" string="RATING"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="RATING"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_finpos" defstate="0">
		<text state="0" string="FINISH POSITION"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="FINISH POSITION"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_finish" defstate="0">
		<text state="0" string="FINISH"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="FINISH"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_3call" defstate="0">
		<text state="0" string="3RD CALL"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="3RD CALL"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>

	<element name="text_curyear" defstate="0">
		<text state="0" string="CURRENT YEAR"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="CURRENT YEAR"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_pastyear" defstate="0">
		<text state="0" string="PAST YEAR"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="PAST YEAR"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_rsl" defstate="0">
		<text state="0" string="RACES SINCE LAYOFF"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="RACES SINCE LAYOFF"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_distance" defstate="0">
		<text state="0" string="DISTANCE"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="DISTANCE"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_postpos" defstate="0">
		<text state="0" string="POST POSITION"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="POST POSITION"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_3rb" defstate="0">
		<text state="0" string="3RD RACE BACK"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="3RD RACE BACK"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_2rb" defstate="0">
		<text state="0" string="2ND RACE BACK"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="2ND RACE BACK"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_lastrace" defstate="0">
		<text state="0" string="LAST RACE"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="LAST RACE"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_purse" defstate="0">
		<text state="0" string="PURSE"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="PURSE"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>

	<element name="text_lback" defstate="0">
		<text state="0" string="LENGTHS BACK"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="LENGTHS BACK"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_1call" defstate="0">
		<text state="0" string="1ST CALL"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="1ST CALL"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_2call" defstate="0">
		<text state="0" string="2ND CALL"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="2ND CALL"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_2bsr" defstate="0">
		<text state="0" string="2 BEST SPEED RATINGS"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="2 BEST SPEED RATINGS"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_daysaway" defstate="0">
		<text state="0" string="DAYS AWAY"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="DAYS AWAY"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_wins" defstate="0">
		<text state="0" string="WINS"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="WINS"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>
	<element name="text_races" defstate="0">
		<text state="0" string="RACES"><color red="0.1" green="0.1" blue="0.1" /></text>
		<text state="1" string="RACES"><color red="0.9" green="0.9" blue="0.9" /></text>
	</element>

	<element name="digit" defstate="0">
		<led7seg><color red="0.9" green="0.9" blue="0.9" /></led7seg>
	</element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="0.4" right="21" top="-0.2" bottom="12.2" />

		<bezel name="1.23" element="text_purse"><bounds x="4" y="0" width="5" height="1" /></bezel>
		<bezel name="1.0"  element="text_curyear"><bounds x="0" y="1" width="10" height="1" /></bezel>
		<bezel name="1.22" element="text_lastrace"><bounds x="0" y="2" width="10" height="1" /></bezel>
		<bezel name="1.1"  element="text_pastyear"><bounds x="0" y="3" width="10" height="1" /></bezel>
		<bezel name="1.21" element="text_2rb"><bounds x="0" y="4" width="10" height="1" /></bezel>
		<bezel name="1.2"  element="text_rsl"><bounds x="0" y="5" width="10" height="1" /></bezel>
		<bezel name="1.20" element="text_3rb"><bounds x="0" y="6" width="10" height="1" /></bezel>
		<bezel name="1.3"  element="text_distance"><bounds x="0" y="7" width="6" height="1" /></bezel>

		<bezel name="2.23" element="text_postpos"><bounds x="8" y="0" width="8" height="1" /></bezel>
		<bezel name="2.0"  element="text_lback"><bounds x="6" y="1" width="10" height="1" /></bezel>
		<bezel name="2.22" element="text_races"><bounds x="6" y="2" width="10" height="1" /></bezel>
		<bezel name="2.1"  element="text_1call"><bounds x="6" y="3" width="10" height="1" /></bezel>
		<bezel name="2.21" element="text_wins"><bounds x="6" y="4" width="10" height="1" /></bezel>
		<bezel name="2.2"  element="text_2call"><bounds x="6" y="5" width="10" height="1" /></bezel>
		<bezel name="2.20" element="text_daysaway"><bounds x="6" y="6" width="10" height="1" /></bezel>
		<bezel name="2.3"  element="text_2bsr"><bounds x="4.5" y="7" width="10" height="1" /></bezel>

		<bezel name="0.0"  element="text_places"><bounds x="12" y="1" width="10" height="1" /></bezel>
		<bezel name="0.22" element="text_3call"><bounds x="12" y="2" width="10" height="1" /></bezel>
		<bezel name="0.1"  element="text_shows"><bounds x="12" y="3" width="10" height="1" /></bezel>
		<bezel name="0.23" element="text_finish"><bounds x="12" y="4" width="10" height="1" /></bezel>
		<bezel name="0.2"  element="text_earnings"><bounds x="12" y="5" width="10" height="1" /></bezel>
		<bezel name="0.20" element="text_finpos"><bounds x="12" y="6" width="10" height="1" /></bezel>
		<bezel name="0.3"  element="text_oflast5"><bounds x="12.25" y="7" width="10" height="1" /></bezel>

		<bezel name="digit6" element="digit"><bounds x="4" y="8.2" width="2" height="3" /></bezel>
		<bezel name="digit8" element="digit"><bounds x="6" y="8.2" width="2" height="3" /></bezel>
		<bezel name="digit4" element="digit"><bounds x="8" y="8.2" width="2" height="3" /></bezel>
		<bezel name="digit5" element="digit"><bounds x="10" y="8.2" width="2" height="3" /></bezel>
		<bezel name="digit7" element="digit"><bounds x="12" y="8.2" width="2" height="3" /></bezel>
		<bezel name="digit3" element="digit"><bounds x="14" y="8.2" width="2" height="3" /></bezel>

		<bezel name="1.19" element="text_postpos"><bounds x="2.5" y="11.3" width="6" height="0.66" /></bezel>
		<bezel name="0.19" element="text_rating"><bounds x="10.5" y="11.3" width="6" height="0.66" /></bezel>

	</view>
</mamelayout>