diff options
author | hap <happppp@users.noreply.github.com> | 2021-04-07 23:11:02 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2021-04-07 23:11:20 +0200 |
commit | 0dca4d3106afc1e02042b93680f3aebfd086a011 (patch) | |
tree | c36f688f0dc5e035fd38adef960a3b4b4862ea6f /src/mame/layout | |
parent | e0d69fad4cb70d50c0fadadffbc243c3aad0d9f4 (diff) |
mephisto_polgar.cpp: split driver into polgar, risc, milano
Diffstat (limited to 'src/mame/layout')
-rw-r--r-- | src/mame/layout/mephisto_academy.lay | 4 | ||||
-rw-r--r-- | src/mame/layout/mephisto_alm16.lay | 2 | ||||
-rw-r--r-- | src/mame/layout/mephisto_alm32.lay | 2 | ||||
-rw-r--r-- | src/mame/layout/mephisto_berlin.lay | 69 | ||||
-rw-r--r-- | src/mame/layout/mephisto_gen32.lay | 2 | ||||
-rw-r--r-- | src/mame/layout/mephisto_milano.lay | 33 | ||||
-rw-r--r-- | src/mame/layout/mephisto_polgar.lay | 29 | ||||
-rw-r--r-- | src/mame/layout/mephisto_risc.lay | 461 |
8 files changed, 537 insertions, 65 deletions
diff --git a/src/mame/layout/mephisto_academy.lay b/src/mame/layout/mephisto_academy.lay index 78ed936902e..57642fb5415 100644 --- a/src/mame/layout/mephisto_academy.lay +++ b/src/mame/layout/mephisto_academy.lay @@ -468,9 +468,9 @@ license:CC0 <!-- build screen --> <view name="Internal Layout"> - <bounds left="0" right="100" top="0" bottom="98" /> + <bounds left="0" right="101" top="-1" bottom="98" /> - <element ref="background"><bounds x="13" y="0" width="87" height="98" /></element> + <element ref="background"><bounds x="13" y="-1" width="88" height="99" /></element> <!-- chessboard coords --> <element ref="white"><bounds x="16.5" y="2.5" width="81" height="81" /></element> diff --git a/src/mame/layout/mephisto_alm16.lay b/src/mame/layout/mephisto_alm16.lay index 20003686635..255e64639e8 100644 --- a/src/mame/layout/mephisto_alm16.lay +++ b/src/mame/layout/mephisto_alm16.lay @@ -460,7 +460,7 @@ license:CC0 <element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element> <element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element> - <element ref="text_lcd"><bounds x="47.5" y="89" width="24.5" height="2" /></element> + <element ref="text_lcd"><bounds x="47.5" y="89.3" width="24.5" height="1.5" /></element> <group ref="panel"><bounds x="47.5" y="91.8" width="24.5" height="6.5" /></group> <group ref="buttons"><bounds x="77.5" y="88.5" width="13" height="13" /></group> diff --git a/src/mame/layout/mephisto_alm32.lay b/src/mame/layout/mephisto_alm32.lay index 7103be17efd..b690df7f65b 100644 --- a/src/mame/layout/mephisto_alm32.lay +++ b/src/mame/layout/mephisto_alm32.lay @@ -460,7 +460,7 @@ license:CC0 <element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element> <element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element> - <element ref="text_lcd"><bounds x="47.5" y="89" width="24.5" height="2" /></element> + <element ref="text_lcd"><bounds x="47.5" y="89.3" width="24.5" height="1.5" /></element> <group ref="panel"><bounds x="47.5" y="91.8" width="24.5" height="6.5" /></group> <group ref="buttons"><bounds x="77.5" y="88.5" width="13" height="13" /></group> diff --git a/src/mame/layout/mephisto_berlin.lay b/src/mame/layout/mephisto_berlin.lay index 7a307236e2c..1ea3103a18f 100644 --- a/src/mame/layout/mephisto_berlin.lay +++ b/src/mame/layout/mephisto_berlin.lay @@ -25,22 +25,22 @@ 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="text_1"> <text string="1"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_2"> <text string="2"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_3"> <text string="3"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_4"> <text string="4"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_5"> <text string="5"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_6"> <text string="6"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_7"> <text string="7"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_8"> <text string="8"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_a"> <text string="A"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_b"> <text string="B"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_c"> <text string="C"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_d"> <text string="D"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_e"> <text string="E"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_f"> <text string="F"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_g"> <text string="G"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> + <element name="text_h"> <text string="H"> <color red="0.9" green="0.9" blue="0.9" /></text> </element> <element name="text_up"> <text string="UP"> <color red="0.9" green="0.85" blue="0.55" /></text> </element> <element name="text_down"> <text string="DOWN"> <color red="0.9" green="0.85" blue="0.55" /></text> </element> @@ -390,30 +390,31 @@ license:CC0 <!-- build screen --> <view name="Internal Layout"> - <bounds left="2" right="129" top="0.5" bottom="89" /> + <bounds left="2.5" right="129" top="0.5" bottom="88.5" /> <element ref="cwhite"><bounds x="19.5" y="2.5" width="81" height="81" /></element> <!-- chessboard coords --> - <element ref="text_8"><bounds x="15.7" y="7" width="2" height="2" /></element> - <element ref="text_7"><bounds x="15.7" y="17" width="2" height="2" /></element> - <element ref="text_6"><bounds x="15.7" y="27" width="2" height="2" /></element> - <element ref="text_5"><bounds x="15.7" y="37" width="2" height="2" /></element> - <element ref="text_4"><bounds x="15.7" y="47" width="2" height="2" /></element> - <element ref="text_3"><bounds x="15.7" y="57" width="2" height="2" /></element> - <element ref="text_2"><bounds x="15.7" y="67" width="2" height="2" /></element> - <element ref="text_1"><bounds x="15.7" y="77" width="2" height="2" /></element> - <element ref="text_a"><bounds x="24" y="85.5" width="2" height="2" /></element> - <element ref="text_b"><bounds x="34" y="85.5" width="2" height="2" /></element> - <element ref="text_c"><bounds x="44" y="85.5" width="2" height="2" /></element> - <element ref="text_d"><bounds x="54" y="85.5" width="2" height="2" /></element> - <element ref="text_e"><bounds x="64" y="85.5" width="2" height="2" /></element> - <element ref="text_f"><bounds x="74" y="85.5" width="2" height="2" /></element> - <element ref="text_g"><bounds x="84" y="85.5" width="2" height="2" /></element> - <element ref="text_h"><bounds x="94" y="85.5" width="2" height="2" /></element> + <element ref="text_8"><bounds x="16.2" y="7" width="2" height="2" /></element> + <element ref="text_7"><bounds x="16.2" y="17" width="2" height="2" /></element> + <element ref="text_6"><bounds x="16.2" y="27" width="2" height="2" /></element> + <element ref="text_5"><bounds x="16.2" y="37" width="2" height="2" /></element> + <element ref="text_4"><bounds x="16.2" y="47" width="2" height="2" /></element> + <element ref="text_3"><bounds x="16.2" y="57" width="2" height="2" /></element> + <element ref="text_2"><bounds x="16.2" y="67" width="2" height="2" /></element> + <element ref="text_1"><bounds x="16.2" y="77" width="2" height="2" /></element> + + <element ref="text_a"><bounds x="24" y="85" width="2" height="2" /></element> + <element ref="text_b"><bounds x="34" y="85" width="2" height="2" /></element> + <element ref="text_c"><bounds x="44" y="85" width="2" height="2" /></element> + <element ref="text_d"><bounds x="54" y="85" width="2" height="2" /></element> + <element ref="text_e"><bounds x="64" y="85" width="2" height="2" /></element> + <element ref="text_f"><bounds x="74" y="85" width="2" height="2" /></element> + <element ref="text_g"><bounds x="84" y="85" width="2" height="2" /></element> + <element ref="text_h"><bounds x="94" y="85" width="2" height="2" /></element> <group ref="sb_board"><bounds x="20" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="3.5" y="3" width="10" height="80" /></group> + <group ref="sb_ui"><bounds x="4" y="3" width="10" height="80" /></group> <!-- LCD panel --> <group ref="panel1"><bounds x="103.5" y="56.9" width="23" height="6.1" /></group> diff --git a/src/mame/layout/mephisto_gen32.lay b/src/mame/layout/mephisto_gen32.lay index 0168943ab1d..d3255899625 100644 --- a/src/mame/layout/mephisto_gen32.lay +++ b/src/mame/layout/mephisto_gen32.lay @@ -460,7 +460,7 @@ license:CC0 <element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element> <element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element> - <element ref="text_lcd"><bounds x="47.5" y="89" width="24.5" height="2" /></element> + <element ref="text_lcd"><bounds x="47.5" y="89.3" width="24.5" height="1.5" /></element> <group ref="panel"><bounds x="47.5" y="91.8" width="24.5" height="6.5" /></group> <group ref="buttons"><bounds x="77.5" y="88.5" width="13" height="13" /></group> diff --git a/src/mame/layout/mephisto_milano.lay b/src/mame/layout/mephisto_milano.lay index 9bca5ac65f5..829a6204f2d 100644 --- a/src/mame/layout/mephisto_milano.lay +++ b/src/mame/layout/mephisto_milano.lay @@ -430,22 +430,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="led0" ref="ledr"><bounds x="24" y="85" width="2" height="1" /></element> + <element name="led8" ref="ledr"><bounds x="34" y="85" width="2" height="1" /></element> + <element name="led16" ref="ledr"><bounds x="44" y="85" width="2" height="1" /></element> + <element name="led24" ref="ledr"><bounds x="54" y="85" width="2" height="1" /></element> + <element name="led32" ref="ledr"><bounds x="64" y="85" width="2" height="1" /></element> + <element name="led40" ref="ledr"><bounds x="74" y="85" width="2" height="1" /></element> + <element name="led48" ref="ledr"><bounds x="84" y="85" width="2" height="1" /></element> + <element name="led56" ref="ledr"><bounds x="94" y="85" width="2" height="1" /></element> + + <element name="led1" 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="led17" ref="ledr"><bounds x="16.5" y="57.5" width="2" height="1" /></element> + <element name="led25" ref="ledr"><bounds x="16.5" y="47.5" width="2" height="1" /></element> + <element name="led33" ref="ledr"><bounds x="16.5" y="37.5" width="2" height="1" /></element> + <element name="led41" ref="ledr"><bounds x="16.5" y="27.5" width="2" height="1" /></element> + <element name="led49" ref="ledr"><bounds x="16.5" y="17.5" width="2" height="1" /></element> + <element name="led57" 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> diff --git a/src/mame/layout/mephisto_polgar.lay b/src/mame/layout/mephisto_polgar.lay index 881f863ef3e..5a953ab4d17 100644 --- a/src/mame/layout/mephisto_polgar.lay +++ b/src/mame/layout/mephisto_polgar.lay @@ -2,8 +2,13 @@ <!-- license:CC0 --> + +<!-- mephisto_polgar.lay and mephisto_risc.lay are identical --> + <mamelayout version="2"> + <!-- define elements --> + <element name="led" defstate="0"> <disk state="0"> <color red="0.20" green="0.0" blue="0.0" /> @@ -39,15 +44,15 @@ license:CC0 <element name="text_f"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="F"><color red="0.87" green="0.87" blue="0.84" /></text> </element> <element name="text_g"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="G"><color red="0.87" green="0.87" blue="0.84" /></text> </element> <element name="text_h"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="H"><color red="0.87" green="0.87" blue="0.84" /></text> </element> - <element name="text_trn"> <rect><color red="0" green="0" blue="0" /></rect> <text string="TRN"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_info"> <rect><color red="0" green="0" blue="0" /></rect> <text string="INFO"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_mem"> <rect><color red="0" green="0" blue="0" /></rect> <text string="MEM"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_pos"> <rect><color red="0" green="0" blue="0" /></rect> <text string="POS"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_lev"> <rect><color red="0" green="0" blue="0" /></rect> <text string="LEV"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_fct"> <rect><color red="0" green="0" blue="0" /></rect> <text string="FCT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_ent"> <rect><color red="0" green="0" blue="0" /></rect> <text string="ENT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_cl"> <rect><color red="0" green="0" blue="0" /></rect> <text string="CL"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> - <element name="text_lcd"> <rect><color red="0" green="0" blue="0" /></rect> <text string="16/32 BIT DISPLAY MODUL"><color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_trn"> <rect><color red="0" green="0" blue="0" /></rect> <text string="TRN"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_info"> <rect><color red="0" green="0" blue="0" /></rect> <text string="INFO"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_mem"> <rect><color red="0" green="0" blue="0" /></rect> <text string="MEM"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_pos"> <rect><color red="0" green="0" blue="0" /></rect> <text string="POS"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_lev"> <rect><color red="0" green="0" blue="0" /></rect> <text string="LEV"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_fct"> <rect><color red="0" green="0" blue="0" /></rect> <text string="FCT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_ent"> <rect><color red="0" green="0" blue="0" /></rect> <text string="ENT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_cl"> <rect><color red="0" green="0" blue="0" /></rect> <text string="CL"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_lcd"> <rect><color red="0" green="0" blue="0" /></rect> <text string="GRAPHIC DISPLAY MODUL"><color red="0.76" green="0.74" blue="0.41" /></text> </element> <element name="static_lcd"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element> <element name="yellow_mask"><rect><color red="0.76" green="0.74" blue="0.41" /></rect></element> @@ -386,7 +391,7 @@ license:CC0 <element ref="text_p1"> <bounds x="55.25" y="5.55" width="2" height="2" /></element> <element ref="yellow_mask" blend="multiply"><bounds x="30" y="5.51" width="28" height="2.2" /></element> - <element ref="text_lcd"><bounds x="1" y="0.5" width="24" height="1.5" /></element> + <element ref="text_lcd"><bounds x="1" y="0.5" width="24.5" height="1.5" /></element> <element name="led100" ref="led"> <bounds x="29.1" y="1" width="1.3" height="1.3" /> </element> <element name="led101" ref="led"> <bounds x="34.1" y="1" width="1.3" height="1.3" /> </element> @@ -404,6 +409,10 @@ license:CC0 <element ref="text_ent"> <bounds x="49.5" y="8" width="3.5" height="1.2" /> </element> <element ref="text_cl"> <bounds x="54.5" y="8" width="3.5" height="1.3" /> </element> + <element ref="yellow_mask"><bounds x="52.5" y="8.5" width="2.5" height="0.1" /></element> + <element ref="yellow_mask"><bounds x="51.2" y="9.25" width="0.1" height="0.5" /></element> + <element ref="yellow_mask"><bounds x="56.2" y="9.25" width="0.1" height="0.5" /></element> + <element ref="hlb" inputtag="KEY" inputmask="0x01"> <bounds x="29.5" y="3" width="3.5" height="2.5" /> </element> <element ref="hlb" inputtag="KEY" inputmask="0x02"> <bounds x="34.5" y="3" width="3.5" height="2.5" /> </element> <element ref="hlb" inputtag="KEY" inputmask="0x04"> <bounds x="39.5" y="3" width="3.5" height="2.5" /> </element> diff --git a/src/mame/layout/mephisto_risc.lay b/src/mame/layout/mephisto_risc.lay new file mode 100644 index 00000000000..5a953ab4d17 --- /dev/null +++ b/src/mame/layout/mephisto_risc.lay @@ -0,0 +1,461 @@ +<?xml version="1.0"?> +<!-- +license:CC0 +--> + +<!-- mephisto_polgar.lay and mephisto_risc.lay are identical --> + +<mamelayout version="2"> + +<!-- define elements --> + + <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> + </element> + <element name="hlb" defstate="0"> + <rect state="0"> + <bounds x="0.0" y="0.0" width="1.0" height="1.0" /> + <color red="0.4" green="0.4" blue="0.4" /> + </rect> + <rect state="1"> + <bounds x="0.0" y="0.0" width="1.0" height="1.0" /> + <color red="0.7" green="0.7" blue="0.7" /> + </rect> + </element> + + <element name="text_1"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="1"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_2"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="2"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_3"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="3"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_4"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="4"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_5"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="5"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_6"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="6"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_7"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="7"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_8"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="8"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_a"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="A"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_b"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="B"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_c"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="C"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_d"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="D"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_e"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="E"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_f"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="F"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_g"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="G"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_h"> <rect><color red="0.56" green="0.33" blue="0.12" /></rect> <text string="H"><color red="0.87" green="0.87" blue="0.84" /></text> </element> + <element name="text_trn"> <rect><color red="0" green="0" blue="0" /></rect> <text string="TRN"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_info"> <rect><color red="0" green="0" blue="0" /></rect> <text string="INFO"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_mem"> <rect><color red="0" green="0" blue="0" /></rect> <text string="MEM"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_pos"> <rect><color red="0" green="0" blue="0" /></rect> <text string="POS"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_lev"> <rect><color red="0" green="0" blue="0" /></rect> <text string="LEV"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_fct"> <rect><color red="0" green="0" blue="0" /></rect> <text string="FCT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_ent"> <rect><color red="0" green="0" blue="0" /></rect> <text string="ENT"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_cl"> <rect><color red="0" green="0" blue="0" /></rect> <text string="CL"> <color red="0.76" green="0.74" blue="0.41" /></text> </element> + <element name="text_lcd"> <rect><color red="0" green="0" blue="0" /></rect> <text string="GRAPHIC DISPLAY MODUL"><color red="0.76" green="0.74" blue="0.41" /></text> </element> + + <element name="static_lcd"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element> + <element name="yellow_mask"><rect><color red="0.76" green="0.74" blue="0.41" /></rect></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="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> + + +<!-- sb board --> + + <element name="cblack"><rect><color red="0.56" green="0.33" blue="0.12" /></rect></element> + <element name="cwhite"><rect><color red="0.84" green="0.75" blue="0.50" /></rect></element> + + <element name="hlbb" defstate="0"> + <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> + <disk state="1"> + <bounds x="0.12" y="0.12" width="0.76" height="0.76" /> + <color red="0" green="0" blue="0" /> + </disk> + </element> + + <group name="sb_board"> + <bounds x="0" y="0" width="80" height="80" /> + + <!-- squares (avoid seams) --> + <element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element> + <element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element> + <element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element> + <element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element> + <element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element> + <element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element> + <element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element> + <element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element> + <element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element> + <element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element> + <element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element> + <element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element> + <element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element> + <element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element> + <element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element> + <element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element> + <element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element> + <element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element> + <element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element> + <element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element> + <element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element> + <element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element> + <element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element> + <element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element> + <element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element> + <element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element> + <element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element> + <element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element> + <element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element> + + <!-- chessboard leds --> + <repeat count="8"> + <param name="x" start="8.2" increment="10" /> + <param name="la" start="0" increment="1" /> + <param name="lb" start="8" increment="1" /> + <param name="lc" start="16" increment="1" /> + <param name="ld" start="24" increment="1" /> + <param name="le" start="32" increment="1" /> + <param name="lf" start="40" increment="1" /> + <param name="lg" start="48" increment="1" /> + <param name="lh" start="56" increment="1" /> + + <element name="led~la~" ref="led"><bounds x="~x~" y="78.3" width="1.5" height="1.5" /></element> + <element name="led~lb~" ref="led"><bounds x="~x~" y="68.3" width="1.5" height="1.5" /></element> + <element name="led~lc~" ref="led"><bounds x="~x~" y="58.3" width="1.5" height="1.5" /></element> + <element name="led~ld~" ref="led"><bounds x="~x~" y="48.3" width="1.5" height="1.5" /></element> + <element name="led~le~" ref="led"><bounds x="~x~" y="38.3" width="1.5" height="1.5" /></element> + <element name="led~lf~" ref="led"><bounds x="~x~" y="28.3" width="1.5" height="1.5" /></element> + <element name="led~lg~" ref="led"><bounds x="~x~" y="18.3" width="1.5" height="1.5" /></element> + <element name="led~lh~" ref="led"><bounds x="~x~" y="8.3" width="1.5" height="1.5" /></element> + </repeat> + + <!-- sensors, pieces --> + <repeat count="8"> + <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 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> + <element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element> + <element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element> + <element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element> + <element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element> + <element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element> + <element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element> + </repeat> + </group> + + +<!-- sb ui --> + + <element name="hlub" defstate="0"> + <rect state="1"><color red="0" green="0" blue="0" /></rect> + </element> + + <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.84" green="0.75" blue="0.50" /></rect> + <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uib3"> + <rect><color red="0.84" green="0.75" blue="0.50" /></rect> + <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.84" green="0.75" blue="0.50" /></rect> + <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.84" green="0.75" blue="0.50" /></rect> + <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2b"> + <rect><color red="0.84" green="0.75" blue="0.50" /></rect> + <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2c"> + <rect><color red="0.84" green="0.75" blue="0.50" /></rect> + <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2d"> + <rect><color red="0.84" green="0.75" blue="0.50" /></rect> + <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></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" /> + </simplecounter> + </element> + + <group name="sb_ui"> + <bounds x="0" y="0" width="10" height="80" /> + <element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element> + <element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element> + <element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element> + <element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element> + <element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element> + + <!-- board --> + <element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element> + <element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element> + + <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> + + <!-- spawn --> + <element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element> + <element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element> + + <element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element> + <element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element> + <element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element> + <element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element> + <element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element> + <element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element> + <element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element> + <element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element> + <element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element> + <element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element> + <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> + + <!-- hand --> + <element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element> + <element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element> + <element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element> + + <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> + + <!-- undo --> + <element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element> + <element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element> + <element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element> + <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 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> + <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> + </group> + + +<!-- lcd/button panel --> + + <element name="lcdw"><rect><color red="1" green="1" blue="1" /></rect></element> + <element name="lcdm"><rect><color red="0.36" green="0.42" blue="0.42" /></rect></element> + <element name="lcda"><rect><color red="0.20" green="0.16" blue="0.17" /></rect></element> + + <group name="lcd"> + <element ref="lcdw"><bounds x="0" y="0" width="1" height="1" /></element> + <screen index="0"><bounds x="0.02" y="0.1" width="0.96" height="0.8" /></screen> + <element ref="lcdm" blend="multiply"><bounds x="0" y="0" width="1" height="1" /></element> + <element ref="lcda" blend="add"><bounds x="0" y="0" width="1" height="1" /></element> + </group> + + <group name="panel"> + <bounds left="0" right="60" top="0" bottom="14" /> + <group ref="lcd"><bounds x="1" y="3" width="24.5" height="6.5" /></group> + + <element ref="text_p6"> <bounds x="30.25" y="5.55" width="2" height="2" /></element> + <element ref="text_p5"> <bounds x="35.25" y="5.55" width="2" height="2" /></element> + <element ref="text_p4"> <bounds x="40.25" y="5.55" width="2" height="2" /></element> + <element ref="text_p3"> <bounds x="45.25" y="5.55" width="2" height="2" /></element> + <element ref="text_p2"> <bounds x="50.25" y="5.55" width="2" height="2" /></element> + <element ref="text_p1"> <bounds x="55.25" y="5.55" width="2" height="2" /></element> + <element ref="yellow_mask" blend="multiply"><bounds x="30" y="5.51" width="28" height="2.2" /></element> + + <element ref="text_lcd"><bounds x="1" y="0.5" width="24.5" height="1.5" /></element> + + <element name="led100" ref="led"> <bounds x="29.1" y="1" width="1.3" height="1.3" /> </element> + <element name="led101" ref="led"> <bounds x="34.1" y="1" width="1.3" height="1.3" /> </element> + <element name="led102" ref="led"> <bounds x="39.1" y="1" width="1.3" height="1.3" /> </element> + <element name="led103" ref="led"> <bounds x="44.1" y="1" width="1.3" height="1.3" /> </element> + <element name="led104" ref="led"> <bounds x="49.1" y="1" width="1.3" height="1.3" /> </element> + <element name="led105" ref="led"> <bounds x="54.1" y="1" width="1.3" height="1.3" /> </element> + + <element ref="text_trn"> <bounds x="30.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_info"> <bounds x="35.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_mem"> <bounds x="40.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_pos"> <bounds x="45.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_lev"> <bounds x="50.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_fct"> <bounds x="55.5" y="1" width="2.5" height="1.2" /> </element> + <element ref="text_ent"> <bounds x="49.5" y="8" width="3.5" height="1.2" /> </element> + <element ref="text_cl"> <bounds x="54.5" y="8" width="3.5" height="1.3" /> </element> + + <element ref="yellow_mask"><bounds x="52.5" y="8.5" width="2.5" height="0.1" /></element> + <element ref="yellow_mask"><bounds x="51.2" y="9.25" width="0.1" height="0.5" /></element> + <element ref="yellow_mask"><bounds x="56.2" y="9.25" width="0.1" height="0.5" /></element> + + <element ref="hlb" inputtag="KEY" inputmask="0x01"> <bounds x="29.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x02"> <bounds x="34.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x04"> <bounds x="39.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x08"> <bounds x="44.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x10"> <bounds x="49.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x20"> <bounds x="54.5" y="3" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x40"> <bounds x="49.5" y="10" width="3.5" height="2.5" /> </element> + <element ref="hlb" inputtag="KEY" inputmask="0x80"> <bounds x="54.5" y="10" width="3.5" height="2.5" /> </element> + </group> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="0" right="102" top="-2" bottom="101.5" /> + <element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element> + <element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element> + + <!-- chessboard coords --> + + <element ref="text_8"><bounds x="14.2" y="6.5" width="2" height="2" /></element> + <element ref="text_7"><bounds x="14.2" y="16.5" width="2" height="2" /></element> + <element ref="text_6"><bounds x="14.2" y="26.5" width="2" height="2" /></element> + <element ref="text_5"><bounds x="14.2" y="36.5" width="2" height="2" /></element> + <element ref="text_4"><bounds x="14.2" y="46.5" width="2" height="2" /></element> + <element ref="text_3"><bounds x="14.2" y="56.5" width="2" height="2" /></element> + <element ref="text_2"><bounds x="14.2" y="66.5" width="2" height="2" /></element> + <element ref="text_1"><bounds x="14.2" y="76.5" width="2" height="2" /></element> + + <element ref="text_a"><bounds x="21.5" y="84" width="2" height="2" /></element> + <element ref="text_b"><bounds x="31.5" y="84" width="2" height="2" /></element> + <element ref="text_c"><bounds x="41.5" y="84" width="2" height="2" /></element> + <element ref="text_d"><bounds x="51.5" y="84" width="2" height="2" /></element> + <element ref="text_e"><bounds x="61.5" y="84" width="2" height="2" /></element> + <element ref="text_f"><bounds x="71.5" y="84" width="2" height="2" /></element> + <element ref="text_g"><bounds x="81.5" y="84" width="2" height="2" /></element> + <element ref="text_h"><bounds x="91.5" y="84" width="2" height="2" /></element> + + <!-- LCD panel --> + <group ref="panel"><bounds x="40" y="87.5" width="60" height="14" /></group> + + <group ref="sb_board"><bounds x="17.5" y="2.5" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> + + </view> +</mamelayout> |