blob: cafeb8ad5ef1ffa17f185ceadf30f093d2b03cfd (
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
|
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<!-- not really black, and not really leds either, but let's just keep the same naming as the other hh test layouts -->
<element name="static_black"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element>
<element name="led" defstate="0">
<disk state="0"><color red="0.5412" green="0.57255" blue="0.5804" /></disk>
<disk state="1"><color red="0.361" green="0.326" blue="0.346" /></disk>
</element>
<!-- build screen -->
<view name="Test Layout">
<bounds left="0" right="10" top="0" bottom="12" />
<element ref="static_black">
<bounds left="0" right="10" top="0" bottom="12" />
</element>
<!-- max 12*4*2 matrix -->
<repeat count="12">
<param name="y" start="0" increment="1" />
<!-- h1 -->
<repeat count="4">
<param name="x" start="0" increment="1" />
<param name="p" start="0" increment="1" />
<element name="~y~.~x~.0" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
</repeat>
<!-- h2 -->
<repeat count="4">
<param name="x" start="0" increment="1" />
<param name="p" start="5" increment="1" />
<element name="~y~.~x~.1" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
</repeat>
</repeat>
</view>
</mamelayout>
|