summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/miniboy7.lay
blob: 6314d303e74a291776a47b85bfc86664a3ce5b9f (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-1.0
copyright-holders:Roberto Fresca

Mini-Boy 7 control panel
-->
<mamelayout version="2">

	<!-- define button-lamps -->

	<element name="button" defstate="0">
		<rect state="1">
			<color red="1.0" green="0.5" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.15" green="0.075" blue="0.0" />
		</rect>
		<text string="">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.1" width="1" height="0.4" />
		</text>
		<text string="">
			<color red="0.0" green="0.0" blue="0.0" />
			<bounds x="0" y="0.5" width="1" height="0.4" />
		</text>
	</element>


	<!-- define basic elements -->

	<element name="cpanel">
		<rect>
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>

	<element name="buttonedge" defstate="0">
		<rect state="1">
			<color red="0.7" green="0.35" blue="0.0" />
		</rect>
		<rect state="0">
			<color red="0.1" green="0.05" blue="0.0" />
		</rect>
	</element>


	<!-- define cpanel degradee elements -->

	<element name="cpanel1">
		<rect>
			<color red="0.20" green="0.20" blue="0.20" />
		</rect>
	</element>

	<element name="cpanel2">
		<rect>
			<color red="0.15" green="0.15" blue="0.15" />
		</rect>
	</element>

	<element name="cpanel3">
		<rect>
			<color red="0.10" green="0.10" blue="0.10" />
		</rect>
	</element>

	<element name="cpanel4">
		<rect>
			<color red="0.05" green="0.05" blue="0.05" />
		</rect>
	</element>


	<!-- define background -->

	<view name="Button Lamps">
		<screen index="0">
			<bounds left="0" top="0" right="4" bottom="3" />
		</screen>

		<element ref="cpanel">
			<bounds left="0" right="4" top="3" bottom="3.40" />
		</element>

		<element ref="cpanel1">
			<bounds left="0" right="4" top="3.01" bottom="3.39" />
		</element>

		<element ref="cpanel2">
			<bounds left="0" right="4" top="3.02" bottom="3.38" />
		</element>

		<element ref="cpanel3">
			<bounds left="0" right="4" top="3.03" bottom="3.37" />
		</element>

		<element ref="cpanel4">
			<bounds left="0" right="4" top="3.04" bottom="3.36" />
		</element>

		<element ref="cpanel">
			<bounds left="0" right="4" top="3.05" bottom="3.35" />
		</element>


	<!-- define lamps -->

		<element name="lamp0" ref="buttonedge">
			<bounds x="3.18" y="3.08" width="0.50" height="0.24" />
		</element>
		<element name="lamp0" ref="button">
			<bounds x="3.20" y="3.10" width="0.46" height="0.20" />
		</element>

		<element name="lamp1" ref="buttonedge">
			<bounds x="2.43" y="3.08" width="0.50" height="0.24" />
		</element>
		<element name="lamp1" ref="button">
			<bounds x="2.45" y="3.10" width="0.46" height="0.20" />
		</element>

		<element name="lamp2" ref="buttonedge">
			<bounds x="1.68" y="3.08" width="0.50" height="0.24" />
		</element>
		<element name="lamp2" ref="button">
			<bounds x="1.70" y="3.10" width="0.46" height="0.20" />
		</element>

		<element name="lamp3" ref="buttonedge">
			<bounds x="0.93" y="3.08" width="0.50" height="0.24" />
		</element>
		<element name="lamp3" ref="button">
			<bounds x="0.95" y="3.10" width="0.46" height="0.20" />
		</element>

		<element name="lamp4" ref="buttonedge">
			<bounds x="0.18" y="3.08" width="0.50" height="0.24" />
		</element>
		<element name="lamp4" ref="button">
			<bounds x="0.20" y="3.10" width="0.46" height="0.20" />
		</element>

	</view>
</mamelayout>