blob: 0b5e6b86e78796de2c2a8d90e112943a92f4c0a5 (
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
|
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="text_start">
<text string="START"><color red="0.4" green="0.4" blue="0.42" /></text>
</element>
<element name="led" defstate="0">
<disk state="0"><color red="0.2" green="0.05" blue="0.06" /></disk>
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
</element>
<element name="butr" defstate="0">
<rect state="0"><color red="0.12" green="0.12" blue="0.12" /></rect>
<rect state="1"><color red="0.25" green="0.25" blue="0.25" /></rect>
</element>
<element name="butd" defstate="0">
<disk state="0"><color red="0.12" green="0.12" blue="0.12" /></disk>
<disk state="1"><color red="0.25" green="0.25" blue="0.25" /></disk>
</element>
<element name="switch" defstate="1">
<rect><color red="0.12" green="0.12" blue="0.12" /></rect>
<text state="1" string="1" align="1"><color red="0.4" green="0.4" blue="0.42" /></text>
<text state="0" string="2" align="2"><color red="0.4" green="0.4" blue="0.42" /></text>
</element>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="2.5" right="10.6" top="0.8" bottom="12.9" />
<element name="0.1" ref="led"><bounds x="3" y="3" width="1" height="1" /></element>
<element name="1.1" ref="led"><bounds x="6" y="3" width="1" height="1" /></element>
<element name="2.1" ref="led"><bounds x="9" y="3" width="1" height="1" /></element>
<element name="3.0" ref="led"><bounds x="6" y="5" width="1" height="1" /></element>
<element name="0.0" ref="led"><bounds x="3" y="7" width="1" height="1" /></element>
<element name="1.0" ref="led"><bounds x="6" y="7" width="1" height="1" /></element>
<element name="2.0" ref="led"><bounds x="9" y="7" width="1" height="1" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x01"><bounds x="2.9" y="1.3" width="1.2" height="1.2" /></element>
<element ref="butr" inputtag="IN.1" inputmask="0x01"><bounds x="5.9" y="1.3" width="1.2" height="1.2" /></element>
<element ref="butr" inputtag="IN.2" inputmask="0x01"><bounds x="8.9" y="1.3" width="1.2" height="1.2" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x02"><bounds x="2.9" y="8.5" width="1.2" height="1.2" /></element>
<element ref="butr" inputtag="IN.1" inputmask="0x02"><bounds x="5.9" y="8.5" width="1.2" height="1.2" /></element>
<element ref="butr" inputtag="IN.2" inputmask="0x02"><bounds x="8.9" y="8.5" width="1.2" height="1.2" /></element>
<element ref="butd" inputtag="IN.3" inputmask="0x08"><bounds x="5.85" y="10.85" width="1.3" height="1.3" /></element>
<element ref="text_start"><bounds x="5.75" y="12.2" width="1.5" height="0.6" /></element>
<element ref="switch" inputtag="IN.4" inputmask="0x04" inputraw="yes"><bounds x="8.9" y="11.55" width="1.2" height="0.6" /></element>
</view>
</mamelayout>
|