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

<!-- NOTE: no chesspieces simulation here -->

<!-- define elements -->

	<element name="gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element>

	<element name="digit" defstate="0">
		<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
	</element>

	<element name="led" defstate="0">
		<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
		<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
	</element>

	<element name="hl" defstate="0">
		<text string=" ">
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color red="0.0" green="0.0" blue="0.0" />
		</text>
		<rect state="1">
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>

	<element name="text_check"><text string="CHECK"><color red="0.6" green="0.6" blue="0.6" /></text></element>
	<element name="text_lose"><text string="I LOSE"><color red="0.6" green="0.6" blue="0.6" /></text></element>
	<element name="text_from"><text string="FROM"><color red="0.6" green="0.6" blue="0.6" /></text></element>
	<element name="text_to"><text string="TO"><color red="0.6" green="0.6" blue="0.6" /></text></element>

	<element name="text_b1"><text string="RE"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b2"><text string="CB"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b3"><text string="CL"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b4"><text string="EN"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b5"><text string="LV"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b6"><text string="DM"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b7"><text string="PB"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b8"><text string="PV"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b9"><text string="A1"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b10"><text string="b2"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b11"><text string="C3"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b12"><text string="d4"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b13"><text string="E5"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b14"><text string="F6"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b15"><text string="g7"><color red="0.04" green="0.04" blue="0.04" /></text></element>
	<element name="text_b16"><text string="H8"><color red="0.04" green="0.04" blue="0.04" /></text></element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-0.5" right="18" top="7.7" bottom="36" />

		<!-- 7segs/leds -->
		<element ref="text_check"><bounds x="1" y="8.2" width="8" height="2" /></element>
		<element ref="text_lose"><bounds x="10.5" y="8.2" width="8" height="2" /></element>
		<element name="4.a" ref="led"><bounds x="0" y="8.5" width="1.5" height="1.5" /></element>
		<element name="5.a" ref="led"><bounds x="9.5" y="8.5" width="1.5" height="1.5" /></element>

		<element ref="text_from"><bounds x="0" y="17.2" width="8" height="2" /></element>
		<element ref="text_to"><bounds x="9.5" y="17.2" width="8" height="2" /></element>

		<element name="digit0" ref="digit"><bounds x="0" y="11" width="4" height="6" /></element>
		<element name="digit1" ref="digit"><bounds x="4" y="11" width="4" height="6" /></element>
		<element name="digit2" ref="digit"><bounds x="9.5" y="11" width="4" height="6" /></element>
		<element name="digit3" ref="digit"><bounds x="13.5" y="11" width="4" height="6" /></element>

		<!-- button panel -->
		<element ref="gray"><bounds x="0" y="20" width="4" height="3" /></element>
		<element ref="gray"><bounds x="4.5" y="20" width="4" height="3" /></element>
		<element ref="gray"><bounds x="9" y="20" width="4" height="3" /></element>
		<element ref="gray"><bounds x="13.5" y="20" width="4" height="3" /></element>
		<element ref="gray"><bounds x="0" y="24" width="4" height="3" /></element>
		<element ref="gray"><bounds x="4.5" y="24" width="4" height="3" /></element>
		<element ref="gray"><bounds x="9" y="24" width="4" height="3" /></element>
		<element ref="gray"><bounds x="13.5" y="24" width="4" height="3" /></element>
		<element ref="gray"><bounds x="0" y="28" width="4" height="3" /></element>
		<element ref="gray"><bounds x="4.5" y="28" width="4" height="3" /></element>
		<element ref="gray"><bounds x="9" y="28" width="4" height="3" /></element>
		<element ref="gray"><bounds x="13.5" y="28" width="4" height="3" /></element>
		<element ref="gray"><bounds x="0" y="32" width="4" height="3" /></element>
		<element ref="gray"><bounds x="4.5" y="32" width="4" height="3" /></element>
		<element ref="gray"><bounds x="9" y="32" width="4" height="3" /></element>
		<element ref="gray"><bounds x="13.5" y="32" width="4" height="3" /></element>

		<element ref="text_b1"><bounds x="0.1" y="20.5" width="3.8" height="2" /></element>
		<element ref="text_b2"><bounds x="4.6" y="20.5" width="3.8" height="2" /></element>
		<element ref="text_b3"><bounds x="9.1" y="20.5" width="3.8" height="2" /></element>
		<element ref="text_b4"><bounds x="13.6" y="20.5" width="3.8" height="2" /></element>
		<element ref="text_b5"><bounds x="0.1" y="24.5" width="3.8" height="2" /></element>
		<element ref="text_b6"><bounds x="4.6" y="24.5" width="3.8" height="2" /></element>
		<element ref="text_b7"><bounds x="9.1" y="24.5" width="3.8" height="2" /></element>
		<element ref="text_b8"><bounds x="13.6" y="24.5" width="3.8" height="2" /></element>
		<element ref="text_b9"><bounds x="0.1" y="28.5" width="3.8" height="2" /></element>
		<element ref="text_b10"><bounds x="4.6" y="28.5" width="3.8" height="2" /></element>
		<element ref="text_b11"><bounds x="9.1" y="28.5" width="3.8" height="2" /></element>
		<element ref="text_b12"><bounds x="13.6" y="28.5" width="3.8" height="2" /></element>
		<element ref="text_b13"><bounds x="0.1" y="32.5" width="3.8" height="2" /></element>
		<element ref="text_b14"><bounds x="4.6" y="32.5" width="3.8" height="2" /></element>
		<element ref="text_b15"><bounds x="9.1" y="32.5" width="3.8" height="2" /></element>
		<element ref="text_b16"><bounds x="13.6" y="32.5" width="3.8" height="2" /></element>

		<element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="0" y="20" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="4.5" y="20" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="9" y="20" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="13.5" y="20" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="0" y="24" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="4.5" y="24" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="9" y="24" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="13.5" y="24" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="0" y="28" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="4.5" y="28" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="9" y="28" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="13.5" y="28" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="0" y="32" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="4.5" y="32" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="9" y="32" width="4" height="3" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="13.5" y="32" width="4" height="3" /><color alpha="0.2" /></element>

	</view>
</mamelayout>