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

<!-- define elements -->

	<element name="shifter" defstate="0">
		<rect>
			<bounds left="0" right="32" top="0" bottom="64" />
			<color red="0.85" green="0.4" blue="0.3" />
		</rect>
		<rect>
			<bounds left="2" right="30" top="2" bottom="62" />
			<color red="0.14" green="0.17" blue="0.2" />
		</rect>
		<rect>
			<bounds left="14" right="18" top="15" bottom="49" />
			<color red="0.44" green="0.47" blue="0.5" />
		</rect>
		<disk>
			<bounds left="14" right="18" top="13" bottom="17" />
			<color red="0.44" green="0.47" blue="0.5" />
		</disk>
		<disk>
			<bounds left="14" right="18" top="47" bottom="51" />
			<color red="0.44" green="0.47" blue="0.5" />
		</disk>
		<text string="LOW" state="0">
			<bounds left="3" right="29" top="2" bottom="12" />
			<color red="1.0" green="1.0" blue="0.4" />
		</text>
		<text string="LOW" state="1">
			<bounds left="3" right="29" top="2" bottom="12" />
			<color red="1.0" green="1.0" blue="1.0" />
		</text>

		<text string="HIGH" state="0">
			<bounds left="3" right="29" top="52" bottom="62" />
			<color red="1.0" green="1.0" blue="1.0" />
		</text>
		<text string="HIGH" state="1">
			<bounds left="3" right="29" top="52" bottom="62" />
			<color red="1.0" green="1.0" blue="0.4" />
		</text>
		<disk state="0">
			<bounds left="9" right="23" top="14" bottom="28" />
			<color red="0.85" green="0.4" blue="0.3" />
		</disk>
		<disk state="1">
			<bounds left="9" right="23" top="36" bottom="50" />
			<color red="0.85" green="0.4" blue="0.3" />
		</disk>
	</element>


<!-- build screen -->

	<view name="Shifter">
		<screen index="0">
			<bounds x="0" y="0" width="480" height="640" />
		</screen>

		<!-- shifter options -->
		<collection name="Shifter-R Overlay" visible="yes">
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="446" y="574" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter" visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="446" y="574" width="32" height="64" />
				</element>
			</collection>
		</collection>

		<collection name="Shifter-R Off-screen H" visible="no">
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="488" y="574" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter " visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="488" y="574" width="32" height="64" />
				</element>
			</collection>
		</collection>

		<collection name="Shifter-R Off-screen V" visible="no"><!-- TATE -->
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="446" y="648" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter  " visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="446" y="648" width="32" height="64" />
				</element>
			</collection>
		</collection>

		<collection name="Shifter-L Overlay" visible="no">
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="2" y="574" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter   " visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="2" y="574" width="32" height="64" />
				</element>
			</collection>
		</collection>

		<collection name="Shifter-L Off-screen H" visible="no">
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="-40" y="574" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter    " visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="-40" y="574" width="32" height="64" />
				</element>
			</collection>
		</collection>

		<collection name="Shifter-L Off-screen V" visible="no"><!-- TATE -->
			<element ref="shifter" inputtag="TILT" inputmask="0x04">
				<bounds x="2" y="648" width="32" height="64" />
				<color alpha="0.6" />
			</element>
			<collection name="Opaque Shifter     " visible="no">
				<element ref="shifter" inputtag="TILT" inputmask="0x04">
					<bounds x="2" y="648" width="32" height="64" />
				</element>
			</collection>
		</collection>
	</view>

</mamelayout>