diff options
Diffstat (limited to 'src/mame/layout/mephisto_milano.lay')
-rw-r--r-- | src/mame/layout/mephisto_milano.lay | 284 |
1 files changed, 135 insertions, 149 deletions
diff --git a/src/mame/layout/mephisto_milano.lay b/src/mame/layout/mephisto_milano.lay index ef62ac65966..20b75c74e4a 100644 --- a/src/mame/layout/mephisto_milano.lay +++ b/src/mame/layout/mephisto_milano.lay @@ -1,8 +1,10 @@ <?xml version="1.0"?> <!-- -license:CC0 +license:CC0-1.0 +authors:Sandro Ronco, hap --> <mamelayout version="2"> + <!-- define elements --> <element name="white"><rect><color red="1" green="1" blue="1" /></rect></element> @@ -10,20 +12,12 @@ license:CC0 <element name="lcd_bg"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element> <element name="led" defstate="0"> - <disk state="0"> - <color red="0.20" green="0.0" blue="0.0" /> - </disk> - <disk state="1"> - <color red="0.95" green="0.0" blue="0.0" /> - </disk> + <disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk> + <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk> </element> <element name="ledr" defstate="0"> - <rect state="0"> - <color red="0.20" green="0.0" blue="0.0" /> - </rect> - <rect state="1"> - <color red="0.95" green="0.0" blue="0.0" /> - </rect> + <rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect> + <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect> </element> <element name="hlb" defstate="0"> <rect state="0"> @@ -36,22 +30,27 @@ license:CC0 </rect> </element> - <element name="text_1"> <text string="1"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_2"> <text string="2"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_3"> <text string="3"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_4"> <text string="4"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_5"> <text string="5"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_6"> <text string="6"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_7"> <text string="7"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_8"> <text string="8"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_a"> <text string="A"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_b"> <text string="B"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_c"> <text string="C"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_d"> <text string="D"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_e"> <text string="E"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_f"> <text string="F"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_g"> <text string="G"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_h"> <text string="H"> <color red="1" green="1" blue="1" /></text> </element> + <element name="nothing" defstate="0"> + <rect><color alpha="0" /></rect> + </element> + + <element name="text_1"> <text string="1"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_2"> <text string="2"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_3"> <text string="3"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_4"> <text string="4"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_5"> <text string="5"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_6"> <text string="6"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_7"> <text string="7"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_8"> <text string="8"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_a"> <text string="A"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_b"> <text string="B"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_c"> <text string="C"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_d"> <text string="D"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_e"> <text string="E"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_f"> <text string="F"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_g"> <text string="G"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_h"> <text string="H"> <color red="0.81" green="0.8" blue="0.79" /></text> </element> + <element name="text_training"> <text string="TRAINING"> <color red="1" green="1" blue="1" /></text> </element> <element name="text_info"> <text string="INFO"> <color red="1" green="1" blue="1" /></text> </element> <element name="text_memory"> <text string="MEMORY"> <color red="1" green="1" blue="1" /></text> </element> @@ -62,49 +61,18 @@ license:CC0 <element name="text_clear"> <text string="CLEAR"> <color red="1" green="1" blue="1" /></text> </element> <element name="text_newgame"> <text string="NEW GAME"> <color red="1" green="1" blue="1" /></text> </element> - <element name="text_p1"><image file="chess/wk.png"/></element> - <element name="text_p2"><image file="chess/wq.png"/></element> - <element name="text_p3"><image file="chess/wr.png"/></element> - <element name="text_p4"><image file="chess/wb.png"/></element> - <element name="text_p5"><image file="chess/wn.png"/></element> - <element name="text_p6"><image file="chess/wp.png"/></element> - - <element name="piece" defstate="0"> - <image file="chess/wp.png" state="1"/> - <image file="chess/wn.png" state="2"/> - <image file="chess/wb.png" state="3"/> - <image file="chess/wr.png" state="4"/> - <image file="chess/wq.png" state="5"/> - <image file="chess/wk.png" state="6"/> - - <image file="chess/bp.png" state="7"/> - <image file="chess/bn.png" state="8"/> - <image file="chess/bb.png" state="9"/> - <image file="chess/br.png" state="10"/> - <image file="chess/bq.png" state="11"/> - <image file="chess/bk.png" state="12"/> - - <!-- selected pieces --> - <image file="chess/wp.png" state="13"><color alpha="0.5" /></image> - <image file="chess/wn.png" state="14"><color alpha="0.5" /></image> - <image file="chess/wb.png" state="15"><color alpha="0.5" /></image> - <image file="chess/wr.png" state="16"><color alpha="0.5" /></image> - <image file="chess/wq.png" state="17"><color alpha="0.5" /></image> - <image file="chess/wk.png" state="18"><color alpha="0.5" /></image> - - <image file="chess/bp.png" state="19"><color alpha="0.5" /></image> - <image file="chess/bn.png" state="20"><color alpha="0.5" /></image> - <image file="chess/bb.png" state="21"><color alpha="0.5" /></image> - <image file="chess/br.png" state="22"><color alpha="0.5" /></image> - <image file="chess/bq.png" state="23"><color alpha="0.5" /></image> - <image file="chess/bk.png" state="24"><color alpha="0.5" /></image> - </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> <!-- sb board --> - <element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element> - <element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element> + <element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element> + <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element> <element name="hlbb" defstate="0"> <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> @@ -114,6 +82,37 @@ license:CC0 </disk> </element> + <element name="piece" defstate="0"> + <image file="chess/wp.svg" state="1"/> + <image file="chess/wn.svg" state="2"/> + <image file="chess/wb.svg" state="3"/> + <image file="chess/wr.svg" state="4"/> + <image file="chess/wq.svg" state="5"/> + <image file="chess/wk.svg" state="6"/> + + <image file="chess/bp.svg" state="7"/> + <image file="chess/bn.svg" state="8"/> + <image file="chess/bb.svg" state="9"/> + <image file="chess/br.svg" state="10"/> + <image file="chess/bq.svg" state="11"/> + <image file="chess/bk.svg" state="12"/> + + <!-- selected pieces --> + <image file="chess/wp.svg" state="13"><color alpha="0.5" /></image> + <image file="chess/wn.svg" state="14"><color alpha="0.5" /></image> + <image file="chess/wb.svg" state="15"><color alpha="0.5" /></image> + <image file="chess/wr.svg" state="16"><color alpha="0.5" /></image> + <image file="chess/wq.svg" state="17"><color alpha="0.5" /></image> + <image file="chess/wk.svg" state="18"><color alpha="0.5" /></image> + + <image file="chess/bp.svg" state="19"><color alpha="0.5" /></image> + <image file="chess/bn.svg" state="20"><color alpha="0.5" /></image> + <image file="chess/bb.svg" state="21"><color alpha="0.5" /></image> + <image file="chess/br.svg" state="22"><color alpha="0.5" /></image> + <image file="chess/bq.svg" state="23"><color alpha="0.5" /></image> + <image file="chess/bk.svg" state="24"><color alpha="0.5" /></image> + </element> + <group name="sb_board"> <bounds x="0" y="0" width="80" height="80" /> @@ -195,14 +194,14 @@ license:CC0 <param name="y" start="0" increment="10" /> <param name="i" start="8" increment="-1" /> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> - <element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> <element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element> <element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element> @@ -225,43 +224,23 @@ license:CC0 <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element> <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element> <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib2"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uib3"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> + <element name="text_uib2"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uib3"><text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text></element> <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element> <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih2"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> + <element name="text_uih2"><text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text></element> <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu2a"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2b"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2c"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2d"> - <rect><color red="0.9" green="0.9" blue="0.9" /></rect> - <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> + <element name="text_uiu2a"><text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2b"><text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2c"><text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2d"><text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element> + <element name="text_uiu3a" defstate="0"> <simplecounter maxstate="999" digits="1" align="2"> <color red="0.81" green="0.8" blue="0.79" /> </simplecounter> </element> - <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element> <element name="text_uiu3c" defstate="0"> <simplecounter maxstate="999" digits="1" align="1"> <color red="0.81" green="0.8" blue="0.79" /> @@ -284,8 +263,8 @@ license:CC0 <element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element> <element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element> <!-- spawn --> <element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element> @@ -305,18 +284,18 @@ license:CC0 <element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element> <element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element> <!-- hand --> <element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element> @@ -325,7 +304,7 @@ license:CC0 <element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element> <element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element> <!-- undo --> <element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element> @@ -338,10 +317,10 @@ license:CC0 <element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element> <element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> - <element ref="hlub" inputtag="board:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> <element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element> <element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element> @@ -369,15 +348,6 @@ license:CC0 <element ref="blackb"><bounds x="13.5" y="21.2" width="9" height="0.8" /> </element> <element ref="blackb"><bounds x="14.7" y="21.5" width="6.6" height="0.8" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x01"> <bounds x="0.5" y="11" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x02"> <bounds x="6.5" y="11" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x04"> <bounds x="12.5" y="11" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x08"> <bounds x="18.5" y="11" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x10"> <bounds x="0.5" y="20" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x20"> <bounds x="6.5" y="20" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x40"> <bounds x="12.5" y="20" width="5" height="1" /> </element> - <element ref="hlb" inputtag="KEY" inputmask="0x80"> <bounds x="18.5" y="20" width="5" height="1" /> </element> - <element ref="text_training"> <bounds x="0" y="9" width="6" height="1.4" /> </element> <element ref="text_info"> <bounds x="6" y="9" width="6" height="1.4" /> </element> <element ref="text_memory"> <bounds x="12" y="9" width="6" height="1.4" /> </element> @@ -394,6 +364,21 @@ license:CC0 <element ref="text_p1"> <bounds x="7.75" y="21.2" width="2.5" height="2.5" /> </element> <element ref="text_newgame"> <bounds x="12.7" y="21.5" width="11" height="1.4" /> </element> + <element ref="cwhite" blend="multiply"><bounds left="0" right="24" top="7" bottom="24" /></element> + + <element ref="hlb" inputtag="KEY" inputmask="0x01"> <bounds x="0.5" y="11" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x02"> <bounds x="6.5" y="11" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x04"> <bounds x="12.5" y="11" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x08"> <bounds x="18.5" y="11" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x10"> <bounds x="0.5" y="20" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x20"> <bounds x="6.5" y="20" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x40"> <bounds x="12.5" y="20" width="5" height="1" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x80"> <bounds x="18.5" y="20" width="5" height="1" /> </element> + + <!-- hidden input below ENTER/CLEAR buttons to press both --> + <element ref="nothing" inputtag="KEY" inputmask="0x40" clickthrough="yes"><bounds x="14.7" y="21.65" width="6.6" height="1.2" /></element> + <element ref="nothing" inputtag="KEY" inputmask="0x80" clickthrough="no"> <bounds x="14.7" y="21.65" width="6.6" height="1.2" /></element> + <element name="led100" ref="led"> <bounds x="2.4" y="7" width="1.2" height="1.2" /> </element> <element name="led101" ref="led"> <bounds x="8.4" y="7" width="1.2" height="1.2" /> </element> <element name="led102" ref="led"> <bounds x="14.4" y="7" width="1.2" height="1.2" /> </element> @@ -430,22 +415,23 @@ license:CC0 <element ref="text_h"><bounds x="94" y="86.5" width="2" height="2" /></element> <!-- chessboard leds --> - <element name="led0" ref="ledr"><bounds x="24" y="85" width="2" height="1" /></element> - <element name="led1" ref="ledr"><bounds x="34" y="85" width="2" height="1" /></element> - <element name="led2" ref="ledr"><bounds x="44" y="85" width="2" height="1" /></element> - <element name="led3" ref="ledr"><bounds x="54" y="85" width="2" height="1" /></element> - <element name="led4" ref="ledr"><bounds x="64" y="85" width="2" height="1" /></element> - <element name="led5" ref="ledr"><bounds x="74" y="85" width="2" height="1" /></element> - <element name="led6" ref="ledr"><bounds x="84" y="85" width="2" height="1" /></element> - <element name="led7" ref="ledr"><bounds x="94" y="85" width="2" height="1" /></element> - <element name="led8" ref="ledr"><bounds x="16.5" y="77.5" width="2" height="1" /></element> - <element name="led9" ref="ledr"><bounds x="16.5" y="67.5" width="2" height="1" /></element> - <element name="led10" ref="ledr"><bounds x="16.5" y="57.5" width="2" height="1" /></element> - <element name="led11" ref="ledr"><bounds x="16.5" y="47.5" width="2" height="1" /></element> - <element name="led12" ref="ledr"><bounds x="16.5" y="37.5" width="2" height="1" /></element> - <element name="led13" ref="ledr"><bounds x="16.5" y="27.5" width="2" height="1" /></element> - <element name="led14" ref="ledr"><bounds x="16.5" y="17.5" width="2" height="1" /></element> - <element name="led15" ref="ledr"><bounds x="16.5" y="7.5" width="2" height="1" /></element> + <element name="0.0" ref="ledr"><bounds x="24" y="85" width="2" height="1" /></element> + <element name="1.0" ref="ledr"><bounds x="34" y="85" width="2" height="1" /></element> + <element name="2.0" ref="ledr"><bounds x="44" y="85" width="2" height="1" /></element> + <element name="3.0" ref="ledr"><bounds x="54" y="85" width="2" height="1" /></element> + <element name="4.0" ref="ledr"><bounds x="64" y="85" width="2" height="1" /></element> + <element name="5.0" ref="ledr"><bounds x="74" y="85" width="2" height="1" /></element> + <element name="6.0" ref="ledr"><bounds x="84" y="85" width="2" height="1" /></element> + <element name="7.0" ref="ledr"><bounds x="94" y="85" width="2" height="1" /></element> + + <element name="0.1" ref="ledr"><bounds x="16.5" y="77.5" width="2" height="1" /></element> + <element name="1.1" ref="ledr"><bounds x="16.5" y="67.5" width="2" height="1" /></element> + <element name="2.1" ref="ledr"><bounds x="16.5" y="57.5" width="2" height="1" /></element> + <element name="3.1" ref="ledr"><bounds x="16.5" y="47.5" width="2" height="1" /></element> + <element name="4.1" ref="ledr"><bounds x="16.5" y="37.5" width="2" height="1" /></element> + <element name="5.1" ref="ledr"><bounds x="16.5" y="27.5" width="2" height="1" /></element> + <element name="6.1" ref="ledr"><bounds x="16.5" y="17.5" width="2" height="1" /></element> + <element name="7.1" ref="ledr"><bounds x="16.5" y="7.5" width="2" height="1" /></element> <group ref="sb_board"><bounds x="20" y="3" width="80" height="80" /></group> <group ref="sb_ui"><bounds x="2.5" y="3" width="10" height="80" /></group> |