diff options
author | 2021-05-23 01:05:07 +0200 | |
---|---|---|
committer | 2021-05-23 01:05:07 +0200 | |
commit | c510c760ee2ae2de1f72d5556cdf373b45399801 (patch) | |
tree | 3ecb4ea2017416f3adc4d06949caab1390844afb /src | |
parent | fdb6d136e1fd6f11b6b7ebcbed4676756598aab9 (diff) |
leonardo: add buttons to internal artwork
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/layout/saitek_galileo.lay | 46 | ||||
-rw-r--r-- | src/mame/layout/saitek_leonardo.lay | 358 |
2 files changed, 324 insertions, 80 deletions
diff --git a/src/mame/layout/saitek_galileo.lay b/src/mame/layout/saitek_galileo.lay index 699b11d5a69..584990420a2 100644 --- a/src/mame/layout/saitek_galileo.lay +++ b/src/mame/layout/saitek_galileo.lay @@ -618,29 +618,29 @@ license:CC0 <element ref="but" inputtag="IN.4" inputmask="0x02"><bounds x="50" y="11" width="4" height="1" /></element> <!-- larger clickable area --> - <element ref="not" inputtag="IN.0" inputmask="0x01"><bounds x="3" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.1" inputmask="0x02"><bounds x="12" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.3" inputmask="0x02"><bounds x="35" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.5" inputmask="0x02"><bounds x="40" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.6" inputmask="0x02"><bounds x="45" y="2.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.7" inputmask="0x02"><bounds x="50" y="2.6" width="4" height="1" /></element> - - <element ref="not" inputtag="IN.1" inputmask="0x01"><bounds x="3" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="IN.0" inputmask="0x04"><bounds x="12" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="IN.2" inputmask="0x04"><bounds x="30" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="IN.3" inputmask="0x04"><bounds x="35" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="IN.5" inputmask="0x04"><bounds x="40" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="IN.6" inputmask="0x04"><bounds x="45" y="6.1" width="4" height="1" /></element> - <element ref="not" inputtag="RESET" inputmask="0x01"><bounds x="50" y="6.1" width="4" height="1" /></element> - - <element ref="not" inputtag="IN.0" inputmask="0x02"><bounds x="3" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.1" inputmask="0x04"><bounds x="12" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.6" inputmask="0x01"><bounds x="30" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.5" inputmask="0x01"><bounds x="35" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.4" inputmask="0x04"><bounds x="40" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.7" inputmask="0x04"><bounds x="45" y="9.6" width="4" height="1" /></element> - <element ref="not" inputtag="IN.4" inputmask="0x02"><bounds x="50" y="9.6" width="4" height="1" /></element> + <element ref="not" inputtag="IN.0" inputmask="0x01"><bounds x="3" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.1" inputmask="0x02"><bounds x="12" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.3" inputmask="0x02"><bounds x="35" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x02"><bounds x="40" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x02"><bounds x="45" y="2.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.7" inputmask="0x02"><bounds x="50" y="2.6" width="4" height="2" /></element> + + <element ref="not" inputtag="IN.1" inputmask="0x01"><bounds x="3" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="IN.0" inputmask="0x04"><bounds x="12" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="IN.2" inputmask="0x04"><bounds x="30" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="IN.3" inputmask="0x04"><bounds x="35" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x04"><bounds x="40" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x04"><bounds x="45" y="6.1" width="4" height="2" /></element> + <element ref="not" inputtag="RESET" inputmask="0x01"><bounds x="50" y="6.1" width="4" height="2" /></element> + + <element ref="not" inputtag="IN.0" inputmask="0x02"><bounds x="3" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.1" inputmask="0x04"><bounds x="12" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x01"><bounds x="30" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x01"><bounds x="35" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.4" inputmask="0x04"><bounds x="40" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.7" inputmask="0x04"><bounds x="45" y="9.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.4" inputmask="0x02"><bounds x="50" y="9.6" width="4" height="2" /></element> </group> diff --git a/src/mame/layout/saitek_leonardo.lay b/src/mame/layout/saitek_leonardo.lay index a616d0092ee..223e3c09792 100644 --- a/src/mame/layout/saitek_leonardo.lay +++ b/src/mame/layout/saitek_leonardo.lay @@ -7,25 +7,9 @@ license:CC0 <!-- define elements --> <element name="black"><rect><color red="0.12" green="0.11" blue="0.1" /></rect></element> + <element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element> <element name="lcdm"><rect><color red="0.58" green="0.61" blue="0.62" /></rect></element> - <element name="led" defstate="0"> - <rect state="0"><color red="0.15" green="0" blue="0" /></rect> - <rect state="1"><color red="1" green="0" blue="0" /></rect> - </element> - - <element name="ledro"> - <rect><color red="0.1" green="0.1" blue="0.1" /></rect> - </element> - <element name="ledrr" defstate="0"> - <rect state="0"><color red="0" green="0" blue="0" /></rect> - <rect state="1"><color red="1" green="0" blue="0" /></rect> - </element> - <element name="ledrg" defstate="0"> - <rect state="0"><color red="0" green="0" blue="0" /></rect> - <rect state="1"><color red="0" green="1" blue="0" /></rect> - </element> - <element name="ledo"> <disk><color red="0.1" green="0.1" blue="0.1" /></disk> </element> @@ -384,17 +368,15 @@ license:CC0 </group> -<!-- build screen --> +<!-- chessboard --> - <view name="Internal Layout"> - <bounds left="-13" right="88" top="-1.5" bottom="99" /> + <group name="board"> + <bounds x="-1" y="-1.5" width="89" height="89" /> <element ref="cblack"><bounds x="-1" y="-1.5" width="89" height="89" /></element> <element ref="black"><bounds x="3" y="2.5" width="81" height="81" /></element> <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> - <!-- chessboard coords --> <element ref="text_8"><bounds x="0.1" y="9" width="2" height="2" /></element> <element ref="text_7"><bounds x="0.1" y="19" width="2" height="2" /></element> @@ -468,44 +450,306 @@ license:CC0 <element name="5.1" ref="ledr" blend="add"><bounds x="57.75" y="84.75" width="1.5" height="1.5" /></element> <element name="6.1" ref="ledr" blend="add"><bounds x="67.75" y="84.75" width="1.5" height="1.5" /></element> <element name="7.1" ref="ledr" blend="add"><bounds x="77.75" y="84.75" width="1.5" height="1.5" /></element> + </group> + - <!-- button panel --> - <element ref="ledro"><bounds x="0" y="90" width="2" height="1" /></element> - <element ref="ledro"><bounds x="0" y="93" width="2" height="1" /></element> - <element ref="ledro"><bounds x="0" y="96" width="2" height="1" /></element> - - <element name="8.3" ref="ledrr" blend="add"><bounds x="0" y="90" width="2" height="1" /></element> - <element name="8.5" ref="ledrr" blend="add"><bounds x="0" y="93" width="2" height="1" /></element> - <element name="8.4" ref="ledrr" blend="add"><bounds x="0" y="96" width="2" height="1" /></element> - <element name="9.3" ref="ledrg" blend="add"><bounds x="0" y="90" width="2" height="1" /></element> - <element name="9.5" ref="ledrg" blend="add"><bounds x="0" y="93" width="2" height="1" /></element> - <element name="9.4" ref="ledrg" blend="add"><bounds x="0" y="96" width="2" height="1" /></element> - - <element ref="ledro"><bounds x="10" y="90" width="2" height="1" /></element> - <element ref="ledro"><bounds x="10" y="93" width="2" height="1" /></element> - <element ref="ledro"><bounds x="10" y="96" width="2" height="1" /></element> - - <element name="8.6" ref="ledrr" blend="add"><bounds x="10" y="90" width="2" height="1" /></element> - <element name="8.2" ref="ledrr" blend="add"><bounds x="10" y="93" width="2" height="1" /></element> - <element name="8.0" ref="ledrr" blend="add"><bounds x="10" y="96" width="2" height="1" /></element> - <element name="9.6" ref="ledrg" blend="add"><bounds x="10" y="90" width="2" height="1" /></element> - <element name="9.2" ref="ledrg" blend="add"><bounds x="10" y="93" width="2" height="1" /></element> - <element name="9.0" ref="ledrg" blend="add"><bounds x="10" y="96" width="2" height="1" /></element> - - <element name="9.9" ref="led"><bounds x="20" y="90" width="2" height="1" /></element> - <element name="8.9" ref="led"><bounds x="24" y="90" width="2" height="1" /></element> - <element name="9.8" ref="led"><bounds x="20" y="93" width="2" height="1" /></element> - <element name="8.8" ref="led"><bounds x="24" y="93" width="2" height="1" /></element> - <element name="9.1" ref="led"><bounds x="20" y="96" width="2" height="1" /></element> - <element name="8.1" ref="led"><bounds x="24" y="96" width="2" height="1" /></element> - - <element ref="ledro"><bounds x="40" y="90" width="2" height="1" /></element> - <element name="8.7" ref="ledrr" blend="add"><bounds x="40" y="90" width="2" height="1" /></element> - <element name="9.7" ref="ledrg" blend="add"><bounds x="40" y="90" width="2" height="1" /></element> +<!-- button panel --> + + <element name="led" defstate="0"> + <disk state="0"><color red="0.15" green="0" blue="0" /></disk> + <disk state="1"><color red="1" green="0" blue="0" /></disk> + </element> + + <element name="not" defstate="0"> + <rect><color alpha="0" /></rect> + </element> + <element name="but" defstate="0"> + <rect state="0"><color red="0.21" green="0.2" blue="0.2" /></rect> + <rect state="1"><color red="0.34" green="0.33" blue="0.33" /></rect> + </element> + <element name="butd" defstate="0"> + <disk state="0"><color red="0.21" green="0.2" blue="0.2" /></disk> + <disk state="1"><color red="0.34" green="0.33" blue="0.33" /></disk> + </element> + + <element name="text_ln1"><text string="1" align="2"/></element> + <element name="text_ln2"><text string="2" align="2"/></element> + <element name="text_ln3"><text string="3" align="2"/></element> + <element name="text_ln4"><text string="4" align="2"/></element> + <element name="text_ln5"><text string="5" align="2"/></element> + <element name="text_ln6"><text string="6" align="2"/></element> + <element name="text_ln7"><text string="7" align="2"/></element> + <element name="text_ln8"><text string="8" align="2"/></element> + <element name="text_ln9"><text string="9" align="2"/></element> + <element name="text_ln10"><text string="10" align="2"/></element> + <element name="text_ln11"><text string="11" align="2"/></element> + <element name="text_ln12"><text string="12" align="2"/></element> + <element name="text_ln13"><text string="13" align="2"/></element> + <element name="text_ln14"><text string="14" align="2"/></element> + <element name="text_ln15"><text string="15" align="2"/></element> + <element name="text_ln16"><text string="16" align="2"/></element> + <element name="text_ln17"><text string="17" align="2"/></element> + <element name="text_ln18"><text string="18" align="2"/></element> + <element name="text_ln19"><text string="19" align="2"/></element> + <element name="text_ln20"><text string="20" align="2"/></element> + <element name="text_ln21"><text string="21" align="2"/></element> + + <element name="text_l01"><text string="1"/></element> + <element name="text_l02"><text string="2"/></element> + <element name="text_l03"><text string="3"/></element> + <element name="text_l04"><text string="4"/></element> + <element name="text_l05"><text string="5"/></element> + <element name="text_l06"><text string="6"/></element> + <element name="text_l07"><text string="White"/></element> + <element name="text_l08"><text string="Black"/></element> + <element name="text_l09"><text string="Check"/></element> + <element name="text_l010"><text string="End"/></element> + <element name="text_l011"><text string="Mode"/></element> + <element name="text_l012"><text string="Comm."/></element> + <element name="text_l013"><text string="Module"/></element> + <element name="text_l014"><text string="ACL"/></element> + + <element name="text_l11"><text string="Color"/></element> + <element name="text_l11a"><text string="Tab/"/></element> + <element name="text_l12"><text string="+"/></element> + <element name="text_l13"><text string="-"/></element> + <element name="text_l14"> + <rect><color red="0.3" green="1.0" blue="0.3" /></rect> + <text string="Normal"><color red="0" green="0" blue="0" /></text> + </element> + <element name="text_l15"> + <rect><color red="1.0" green="1.0" blue="0.3" /></rect> + <text string="Analysis"><color red="0" green="0" blue="0" /></text> + </element> + <element name="text_l16"> + <rect><color red="1.0" green="0.3" blue="0.3" /></rect> + <text string="Set Up"><color red="0" green="0" blue="0" /></text> + </element> + <element name="text_l17"><text string="Game"/></element> + <element name="text_l17a"><text string="New"/></element> + <element name="text_l17b"><text string="normal"><color red="0.3" green="1.0" blue="0.3" /></text></element> + <element name="text_l18"><text string="Go"/></element> + + <element name="text_l21"><text string="Function"/></element> + <element name="text_l22"><text string="Sound"/></element> + <element name="text_l23"><text string="Info"/></element> + <element name="text_l24"><text string="Play"/></element> + <element name="text_l24b"><text string="normal"><color red="0.3" green="1.0" blue="0.3" /></text></element> + <element name="text_l25"> + <rect> + <bounds x="0" y="0" width="4.5" height="1.3" /> + <color red="1.0" green="1.0" blue="0.3" /> + </rect> + <rect> + <bounds x="0.2" y="0.2" width="4.1" height="0.9" /> + <color red="0" green="0" blue="0" /> + </rect> + <text string="Level"><bounds x="0" y="0" width="4.5" height="1.3" /></text> + </element> + <element name="text_l26"> + <rect> + <bounds x="0" y="0" width="4.5" height="1.3" /> + <color red="1.0" green="0.3" blue="0.3" /> + </rect> + <rect> + <bounds x="0.2" y="0.2" width="4.1" height="0.9" /> + <color red="0" green="0" blue="0" /> + </rect> + <text string="Library"><bounds x="0" y="0" width="4.5" height="1.3" /></text> + </element> + <element name="text_l27"><text string="Stop"/></element> + <element name="text_l27b"><text string="memory"/></element> + + <element name="text_p1"><image file="chess/wk.svg"/></element> + <element name="text_p2"><image file="chess/wq.svg"/></element> + <element name="text_p3"><image file="chess/wr.svg"/></element> + <element name="text_p4"><image file="chess/wb.svg"/></element> + <element name="text_p5"><image file="chess/wn.svg"/></element> + <element name="text_p6"><image file="chess/wp.svg"/></element> + + <element name="tmul"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element> + + <group name="panel"> + <bounds x="0" y="0" width="80" height="20" /> + + <element ref="text_ln1"> <bounds x="0.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln3"> <bounds x="5.5" y="10" width="1.5" height="1" /></element> + <element ref="text_ln5"> <bounds x="11.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln7"> <bounds x="22.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln9"> <bounds x="27.5" y="10" width="1.5" height="1" /></element> + <element ref="text_ln11"><bounds x="33.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln13"><bounds x="38.5" y="10" width="1.5" height="1" /></element> + <element ref="text_ln15"><bounds x="44.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln17"><bounds x="49.5" y="10" width="1.5" height="1" /></element> + <element ref="text_ln19"><bounds x="55.0" y="10" width="1.5" height="1" /></element> + <element ref="text_ln21"><bounds x="60.5" y="10" width="1.5" height="1" /></element> + + <element ref="text_ln2"> <bounds x="2.75" y="14" width="1.5" height="1" /></element> + <element ref="text_ln4"> <bounds x="8.25" y="14" width="1.5" height="1" /></element> + <element ref="text_ln6"> <bounds x="13.75" y="14" width="1.5" height="1" /></element> + <element ref="text_ln8"> <bounds x="24.75" y="14" width="1.5" height="1" /></element> + <element ref="text_ln10"><bounds x="30.25" y="14" width="1.5" height="1" /></element> + <element ref="text_ln12"><bounds x="35.75" y="14" width="1.5" height="1" /></element> + <element ref="text_ln14"><bounds x="41.25" y="14" width="1.5" height="1" /></element> + <element ref="text_ln16"><bounds x="46.75" y="14" width="1.5" height="1" /></element> + <element ref="text_ln18"><bounds x="52.25" y="14" width="1.5" height="1" /></element> + <element ref="text_ln20"><bounds x="57.75" y="14" width="1.5" height="1" /></element> + + <element ref="text_l01"><bounds x="2.75" y="4.1" width="1.5" height="1.3" /></element> + <element ref="text_l02"><bounds x="5.5" y="4.1" width="1.5" height="1.3" /></element> + <element ref="text_l03"><bounds x="8.25" y="4.1" width="1.5" height="1.3" /></element> + <element ref="text_l04"><bounds x="11.0" y="4.1" width="1.5" height="1.3" /></element> + <element ref="text_l05"><bounds x="13.75" y="4.1" width="1.5" height="1.3" /></element> + <element ref="text_l06"><bounds x="16.5" y="4.1" width="1.5" height="1.3" /></element> + + <element ref="text_l07"> <bounds x="20.0" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l08"> <bounds x="25.5" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l09"> <bounds x="33.75" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l010"><bounds x="39.25" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l011"><bounds x="50.25" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l012"><bounds x="55.75" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l013"><bounds x="61.25" y="4.1" width="5.5" height="1.3" /></element> + <element ref="text_l014"><bounds x="66.75" y="4.1" width="5.5" height="1.3" /></element> + + <element ref="text_l11"><bounds x="22.5" y="8.6" width="6" height="1.3" /></element> + <element ref="text_l12"><bounds x="28.0" y="8.5" width="6" height="1.5" /></element> + <element ref="text_l13"><bounds x="33.5" y="8.5" width="6" height="1.5" /></element> + <element ref="text_l14"><bounds x="39.75" y="8.6" width="4.5" height="1.3" /></element> + <element ref="text_l15"><bounds x="45.25" y="8.6" width="4.5" height="1.3" /></element> + <element ref="text_l16"><bounds x="50.75" y="8.6" width="4.5" height="1.3" /></element> + <element ref="text_l17"><bounds x="55.5" y="8.6" width="6" height="1.3" /></element> + <element ref="text_l17a"><bounds x="55.5" y="7.4" width="6" height="1.3" /></element> + <element ref="text_l17b"><bounds x="55.5" y="11" width="6" height="1.3" /></element> + <element ref="text_l18"><bounds x="61.0" y="8.6" width="6" height="1.3" /></element> + + <element ref="text_l21"><bounds x="25.25" y="12.6" width="6" height="1.3" /></element> + <element ref="text_l22"><bounds x="30.75" y="12.6" width="6" height="1.3" /></element> + <element ref="text_l23"><bounds x="36.25" y="12.6" width="6" height="1.3" /></element> + <element ref="text_l24"><bounds x="41.75" y="12.6" width="6" height="1.3" /></element> + <element ref="text_l24b"><bounds x="41.75" y="15" width="6" height="1.3" /></element> + <element ref="text_l25"><bounds x="48.0" y="12.6" width="4.5" height="1.3" /></element> + <element ref="text_l26"><bounds x="53.5" y="12.6" width="4.5" height="1.3" /></element> + <element ref="text_l27"><bounds x="58.25" y="12.6" width="6" height="1.3" /></element> + + <element ref="text_p1"><bounds x="2.6" y="8.1" width="1.8" height="1.8" /></element> + <element ref="text_p2"><bounds x="5.35" y="12.1" width="1.8" height="1.8" /></element> + <element ref="text_p3"><bounds x="8.1" y="8.1" width="1.8" height="1.8" /></element> + <element ref="text_p4"><bounds x="10.85" y="12.1" width="1.8" height="1.8" /></element> + <element ref="text_p5"><bounds x="13.6" y="8.1" width="1.8" height="1.8" /></element> + <element ref="text_p6"><bounds x="16.35" y="12.1" width="1.8" height="1.8" /></element> + + <element ref="whitew"><bounds x="3.4" y="7.2" width="0.2" height="1" /></element> + <element ref="whitew"><bounds x="6.15" y="7.2" width="0.2" height="4.9" /></element> + <element ref="whitew"><bounds x="8.9" y="7.2" width="0.2" height="1" /></element> + <element ref="whitew"><bounds x="11.65" y="7.2" width="0.2" height="4.9" /></element> + <element ref="whitew"><bounds x="14.4" y="7.2" width="0.2" height="1" /></element> + <element ref="whitew"><bounds x="17.15" y="7.2" width="0.2" height="4.9" /></element> + + <element ref="tmul" blend="multiply"><bounds x="0" y="0" width="80" height="20" /></element> + + <element ref="ledo"><bounds x="2.75" y="5.5" width="1.5" height="1.5" /></element> + <element ref="ledo"><bounds x="5.5" y="5.5" width="1.5" height="1.5" /></element> + <element ref="ledo"><bounds x="8.25" y="5.5" width="1.5" height="1.5" /></element> + <element ref="ledo"><bounds x="11.0" y="5.5" width="1.5" height="1.5" /></element> + <element ref="ledo"><bounds x="13.75" y="5.5" width="1.5" height="1.5" /></element> + <element ref="ledo"><bounds x="16.5" y="5.5" width="1.5" height="1.5" /></element> + + <element name="8.3" ref="ledr" blend="add"><bounds x="2.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.5" ref="ledr" blend="add"><bounds x="5.5" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.4" ref="ledr" blend="add"><bounds x="8.25" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.6" ref="ledr" blend="add"><bounds x="11.0" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.2" ref="ledr" blend="add"><bounds x="13.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.0" ref="ledr" blend="add"><bounds x="16.5" y="5.5" width="1.5" height="1.5" /></element> + + <element name="9.3" ref="ledg" blend="add"><bounds x="2.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.5" ref="ledg" blend="add"><bounds x="5.5" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.4" ref="ledg" blend="add"><bounds x="8.25" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.6" ref="ledg" blend="add"><bounds x="11.5" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.2" ref="ledg" blend="add"><bounds x="13.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.0" ref="ledg" blend="add"><bounds x="16.5" y="5.5" width="1.5" height="1.5" /></element> + + <element name="9.8" ref="led"><bounds x="22.0" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.8" ref="led"><bounds x="27.5" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.9" ref="led"><bounds x="35.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.9" ref="led"><bounds x="41.25" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.1" ref="led"><bounds x="57.75" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.1" ref="led"><bounds x="63.25" y="5.5" width="1.5" height="1.5" /></element> + + <element ref="ledo"><bounds x="52.25" y="5.5" width="1.5" height="1.5" /></element> + <element name="8.7" ref="ledr" blend="add"><bounds x="52.25" y="5.5" width="1.5" height="1.5" /></element> + <element name="9.7" ref="ledg" blend="add"><bounds x="52.25" y="5.5" width="1.5" height="1.5" /></element> + + <element ref="butd" inputtag="RESET" inputmask="0x02"><bounds x="69" y="5.75" width="1" height="1" /></element> + + <element ref="but" inputtag="IN.0" inputmask="0x01"><bounds x="1.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.0" inputmask="0x02"><bounds x="7.0" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.0" inputmask="0x04"><bounds x="12.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.2" inputmask="0x02"><bounds x="23.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.2" inputmask="0x04"><bounds x="29.0" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.6" inputmask="0x01"><bounds x="34.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.6" inputmask="0x02"><bounds x="40.0" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.6" inputmask="0x04"><bounds x="45.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.7" inputmask="0x04"><bounds x="51.0" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="IN.7" inputmask="0x02"><bounds x="56.5" y="10" width="4" height="1" /></element> + <element ref="but" inputtag="RESET" inputmask="0x01"><bounds x="62.0" y="10" width="4" height="1" /></element> + + <element ref="but" inputtag="IN.1" inputmask="0x01"><bounds x="4.25" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.1" inputmask="0x02"><bounds x="9.75" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.1" inputmask="0x04"><bounds x="15.25" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.3" inputmask="0x02"><bounds x="26.25" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.3" inputmask="0x04"><bounds x="31.75" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.5" inputmask="0x01"><bounds x="37.25" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.5" inputmask="0x02"><bounds x="42.75" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.5" inputmask="0x04"><bounds x="48.25" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.4" inputmask="0x04"><bounds x="53.75" y="14" width="4" height="1" /></element> + <element ref="but" inputtag="IN.4" inputmask="0x02"><bounds x="59.25" y="14" width="4" height="1" /></element> + + <!-- larger clickable area --> + <element ref="not" inputtag="IN.0" inputmask="0x01"><bounds x="1.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.0" inputmask="0x02"><bounds x="7.0" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.0" inputmask="0x04"><bounds x="12.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.2" inputmask="0x02"><bounds x="23.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.2" inputmask="0x04"><bounds x="29.0" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x01"><bounds x="34.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x02"><bounds x="40.0" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.6" inputmask="0x04"><bounds x="45.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.7" inputmask="0x04"><bounds x="51.0" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.7" inputmask="0x02"><bounds x="56.5" y="8.6" width="4" height="2" /></element> + <element ref="not" inputtag="RESET" inputmask="0x01"><bounds x="62.0" y="8.6" width="4" height="2" /></element> + + <element ref="not" inputtag="IN.1" inputmask="0x01"><bounds x="4.25" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.1" inputmask="0x02"><bounds x="9.75" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.1" inputmask="0x04"><bounds x="15.25" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.3" inputmask="0x02"><bounds x="26.25" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.3" inputmask="0x04"><bounds x="31.75" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x01"><bounds x="37.25" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x02"><bounds x="42.75" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.5" inputmask="0x04"><bounds x="48.25" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.4" inputmask="0x04"><bounds x="53.75" y="12.6" width="4" height="2" /></element> + <element ref="not" inputtag="IN.4" inputmask="0x02"><bounds x="59.25" y="12.6" width="4" height="2" /></element> + </group> + + +<!-- build screen --> + + <view name="Internal Layout (Full)"> + <bounds left="-13" right="88" top="-1.5" bottom="101.5" /> + + <group ref="panel"><bounds x="-2.5" y="84" width="80" height="20" /></group> <!-- analyst's screen --> - <screen index="0"><bounds x="63.5" y="90" width="20" height="3.8" /></screen> - <element ref="lcdm" blend="multiply"><bounds x="63" y="89" width="21" height="6" /></element> + <screen index="0"><bounds x="66" y="94" width="20" height="3.8" /></screen> + <element ref="lcdm" blend="multiply"><bounds x="65" y="93" width="22" height="6" /></element> + <group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group> + <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> </view> + + <view name="Internal Layout (Board)"><!-- chesscomputer has a wooden lid for covering bottom side --> + <bounds left="-13" right="88" top="-1.5" bottom="87.5" /> + + <group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group> + <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> + </view> + </mamelayout> |