blob: 81021899dbfb556356560b9f9b2204581e0657da (
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
|
<?xml version="1.0"?>
<mamelayout version="2">
<!-- define elements -->
<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
<element name="digit" defstate="0">
<led7seg><color red="1.0" green="0.20" blue="0.22" /></led7seg>
</element>
<element name="led" defstate="0">
<disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
<disk state="1"><color red="1.0" green="0.20" blue="0.22" /></disk>
</element>
<!-- build screen -->
<view name="Test Layout">
<bounds left="0" right="12" top="0" bottom="28" />
<bezel element="static_black">
<bounds left="0" right="12" top="0" bottom="28" />
</bezel>
<bezel name="digit9" element="digit"><bounds x="0" y="0" width="4" height="6" /></bezel>
<bezel name="digit8" element="digit"><bounds x="4" y="0" width="4" height="6" /></bezel>
<bezel name="digit7" element="digit"><bounds x="8" y="0" width="4" height="6" /></bezel>
<!-- led matrix -->
<bezel name="lamp0" element="led"><bounds x="0" y="10" width="1" height="1" /></bezel>
<bezel name="lamp1" element="led"><bounds x="2" y="10" width="1" height="1" /></bezel>
<bezel name="lamp2" element="led"><bounds x="4" y="10" width="1" height="1" /></bezel>
<bezel name="lamp3" element="led"><bounds x="6" y="10" width="1" height="1" /></bezel>
<bezel name="lamp4" element="led"><bounds x="8" y="10" width="1" height="1" /></bezel>
<bezel name="lamp5" element="led"><bounds x="10" y="10" width="1" height="1" /></bezel>
<bezel name="lamp10" element="led"><bounds x="0" y="12" width="1" height="1" /></bezel>
<bezel name="lamp11" element="led"><bounds x="2" y="12" width="1" height="1" /></bezel>
<bezel name="lamp12" element="led"><bounds x="4" y="12" width="1" height="1" /></bezel>
<bezel name="lamp13" element="led"><bounds x="6" y="12" width="1" height="1" /></bezel>
<bezel name="lamp14" element="led"><bounds x="8" y="12" width="1" height="1" /></bezel>
<bezel name="lamp15" element="led"><bounds x="10" y="12" width="1" height="1" /></bezel>
<bezel name="lamp20" element="led"><bounds x="0" y="14" width="1" height="1" /></bezel>
<bezel name="lamp21" element="led"><bounds x="2" y="14" width="1" height="1" /></bezel>
<bezel name="lamp22" element="led"><bounds x="4" y="14" width="1" height="1" /></bezel>
<bezel name="lamp23" element="led"><bounds x="6" y="14" width="1" height="1" /></bezel>
<bezel name="lamp24" element="led"><bounds x="8" y="14" width="1" height="1" /></bezel>
<bezel name="lamp25" element="led"><bounds x="10" y="14" width="1" height="1" /></bezel>
<bezel name="lamp30" element="led"><bounds x="0" y="16" width="1" height="1" /></bezel>
<bezel name="lamp31" element="led"><bounds x="2" y="16" width="1" height="1" /></bezel>
<bezel name="lamp32" element="led"><bounds x="4" y="16" width="1" height="1" /></bezel>
<bezel name="lamp33" element="led"><bounds x="6" y="16" width="1" height="1" /></bezel>
<bezel name="lamp34" element="led"><bounds x="8" y="16" width="1" height="1" /></bezel>
<bezel name="lamp35" element="led"><bounds x="10" y="16" width="1" height="1" /></bezel>
<bezel name="lamp40" element="led"><bounds x="0" y="18" width="1" height="1" /></bezel>
<bezel name="lamp41" element="led"><bounds x="2" y="18" width="1" height="1" /></bezel>
<bezel name="lamp42" element="led"><bounds x="4" y="18" width="1" height="1" /></bezel>
<bezel name="lamp43" element="led"><bounds x="6" y="18" width="1" height="1" /></bezel>
<bezel name="lamp44" element="led"><bounds x="8" y="18" width="1" height="1" /></bezel>
<bezel name="lamp45" element="led"><bounds x="10" y="18" width="1" height="1" /></bezel>
<bezel name="lamp50" element="led"><bounds x="0" y="20" width="1" height="1" /></bezel>
<bezel name="lamp51" element="led"><bounds x="2" y="20" width="1" height="1" /></bezel>
<bezel name="lamp52" element="led"><bounds x="4" y="20" width="1" height="1" /></bezel>
<bezel name="lamp53" element="led"><bounds x="6" y="20" width="1" height="1" /></bezel>
<bezel name="lamp54" element="led"><bounds x="8" y="20" width="1" height="1" /></bezel>
<bezel name="lamp55" element="led"><bounds x="10" y="20" width="1" height="1" /></bezel>
<bezel name="lamp6" element="led"><bounds x="2" y="22" width="1" height="1" /></bezel>
<bezel name="lamp7" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel>
<bezel name="lamp60" element="led"><bounds x="0" y="24" width="1" height="1" /></bezel>
<bezel name="lamp61" element="led"><bounds x="2" y="24" width="1" height="1" /></bezel>
<bezel name="lamp62" element="led"><bounds x="4" y="24" width="1" height="1" /></bezel>
<bezel name="lamp63" element="led"><bounds x="6" y="24" width="1" height="1" /></bezel>
<bezel name="lamp64" element="led"><bounds x="8" y="24" width="1" height="1" /></bezel>
<bezel name="lamp65" element="led"><bounds x="10" y="24" width="1" height="1" /></bezel>
</view>
</mamelayout>
|