blob: c0520aa6a18668feafd5db4b2c350f18eb399a75 (
plain) (
tree)
|
|
<?xml version="1.0"?>
<!--
license:CC0-1.0
copyright-holders:Roberto Lavarone
-->
<mamelayout version="2">
<element name="gray">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.15" green="0.15" blue="0.15" />
</rect>
</element>
<element name="digit_back">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.584" green="0.631" blue="0.690" />
</rect>
</element>
<element name="digit" defstate="0">
<led7seg>
<color red="0.75" green="0.0" blue="0.0"/>
</led7seg>
</element>
<element name="back">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.0" green="0.0" blue="0.0" />
</rect>
</element>
<element name="pushbutton" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.75" green="0.75" blue="0.0" />
</rect>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.75" green="0.75" blue="0.0" />
</rect>
</element>
<element name="pushbuttonCTRL" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.25" green="0.25" blue="0.25" />
</rect>
<text string="CTRL" state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.25" green="0.25" blue="0.25" />
</rect>
<text string="CTRL" state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonRST" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.75" green="0" blue="0" />
</rect>
<text string="RST " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.75" green="0" blue="0" />
</rect>
<text string="RST " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton0" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 0 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 0 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton1" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 1 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 1 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton2" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 2 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 2 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton3" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 3 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 3 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton4" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 4 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 4 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton5" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 5 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 5 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton6" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 6 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 6 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton7" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 7 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 7 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton8" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 8 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 8 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbutton9" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 9 " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" 9 " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonA" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" A " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" A " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonB" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" B " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" B " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonC" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" C " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" C " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonD" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" D " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" D " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonE" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" E " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" E " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="pushbuttonF" defstate="1">
<rect>
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect state="0">
<bounds x="0" y="0" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" F " state="0">
<bounds x="8" y="24" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
<rect state="1">
<bounds x="2" y="2" width="48" height="48"/>
<color red="0.0" green="0.0" blue="0.75" />
</rect>
<text string=" F " state="1">
<bounds x="10" y="26" width="40" height="20"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<element name="flatbackground">
<rect>
<bounds left="-10" top="-10" right="587" bottom="813" />
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<rect>
<bounds left="5" top="5" right="577" bottom="803" />
<color red="0.1" green="0.2" blue="0.1" />
</rect>
<rect>
<bounds left="0" top="0" right="572" bottom="798" />
<color red="0.1" green="0.3" blue="0.1" />
</rect>
</element>
<element name="LX.384">
<text string="LX.384">
<bounds x="0" y="0" width="120" height="40"/>
<color red="1.0" green="1.0" blue="1.0" />
</text>
</element>
<view name="Default Layout">
<element ref="flatbackground">
<bounds x="704" y="50" width="420" height="400" />
</element>
<element ref="gray">
<bounds x="724" y="74" width="375" height="350" />
</element>
<element ref="LX.384">
<bounds x="726" y="80" width="90" height="30" />
</element>
<!-- LEDs -->
<repeat count="8">
<param name="n" start="7" increment="-1" />
<param name="bx" start="740" increment="44" />
<param name="dx" start="743" increment="44" />
<element ref="digit_back">
<bounds x="~bx~" y="119" width="36" height="52" />
</element>
<element name="digit~n~" ref="digit">
<bounds x="~dx~" y="126" width="30" height="40" />
</element>
</repeat>
<!-- Buttons -->
<!-- "Control" -->
<element ref="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10">
<bounds x="765" y="338" width="40" height="40"/>
</element>
<!-- "Reset" -->
<element ref="pushbuttonRST" inputtag="RST" inputmask="0x01">
<bounds x="765" y="210" width="40" height="40"/>
</element>
<!-- Row 0 : 0 1 2 3 4 5 6 7 --> <!-- xstep=45, ystep=43 -->
<!-- "0" -->
<element ref="pushbutton0" inputtag="ROW0" inputmask="0x01">
<bounds x="886" y="339" width="40" height="40"/>
</element>
<!-- "1" -->
<element ref="pushbutton1" inputtag="ROW0" inputmask="0x02">
<bounds x="886" y="296" width="40" height="40"/>
</element>
<!-- "2" -->
<element ref="pushbutton2" inputtag="ROW0" inputmask="0x04">
<bounds x="931" y="296" width="40" height="40"/>
</element>
<!-- "3" -->
<element ref="pushbutton3" inputtag="ROW0" inputmask="0x08">
<bounds x="976" y="296" width="40" height="40"/>
</element>
<!-- "4" -->
<element ref="pushbutton4" inputtag="ROW0" inputmask="0x10">
<bounds x="886" y="253" width="40" height="40"/>
</element>
<!-- "5" -->
<element ref="pushbutton5" inputtag="ROW0" inputmask="0x20">
<bounds x="931" y="253" width="40" height="40"/>
</element>
<!-- "6" -->
<element ref="pushbutton6" inputtag="ROW0" inputmask="0x40">
<bounds x="976" y="253" width="40" height="40"/>
</element>
<!-- "7" -->
<element ref="pushbutton7" inputtag="ROW0" inputmask="0x80">
<bounds x="886" y="210" width="40" height="40"/>
</element>
<!-- Buttons -->
<!-- Row 1 : 8 9 A B C D E F -->
<!-- "8" -->
<element ref="pushbutton8" inputtag="ROW1" inputmask="0x01">
<bounds x="931" y="210" width="40" height="40"/>
</element>
<!-- "9" -->
<element ref="pushbutton9" inputtag="ROW1" inputmask="0x02">
<bounds x="976" y="210" width="40" height="40"/>
</element>
<!-- "A" -->
<element ref="pushbuttonA" inputtag="ROW1" inputmask="0x04">
<bounds x="1021" y="210" width="40" height="40"/>
</element>
<!-- "B" -->
<element ref="pushbuttonB" inputtag="ROW1" inputmask="0x08">
<bounds x="1021" y="253" width="40" height="40"/>
</element>
<!-- "C" -->
<element ref="pushbuttonC" inputtag="ROW1" inputmask="0x10">
<bounds x="1021" y="296" width="40" height="40"/>
</element>
<!-- "D" -->
<element ref="pushbuttonD" inputtag="ROW1" inputmask="0x20">
<bounds x="1021" y="339" width="40" height="40"/>
</element>
<!-- "E" -->
<element ref="pushbuttonE" inputtag="ROW1" inputmask="0x40">
<bounds x="976" y="339" width="40" height="40"/>
</element>
<!-- "F" -->
<element ref="pushbuttonF" inputtag="ROW1" inputmask="0x80">
<bounds x="931" y="339" width="40" height="40"/>
</element>
</view>
</mamelayout>
|