blob: 8fbd71a9f378974922b6bba6b3f1eba18620183b (
plain) (
tree)
|
|
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
</element>
<element name="led" defstate="0">
<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
<disk state="1"><color red="0.5" green="0.05" blue="0.075" /></disk>
<disk state="2"><color red="1.0" green="0.1" blue="0.15" /></disk>
</element>
<!-- led matrix -->
<group name="display1">
<bounds x="0" y="0" width="12.75" height="18.75" />
<element name="4.0" ref="led"><bounds x="0" y="0" width="0.75" height="0.75" /></element>
<element name="5.0" ref="led"><bounds x="3" y="0" width="0.75" height="0.75" /></element>
<element name="6.0" ref="led"><bounds x="6" y="0" width="0.75" height="0.75" /></element>
<element name="7.0" ref="led"><bounds x="9" y="0" width="0.75" height="0.75" /></element>
<element name="8.0" ref="led"><bounds x="12" y="0" width="0.75" height="0.75" /></element>
<element name="4.1" ref="led"><bounds x="0" y="3" width="0.75" height="0.75" /></element>
<element name="5.1" ref="led"><bounds x="3" y="3" width="0.75" height="0.75" /></element>
<element name="6.1" ref="led"><bounds x="6" y="3" width="0.75" height="0.75" /></element>
<element name="7.1" ref="led"><bounds x="9" y="3" width="0.75" height="0.75" /></element>
<element name="8.1" ref="led"><bounds x="12" y="3" width="0.75" height="0.75" /></element>
<element name="4.2" ref="led"><bounds x="0" y="6" width="0.75" height="0.75" /></element>
<element name="5.2" ref="led"><bounds x="3" y="6" width="0.75" height="0.75" /></element>
<element name="6.2" ref="led"><bounds x="6" y="6" width="0.75" height="0.75" /></element>
<element name="7.2" ref="led"><bounds x="9" y="6" width="0.75" height="0.75" /></element>
<element name="8.2" ref="led"><bounds x="12" y="6" width="0.75" height="0.75" /></element>
<element name="4.3" ref="led"><bounds x="0" y="9" width="0.75" height="0.75" /></element>
<element name="5.3" ref="led"><bounds x="3" y="9" width="0.75" height="0.75" /></element>
<element name="6.3" ref="led"><bounds x="6" y="9" width="0.75" height="0.75" /></element>
<element name="7.3" ref="led"><bounds x="9" y="9" width="0.75" height="0.75" /></element>
<element name="8.3" ref="led"><bounds x="12" y="9" width="0.75" height="0.75" /></element>
<element name="4.4" ref="led"><bounds x="0" y="12" width="0.75" height="0.75" /></element>
<element name="5.4" ref="led"><bounds x="3" y="12" width="0.75" height="0.75" /></element>
<element name="6.4" ref="led"><bounds x="6" y="12" width="0.75" height="0.75" /></element>
<element name="7.4" ref="led"><bounds x="9" y="12" width="0.75" height="0.75" /></element>
<element name="8.4" ref="led"><bounds x="12" y="12" width="0.75" height="0.75" /></element>
<element name="4.5" ref="led"><bounds x="0" y="15" width="0.75" height="0.75" /></element>
<element name="5.5" ref="led"><bounds x="3" y="15" width="0.75" height="0.75" /></element>
<element name="6.5" ref="led"><bounds x="6" y="15" width="0.75" height="0.75" /></element>
<element name="7.5" ref="led"><bounds x="9" y="15" width="0.75" height="0.75" /></element>
<element name="8.5" ref="led"><bounds x="12" y="15" width="0.75" height="0.75" /></element>
<element name="4.6" ref="led"><bounds x="0" y="18" width="0.75" height="0.75" /></element>
<element name="5.6" ref="led"><bounds x="3" y="18" width="0.75" height="0.75" /></element>
<element name="6.6" ref="led"><bounds x="6" y="18" width="0.75" height="0.75" /></element>
<element name="7.6" ref="led"><bounds x="9" y="18" width="0.75" height="0.75" /></element>
<element name="8.6" ref="led"><bounds x="12" y="18" width="0.75" height="0.75" /></element>
<element name="7.7" ref="led"><bounds x="6" y="13.5" width="0.75" height="0.75" /></element>
<element name="6.7" ref="led"><bounds x="6" y="16.5" width="0.75" height="0.75" /></element>
<element name="5.7" ref="led"><bounds x="4.5" y="17.25" width="0.75" height="0.75" /></element>
<element name="4.7" ref="led"><bounds x="7.5" y="17.25" width="0.75" height="0.75" /></element>
</group>
<!-- 7seg leds -->
<group name="display2">
<bounds x="0" y="0" width="12" height="3" />
<element name="digit3" ref="digit"><bounds x="0" y="0" width="2" height="3" /></element>
<element name="digit2" ref="digit"><bounds x="2" y="0" width="2" height="3" /></element>
<element name="digit1" ref="digit"><bounds x="8" y="0" width="2" height="3" /></element>
<element name="digit0" ref="digit"><bounds x="10" y="0" width="2" height="3" /></element>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-1.5" right="20.75" top="0" bottom="21.75" />
<group ref="display1"><bounds x="0" y="1.5" width="12.75" height="18.75" /></group>
<group ref="display2"><bounds x="17" y="6.375" width="2.25" height="9" /><orientation rotate="90" /></group>
</view>
</mamelayout>
|