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

<!-- define elements -->

	<element name="white"><rect><color red="1" green="1" blue="1" /></rect></element>
	<element name="black"><rect><color red="0.17" green="0.16" blue="0.16" /></rect></element>
	<element name="black2"><rect><color red="0.32" green="0.3" blue="0.3" /></rect></element>

	<element name="butr" defstate="0">
		<rect state="1"><color red="0.6" green="0.21" blue="0.18" /></rect>
		<rect state="0"><color red="0.8" green="0.25" blue="0.2" /></rect>
	</element>
	<element name="butb" defstate="0">
		<rect state="1"><color red="0.25" green="0.24" blue="0.24" /></rect>
		<rect state="0"><color red="0.17" green="0.16" blue="0.16" /></rect>
	</element>

	<element name="hlc" defstate="0">
		<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
		<disk state="1">
			<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
			<color red="1" green="1" blue="1" />
		</disk>
	</element>

	<element name="text_l1"><text string="2nd F"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_l2"><text string="NEW GAME"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_l3"><text string="ENTER"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_l4"><text string="HOME"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l5"><text string="CB"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l6"><text string="LEVEL"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l7"><text string="MOVE"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l8"><text string="LOOK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l9"><text string="WHITE"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l10"><text string="BLACK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l11"><text string="TURN"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l12"><text string="BACK"><color red="0.75" green="0.25" blue="0.2" /></text></element>
	<element name="text_l13"><text string="MM"><color red="0.75" green="0.25" blue="0.2" /></text></element>

<!-- display -->

	<element name="lcd_bg1"><rect><color red="0.4" green="1.0" blue="0.75" /></rect></element>
	<element name="lcd_bg2"><rect><color red="0.58" green="0.61" blue="0.62" /></rect></element>

	<element name="lcd_cb">
		<rect><bounds x="0"  y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="10" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="20" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="30" y="0" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="5"  y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="15" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="25" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="35" y="5" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>

		<rect><bounds x="0"  y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="10" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="20" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="30" y="10" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="5"  y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="15" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="25" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="35" y="15" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>

		<rect><bounds x="0"  y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="10" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="20" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="30" y="20" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="5"  y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="15" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="25" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="35" y="25" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>

		<rect><bounds x="0"  y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="10" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="20" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="30" y="30" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="5"  y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="15" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="25" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
		<rect><bounds x="35" y="35" width="5" height="5" /><color red="1" green="1" blue="1" /></rect>
	</element>

	<group name="display">
		<bounds x="9.86" y="9.3" width="100.34" height="108" />
		<element ref="white"><bounds x="9.86" y="9.3" width="100.34" height="20" /></element>
		<element ref="lcd_bg1"><bounds x="9.86" y="15.8" width="100.34" height="100.9" /></element>
		<element ref="lcd_cb"><bounds x="11.06" y="17" width="97.94" height="98.5" /></element>

		<screen index="0" blend="multiply"><bounds x="10" y="10" width="100" height="105.88235" /></screen>
		<element ref="lcd_bg2" blend="multiply"><bounds x="9.86" y="9.3" width="100.34" height="108" /></element>
	</group>


<!-- build screen -->

	<view name="Internal Layout (Full)">
		<bounds left="0" right="70" top="-5.34383" bottom="140" />
		<group ref="display"><bounds x="0" y="-5.34383" width="70" height="75.34383" /></group>

		<!-- button panel -->
		<element ref="text_l1"><bounds x="10" y="76.5" width="10" height="3" /></element>
		<element ref="text_l2"><bounds x="28" y="76.5" width="14" height="3" /></element>
		<element ref="text_l3"><bounds x="50" y="76.5" width="10" height="3" /></element>

		<element ref="text_l4"><bounds x="10" y="73.5" width="10" height="3" /></element>
		<element ref="text_l5"><bounds x="30" y="73.5" width="10" height="3" /></element>
		<element ref="text_l6"><bounds x="10" y="96.5" width="10" height="3" /></element>
		<element ref="text_l7"><bounds x="30" y="96.5" width="10" height="3" /></element>
		<element ref="text_l8"><bounds x="50" y="96.5" width="10" height="3" /></element>
		<element ref="text_l9"><bounds x="10" y="113.5" width="10" height="3" /></element>
		<element ref="text_l10"><bounds x="50" y="113.5" width="10" height="3" /></element>
		<element ref="text_l11"><bounds x="10" y="130.5" width="10" height="3" /></element>
		<element ref="text_l12"><bounds x="30" y="130.5" width="10" height="3" /></element>
		<element ref="text_l13"><bounds x="50" y="130.5" width="10" height="3" /></element>

		<element ref="butr" inputtag="IN.1" inputmask="0x80"><bounds x="10" y="80" width="10" height="10" /></element>
		<element ref="butb" inputtag="IN.1" inputmask="0x40"><bounds x="30" y="80" width="10" height="10" /></element>
		<element ref="butb" inputtag="IN.0" inputmask="0x08"><bounds x="50" y="80" width="10" height="10" /></element>

		<element ref="black"><bounds x="20" y="100" width="30" height="30" /></element>
		<element ref="black2"><bounds x="22" y="114.5" width="26" height="1" /></element>
		<element ref="black2"><bounds x="34.5" y="102" width="1" height="26" /></element>
		<element ref="black"><bounds x="28" y="108" width="14" height="14" /></element>

		<element ref="hlc" inputtag="IN.2" inputmask="0x10"><bounds x="20" y="100" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="100" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x20"><bounds x="40" y="100" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x01"><bounds x="20" y="110" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x04"><bounds x="40" y="110" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x40"><bounds x="20" y="120" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x08"><bounds x="30" y="120" width="10" height="10" /><color alpha="0.1" /></element>
		<element ref="hlc" inputtag="IN.2" inputmask="0x80"><bounds x="40" y="120" width="10" height="10" /><color alpha="0.1" /></element>
	</view>

	<view name="Internal Layout (Screen)">
		<bounds x="0" y="0" width="100.34" height="107.4" />
		<group ref="display"><bounds x="0" y="0" width="100.34" height="108" /></group>
	</view>

</mamelayout>