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

	<!-- define elements -->

	<element name="overlay">
		<rect>
			<bounds x="0" y="0" width="256" height="97" />
			<color red="1" green="0.2" blue="0.2" />
		</rect>
		<rect>
			<bounds x="0" y="96" width="129" height="37" />
			<color red="0.2" green="0.5" blue="1" />
		</rect>
		<rect>
			<bounds x="128" y="96" width="128" height="37" />
			<color red="0.2" green="1" blue="0.1" />
		</rect>
		<rect>
			<bounds x="0" y="132" width="256" height="92" />
			<color red="1" green="1" blue="0.2" />
		</rect>
	</element>

	<element name="start" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Start">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>

	<element name="card" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Card">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>

	<element name="stop" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Stop">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>

	<element name="bet" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Bet">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>

	<element name="accept" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Accept">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>

	<element name="double" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.0" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.3" green="0.0" blue="0.0" />
		</rect>
		<text string="Double">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0.1" y="0.25" width="0.8" height="0.5" />
		</text>
	</element>


	<!-- build screen -->

	<view name="Internal Layout">
		<screen index="0">
			<bounds left="0" top="0" right="4" bottom="3" />
		</screen>
		<overlay name="overlay" element="overlay">
			<bounds left="0" top="0" right="4" bottom="3" />
		</overlay>

		<bezel name="lamp5" element="bet" inputtag="IN44" inputmask="0x10">
			<bounds x="0.0" y="3.05" width="0.35" height="0.24" />
		</bezel>
		<bezel name="lamp0" element="start" inputtag="IN42" inputmask="0x04">
			<bounds x="0.4" y="3.05" width="0.35" height="0.24" />
		</bezel>
		<bezel name="lamp1" element="card" inputtag="IN42" inputmask="0x08">
			<bounds x="0.8" y="3.05" width="0.35" height="0.24" />
		</bezel>
		<bezel name="lamp2" element="stop" inputtag="IN42" inputmask="0x10">
			<bounds x="1.2" y="3.05" width="0.35" height="0.24" />
		</bezel>
		<bezel name="lamp3" element="accept" inputtag="IN44" inputmask="0x40">
			<bounds x="1.85" y="3.05" width="0.35" height="0.24" />
		</bezel>
		<bezel name="lamp4" element="double" inputtag="IN44" inputmask="0x20">
			<bounds x="2.25" y="3.05" width="0.35" height="0.24" />
		</bezel>

	</view>
</mamelayout>