blob: be9d45aabcc808c201c5777538cfcfbe941fcb88 (
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
|
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
<element name="led" defstate="0">
<disk state="0"><color red="0.0" green="0.0" blue="0.0" /></disk>
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
</element>
<!-- build screen -->
<view name="Test Layout">
<bounds left="0" right="10" top="0" bottom="16" />
<element ref="static_black">
<bounds left="0" right="10" top="0" bottom="16" />
</element>
<!-- max 16*10 matrix -->
<repeat count="16">
<param name="y" start="0" increment="1" />
<repeat count="10">
<param name="x" start="0" increment="1" />
<element name="~y~.~x~" ref="led"><bounds x="~x~" y="~y~" width="0.5" height="0.5" /></element>
</repeat>
</repeat>
</view>
</mamelayout>
|