diff options
-rw-r--r-- | src/devices/machine/smartboard.cpp | 5 | ||||
-rw-r--r-- | src/mame/drivers/saitek_risc2500.cpp | 40 | ||||
-rw-r--r-- | src/mame/drivers/tasc.cpp | 18 | ||||
-rw-r--r-- | src/mame/layout/mephisto_modena.lay | 1 | ||||
-rw-r--r-- | src/mame/layout/mephisto_mondial.lay | 15 | ||||
-rw-r--r-- | src/mame/layout/mephisto_mondial2.lay | 15 | ||||
-rw-r--r-- | src/mame/layout/mephisto_mondial68k.lay | 14 | ||||
-rw-r--r-- | src/mame/layout/mephisto_montec.lay | 4 | ||||
-rw-r--r-- | src/mame/layout/mephisto_montreux.lay | 533 | ||||
-rw-r--r-- | src/mame/layout/mephisto_polgar.lay | 6 | ||||
-rw-r--r-- | src/mame/layout/mephisto_risc.lay | 6 | ||||
-rw-r--r-- | src/mame/layout/mephisto_smondial.lay | 14 | ||||
-rw-r--r-- | src/mame/layout/mephisto_smondial2.lay | 14 | ||||
-rw-r--r-- | src/mame/layout/saitek_risc2500.lay | 342 |
14 files changed, 798 insertions, 229 deletions
diff --git a/src/devices/machine/smartboard.cpp b/src/devices/machine/smartboard.cpp index c91dbd0ca46..5ac68fea89e 100644 --- a/src/devices/machine/smartboard.cpp +++ b/src/devices/machine/smartboard.cpp @@ -15,7 +15,7 @@ SmartBoard II is SB20 (64 LEDs, digital chesspieces) SmartBoard III is SB30 again, but digital SB20 and the newer SB30 are not emulated. They're on different hardware, with -embedded CPU to reduce I/O overhead. Note, These are not compatible with old +embedded CPU to reduce I/O overhead. Note, those are not compatible with old versions of Tasc R30. ******************************************************************************/ @@ -291,10 +291,9 @@ void tasc_sb30_device::data0_w(int state) m_squares[i] = piece_id ? (1 << (piece_id - 1)) : 0; } + m_scan_pending = false; m_pos = 0; update_output(); - - m_scan_pending = false; } else { diff --git a/src/mame/drivers/saitek_risc2500.cpp b/src/mame/drivers/saitek_risc2500.cpp index 0487dfd9824..ed8d6f2cbbf 100644 --- a/src/mame/drivers/saitek_risc2500.cpp +++ b/src/mame/drivers/saitek_risc2500.cpp @@ -56,6 +56,7 @@ TODO: #include "speaker.h" // internal artwork +#include "mephisto_montreux.lh" #include "saitek_risc2500.lh" @@ -74,7 +75,7 @@ public: , m_speaker(*this, "speaker") , m_lcdc(*this, "lcdc") , m_board(*this, "board") - , m_inputs(*this, "P%u", 0) + , m_inputs(*this, "IN.%u", 0) , m_digits(*this, "digit%u", 0U) , m_syms(*this, "sym%u", 0U) , m_leds(*this, "led%u", 0U) @@ -84,6 +85,7 @@ public: DECLARE_INPUT_CHANGED_MEMBER(on_button); void risc2500(machine_config &config); + void montreux(machine_config &config); protected: virtual void machine_start() override; @@ -366,35 +368,35 @@ void risc2500_state::risc2500_mem(address_map &map) ******************************************************************************/ static INPUT_PORTS_START( risc2500 ) - PORT_START("P0") + PORT_START("IN.0") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Pawn") PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) - PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("BACK") PORT_CODE(KEYCODE_BACKSPACE) + PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("BACK") PORT_CODE(KEYCODE_B) PORT_CODE(KEYCODE_BACKSPACE) - PORT_START("P1") + PORT_START("IN.1") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Knight") PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ENTER") PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) - PORT_START("P2") + PORT_START("IN.2") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Bishop") PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("DOWN") PORT_CODE(KEYCODE_DOWN) - PORT_START("P3") + PORT_START("IN.3") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Rook") PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("UP") PORT_CODE(KEYCODE_UP) - PORT_START("P4") + PORT_START("IN.4") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Queen") PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("MENU") PORT_CODE(KEYCODE_M) - PORT_START("P5") + PORT_START("IN.5") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("King") PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("PLAY") PORT_CODE(KEYCODE_L) - PORT_START("P6") + PORT_START("IN.6") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RIGHT") PORT_CODE(KEYCODE_RIGHT) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("NEW GAME") PORT_CODE(KEYCODE_N) - PORT_START("P7") + PORT_START("IN.7") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("LEFT") PORT_CODE(KEYCODE_LEFT) PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("OFF") PORT_CODE(KEYCODE_O) @@ -403,6 +405,16 @@ static INPUT_PORTS_START( risc2500 ) PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ACL") PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, risc2500_state, acl_button, 0) INPUT_PORTS_END +static INPUT_PORTS_START( montreux ) // on/off buttons have different labels + PORT_INCLUDE( risc2500 ) + + PORT_MODIFY("IN.7") + PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("STOP") PORT_CODE(KEYCODE_S) + + PORT_MODIFY("RESET") + PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("GO") PORT_CODE(KEYCODE_G) PORT_CHANGED_MEMBER(DEVICE_SELF, risc2500_state, on_button, 0) +INPUT_PORTS_END + /****************************************************************************** @@ -456,6 +468,12 @@ void risc2500_state::risc2500(machine_config &config) m_speaker->set_levels(4, speaker_levels); } +void risc2500_state::montreux(machine_config &config) +{ + risc2500(config); + config.set_default_layout(layout_mephisto_montreux); +} + /****************************************************************************** @@ -489,4 +507,4 @@ ROM_END CONS( 1992, risc2500, 0, 0, risc2500, risc2500, risc2500_state, empty_init, "Saitek / Tasc", "Kasparov RISC 2500 (v1.04)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) CONS( 1992, risc2500a, risc2500, 0, risc2500, risc2500, risc2500_state, empty_init, "Saitek / Tasc", "Kasparov RISC 2500 (v1.03)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) -CONS( 1995, montreux, 0, 0, risc2500, risc2500, risc2500_state, empty_init, "Saitek / Tasc", "Mephisto Montreux", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // after Saitek bought Hegener + Glaser +CONS( 1995, montreux, 0, 0, montreux, montreux, risc2500_state, empty_init, "Saitek / Tasc", "Mephisto Montreux", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // after Saitek bought Hegener + Glaser diff --git a/src/mame/drivers/tasc.cpp b/src/mame/drivers/tasc.cpp index 1e3a37524ca..0143bdd5c2e 100644 --- a/src/mame/drivers/tasc.cpp +++ b/src/mame/drivers/tasc.cpp @@ -277,24 +277,24 @@ void tasc_state::nvram_map(address_map &map) static INPUT_PORTS_START( tasc ) PORT_START("IN.0") - PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_G) PORT_NAME("PLAY") - PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("LEFT") + PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_G) PORT_NAME("PLAY") + PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("LEFT") PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED) PORT_START("IN.1") - PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("BACK") + PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_B) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("BACK") PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("RIGHT") PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED) PORT_START("IN.2") - PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_M) PORT_NAME("MENU") - PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_UP) PORT_NAME("UP") - PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_L) PORT_NAME("Left Clock") + PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_M) PORT_NAME("MENU") + PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_UP) PORT_NAME("UP") + PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_L) PORT_NAME("Left Clock") PORT_START("IN.3") - PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("ENTER") - PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("DOWN") - PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Right Clock") + PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("ENTER") + PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("DOWN") + PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Right Clock") PORT_START("FAKE") PORT_CONFNAME( 0x01, 0x00, "CPU Frequency" ) PORT_CHANGED_MEMBER(DEVICE_SELF, tasc_state, switch_cpu_freq, 0) diff --git a/src/mame/layout/mephisto_modena.lay b/src/mame/layout/mephisto_modena.lay index 043921ccd28..d723be85b1f 100644 --- a/src/mame/layout/mephisto_modena.lay +++ b/src/mame/layout/mephisto_modena.lay @@ -431,6 +431,7 @@ license:CC0 <!-- build screen --> + <view name="Internal Layout"> <bounds left="1" right="129" top="0.5" bottom="90" /> diff --git a/src/mame/layout/mephisto_mondial.lay b/src/mame/layout/mephisto_mondial.lay index 23f1d454190..fd8b13cbb89 100644 --- a/src/mame/layout/mephisto_mondial.lay +++ b/src/mame/layout/mephisto_mondial.lay @@ -350,6 +350,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- button panel --> + <group name="panel"> <bounds left="0" right="78" top="0" bottom="12" /> <element ref="panel_background"><bounds x="0" y="0" width="78" height="12" /></element> @@ -413,6 +416,10 @@ license:CC0 <view name="Internal Layout"> <bounds left="0" right="103" top="-2" bottom="103" /> + + <!-- button panel --> + <group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group> + <element ref="background"><bounds x="13" y="-2" width="90" height="90" /></element> <!-- chessboard coords --> @@ -436,6 +443,8 @@ license:CC0 <!-- chessboard bezel --> <element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element> + <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> <!-- chessboard leds --> <element name="0.2" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element> @@ -455,11 +464,5 @@ license:CC0 <element name="5.1" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element> <element name="6.1" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element> <element name="7.1" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element> - - <!-- LCD panel --> - <group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group> - - <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> </view> </mamelayout> diff --git a/src/mame/layout/mephisto_mondial2.lay b/src/mame/layout/mephisto_mondial2.lay index 493e8c0f69e..1d4f995e5c6 100644 --- a/src/mame/layout/mephisto_mondial2.lay +++ b/src/mame/layout/mephisto_mondial2.lay @@ -350,6 +350,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- button panel --> + <group name="panel"> <bounds left="0" right="78" top="0" bottom="12" /> <element ref="panel_background"><bounds x="0" y="0" width="78" height="12" /></element> @@ -413,6 +416,10 @@ license:CC0 <view name="Internal Layout"> <bounds left="0" right="103" top="-2" bottom="103" /> + + <!-- button panel --> + <group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group> + <element ref="background"><bounds x="13" y="-2" width="90" height="90" /></element> <!-- chessboard coords --> @@ -436,6 +443,8 @@ license:CC0 <!-- chessboard bezel --> <element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element> + <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> <!-- chessboard leds --> <element name="0.2" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element> @@ -455,11 +464,5 @@ license:CC0 <element name="5.1" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element> <element name="6.1" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element> <element name="7.1" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element> - - <!-- LCD panel --> - <group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group> - - <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> </view> </mamelayout> diff --git a/src/mame/layout/mephisto_mondial68k.lay b/src/mame/layout/mephisto_mondial68k.lay index 79bb8780067..4de8bef3044 100644 --- a/src/mame/layout/mephisto_mondial68k.lay +++ b/src/mame/layout/mephisto_mondial68k.lay @@ -348,6 +348,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- lcd/button panel --> + <group name="panel"> <bounds left="0" right="79" top="0" bottom="12" /> <element ref="background"><bounds x="0" y="0" width="79" height="12" /></element> @@ -437,8 +440,13 @@ license:CC0 <element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element> <element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element> + <!-- LCD panel --> + <group ref="panel"><bounds x="18" y="89" width="79" height="12" /></group> + <!-- chessboard bezel --> <element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element> + <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> <!-- chessboard leds --> <element name="1.0" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element> @@ -458,11 +466,5 @@ license:CC0 <element name="0.5" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element> <element name="0.6" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element> <element name="0.7" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element> - - <!-- LCD panel --> - <group ref="panel"><bounds x="18" y="89" width="79" height="12" /></group> - - <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> </view> </mamelayout> diff --git a/src/mame/layout/mephisto_montec.lay b/src/mame/layout/mephisto_montec.lay index 02d13f9594b..ae9692aad7e 100644 --- a/src/mame/layout/mephisto_montec.lay +++ b/src/mame/layout/mephisto_montec.lay @@ -396,6 +396,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- lcd/button panel --> + <group name="panel"> <bounds left="0" right="80" top="-0.5" bottom="13.5" /> <element ref="background"><bounds x="0" y="-0.5" width="80" height="13.5" /></element> @@ -482,6 +485,7 @@ license:CC0 <element ref="hlbr" inputtag="KEY.0" inputmask="0x80"> <bounds x="76" y="8" width="1.5" height="2.5" /> </element> </group> + <!-- build screen --> <view name="Internal Layout"> diff --git a/src/mame/layout/mephisto_montreux.lay b/src/mame/layout/mephisto_montreux.lay new file mode 100644 index 00000000000..f8bcdd818cf --- /dev/null +++ b/src/mame/layout/mephisto_montreux.lay @@ -0,0 +1,533 @@ +<?xml version="1.0"?> +<!-- +license:CC0 +--> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="digit" defstate="0"> + <led7seg> + <color red="0.200" green="0.164" blue="0.169" /> + </led7seg> + </element> + <element name="led" defstate="0"> + <rect state="0"> + <color red="0.15" green="0.015" blue="0.02" /> + </rect> + <rect state="1"> + <color red="1" green="0.1" blue="0.15" /> + </rect> + </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.2" green="0.2" blue="0.2" /> + </rect> + <rect state="1"> + <bounds x="0.0" y="0.0" width="1.0" height="1.0" /> + <color red="0.4" green="0.4" blue="0.4" /> + </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_go"> <text string="GO" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_stop"> <text string="STOP" > <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_play"> <text string="PLAY" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_back"> <text string="BACK" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_left"> <text string="←" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_right"> <text string="→" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_menu"> <text string="MENU" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_up"> <text string="↑" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_down"> <text string="↓" > <color red="1" green="1" blue="1" /></text> </element> + <element name="text_enter"> <text string="ENTER" > <color red="1" green="1" blue="1" /></text> </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="sym_colon" defstate="0"> + <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> + <text state="0" string=":"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> + <text state="1" string=":"> <color red="0.200" green="0.164" blue="0.169" /></text> + </element> + <element name="sym_left" defstate="0"> + <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> + <text state="0" string="←"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> + <text state="1" string="←"> <color red="0.200" green="0.164" blue="0.169" /></text> + </element> + <element name="sym_right" defstate="0"> + <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> + <text state="0" string="→"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> + <text state="1" string="→"> <color red="0.200" green="0.164" blue="0.169" /></text> + </element> + <element name="sym_white" defstate="0"> + <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> + <text state="0" string="○"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> + <text state="1" string="○"> <color red="0.200" green="0.164" blue="0.169" /></text> + </element> + <element name="sym_black" defstate="0"> + <rect><color red="1.0" green="1.0" blue="1.0" /></rect> + <text state="0" string="●"> <color red="0.91300" green="0.90411" blue="0.89188" /></text> + <text state="1" string="●"> <color red="0.36954" green="0.27945" blue="0.27567" /></text> + </element> + + <element name="sym_p10" defstate="0"><image state="0" file="chess/bk.svg"><color alpha="0.06"/></image></element> + <element name="sym_p20" defstate="0"><image state="0" file="chess/bq.svg"><color alpha="0.06"/></image></element> + <element name="sym_p30" defstate="0"><image state="0" file="chess/br.svg"><color alpha="0.06"/></image></element> + <element name="sym_p40" defstate="0"><image state="0" file="chess/bb.svg"><color alpha="0.06"/></image></element> + <element name="sym_p50" defstate="0"><image state="0" file="chess/bn.svg"><color alpha="0.06"/></image></element> + <element name="sym_p60" defstate="0"><image state="0" file="chess/bp.svg"><color alpha="0.06"/></image></element> + + <element name="sym_p11" defstate="1"><image state="1" file="chess/bk.svg"></image></element> + <element name="sym_p21" defstate="1"><image state="1" file="chess/bq.svg"></image></element> + <element name="sym_p31" defstate="1"><image state="1" file="chess/br.svg"></image></element> + <element name="sym_p41" defstate="1"><image state="1" file="chess/bb.svg"></image></element> + <element name="sym_p51" defstate="1"><image state="1" file="chess/bn.svg"></image></element> + <element name="sym_p61" defstate="1"><image state="1" file="chess/bp.svg"></image></element> + + <element name="lcd_bg"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element> + <element name="lcd_a"><rect><color red="0.3" green="0.3" blue="0.3" /></rect></element> + <element name="blackb"><rect><color red="0.1" green="0.1" blue="0.1" /></rect></element> + <element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element> + <element name="wmask"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></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="cwhite"><rect><color red="0.86" green="0.85" blue="0.85" /></rect></element> + <element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></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> + + <!-- sensors, pieces --> + <repeat count="8"> + <param name="y" start="0" increment="10" /> + <param name="i" start="8" increment="-1" /> + + <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> + <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.86" green="0.85" blue="0.85" /></rect> + <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uib3"> + <rect><color red="0.86" green="0.85" blue="0.85" /></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.86" green="0.85" blue="0.85" /></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.86" green="0.85" blue="0.85" /></rect> + <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2b"> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> + <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2c"> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> + <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> + </element> + <element name="text_uiu2d"> + <rect><color red="0.86" green="0.85" blue="0.85" /></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: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> + <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: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> + <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: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: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> + <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> + </group> + + +<!-- LCD panel --> + + <group name="lcd"> + <bounds x="0" y="0" width="30.1" height="11.2" /> + <element ref="whitew"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + <element name="sym2" ref="sym_p61"><bounds x="24.0" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym3" ref="sym_p51"><bounds x="20.75" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym4" ref="sym_p41"><bounds x="17.50" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym6" ref="sym_p31"><bounds x="14.25" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym7" ref="sym_p21"><bounds x="11.00" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym8" ref="sym_p11"><bounds x="7.75" y="8.1" width="2.5" height="2.2" /></element> + <element ref="lcd_a" blend="add"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + + <element ref="lcd_bg" blend="multiply"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + <element name="sym2" ref="sym_p60"><bounds x="24.0" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym3" ref="sym_p50"><bounds x="20.75" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym4" ref="sym_p40"><bounds x="17.50" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym6" ref="sym_p30"><bounds x="14.25" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym7" ref="sym_p20"><bounds x="11.00" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym8" ref="sym_p10"><bounds x="7.75" y="8.1" width="2.5" height="2.2" /></element> + + <element name="sym11" ref="sym_left"><bounds x="0.40" y="7.6" width="3" height="3" /></element> + <element name="sym1" ref="sym_right"><bounds x="26.60" y="7.6" width="3" height="3" /></element> + <element name="sym9" ref="sym_white"><bounds x="3.55" y="7.6" width="4" height="3" /></element> + <element name="sym10" ref="sym_black" blend="multiply"><bounds x="4.45" y="8.07" width="2.2" height="2.2" /></element> + + <screen index="0" blend="alpha"><bounds x="0" y="0.35" width="30" height="3.6986" /></screen> + + <element name="sym12" ref="sym_colon" ><bounds x="12.0" y="4.5" width="1.5" height="3" /></element> + <element name="sym13" ref="sym_colon" ><bounds x="24.2" y="4.5" width="1.5" height="3" /></element> + <element name="digit11" ref="digit" ><bounds x="0.9" y="4.5" width="1.6" height="3" /></element> + <element name="digit10" ref="digit" ><bounds x="3.35" y="4.5" width="1.6" height="3" /></element> + <element name="digit9" ref="digit" ><bounds x="5.8" y="4.5" width="1.6" height="3" /></element> + <element name="digit8" ref="digit" ><bounds x="8.25" y="4.5" width="1.6" height="3" /></element> + <element name="digit7" ref="digit" ><bounds x="10.7" y="4.5" width="1.6" height="3" /></element> + <element name="digit6" ref="digit" ><bounds x="13.15" y="4.5" width="1.6" height="3" /></element> + <element name="digit5" ref="digit" ><bounds x="15.6" y="4.5" width="1.6" height="3" /></element> + <element name="digit4" ref="digit" ><bounds x="18.05" y="4.5" width="1.6" height="3" /></element> + <element name="digit3" ref="digit" ><bounds x="20.5" y="4.5" width="1.6" height="3" /></element> + <element name="digit2" ref="digit" ><bounds x="22.95" y="4.5" width="1.6" height="3" /></element> + <element name="digit1" ref="digit" ><bounds x="25.4" y="4.5" width="1.6" height="3" /></element> + <element name="digit0" ref="digit" ><bounds x="27.85" y="4.5" width="1.6" height="3" /></element> + </group> + + +<!-- build screen --> + + <view name="Internal Layout (Full)"> + <bounds x="2" y="0" width="164.5" height="89" /> + + <!-- chess coords --> + <element ref="text_8"><bounds x="18.7" y="6" width="2" height="2" /></element> + <element ref="text_7"><bounds x="18.7" y="16" width="2" height="2" /></element> + <element ref="text_6"><bounds x="18.7" y="26" width="2" height="2" /></element> + <element ref="text_5"><bounds x="18.7" y="36" width="2" height="2" /></element> + <element ref="text_4"><bounds x="18.7" y="46" width="2" height="2" /></element> + <element ref="text_3"><bounds x="18.7" y="56" width="2" height="2" /></element> + <element ref="text_2"><bounds x="18.7" y="66" width="2" height="2" /></element> + <element ref="text_1"><bounds x="18.7" y="76" width="2" height="2" /></element> + <element ref="text_a"><bounds x="25" y="82.6" width="2" height="2" /></element> + <element ref="text_b"><bounds x="35" y="82.6" width="2" height="2" /></element> + <element ref="text_c"><bounds x="45" y="82.6" width="2" height="2" /></element> + <element ref="text_d"><bounds x="55" y="82.6" width="2" height="2" /></element> + <element ref="text_e"><bounds x="65" y="82.6" width="2" height="2" /></element> + <element ref="text_f"><bounds x="75" y="82.6" width="2" height="2" /></element> + <element ref="text_g"><bounds x="85" y="82.6" width="2" height="2" /></element> + <element ref="text_h"><bounds x="95" y="82.6" width="2" height="2" /></element> + + <!-- right side --> + <element ref="text_p1"><bounds x="109.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p2"><bounds x="118.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p3"><bounds x="127.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p4"><bounds x="136.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p5"><bounds x="145.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p6"><bounds x="154.5" y="65.5" width="4" height="4" /></element> + + <element ref="text_go" ><bounds x="108" y="37.4" width="8" height="2" /></element> + <element ref="text_stop" ><bounds x="119" y="37.4" width="8" height="2" /></element> + <element ref="text_newgame" ><bounds x="129" y="37.4" width="10" height="2" /></element> + <element ref="text_play" ><bounds x="141" y="37.4" width="8" height="2" /></element> + <element ref="text_back" ><bounds x="152" y="37.4" width="8" height="2" /></element> + + <element ref="text_left" ><bounds x="108" y="51.9" width="7" height="3" /></element> + <element ref="text_right" ><bounds x="117" y="51.9" width="7" height="3" /></element> + <element ref="text_menu" ><bounds x="126" y="52.4" width="7" height="2" /></element> + <element ref="text_up" ><bounds x="135" y="51.4" width="7" height="3" /></element> + <element ref="text_down" ><bounds x="144" y="51.4" width="7" height="3" /></element> + <element ref="text_enter" ><bounds x="153" y="52.4" width="7" height="2" /></element> + + <element ref="wmask" blend="multiply"><bounds x="0" y="0" width="170" height="90" /></element> + + <element ref="hlb" inputtag="RESET" inputmask="0x01"><bounds x="108" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.7" inputmask="0x80"><bounds x="119" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.6" inputmask="0x80"><bounds x="130" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.5" inputmask="0x80"><bounds x="141" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.0" inputmask="0x80"><bounds x="152" y="40" width="8" height="2" /></element> + + <element ref="hlb" inputtag="IN.7" inputmask="0x40"><bounds x="108" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.6" inputmask="0x40"><bounds x="117" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.4" inputmask="0x80"><bounds x="126" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.3" inputmask="0x80"><bounds x="135" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.2" inputmask="0x80"><bounds x="144" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.1" inputmask="0x80"><bounds x="153" y="55" width="7" height="2" /></element> + + <element ref="hlb" inputtag="IN.5" inputmask="0x40"><bounds x="108" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.4" inputmask="0x40"><bounds x="117" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.3" inputmask="0x40"><bounds x="126" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.2" inputmask="0x40"><bounds x="135" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.1" inputmask="0x40"><bounds x="144" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.0" inputmask="0x40"><bounds x="153" y="70" width="7" height="2" /></element> + + <element ref="cblack"><bounds x="108" y="8.2" width="52" height="13.8" /></element> + <element ref="blackb"><bounds x="109" y="9.2" width="30.7" height="11.8" /></element> + <group ref="lcd"><bounds x="109.3" y="9.5" width="30.1" height="11.2" /></group> + + <!-- LEDs --> + <element name="led0" ref="led"><bounds x="16.2" y="76.5" width="2" height="1" /></element> + <element name="led1" ref="led"><bounds x="16.2" y="66.5" width="2" height="1" /></element> + <element name="led2" ref="led"><bounds x="16.2" y="56.5" width="2" height="1" /></element> + <element name="led3" ref="led"><bounds x="16.2" y="46.5" width="2" height="1" /></element> + <element name="led4" ref="led"><bounds x="16.2" y="36.5" width="2" height="1" /></element> + <element name="led5" ref="led"><bounds x="16.2" y="26.5" width="2" height="1" /></element> + <element name="led6" ref="led"><bounds x="16.2" y="16.5" width="2" height="1" /></element> + <element name="led7" ref="led"><bounds x="16.2" y="6.5" width="2" height="1" /></element> + <element name="led8" ref="led"><bounds x="25.5" y="85.2" width="1" height="2" /></element> + <element name="led9" ref="led"><bounds x="35.5" y="85.2" width="1" height="2" /></element> + <element name="led10" ref="led"><bounds x="45.5" y="85.2" width="1" height="2" /></element> + <element name="led11" ref="led"><bounds x="55.5" y="85.2" width="1" height="2" /></element> + <element name="led12" ref="led"><bounds x="65.5" y="85.2" width="1" height="2" /></element> + <element name="led13" ref="led"><bounds x="75.5" y="85.2" width="1" height="2" /></element> + <element name="led14" ref="led"><bounds x="85.5" y="85.2" width="1" height="2" /></element> + <element name="led15" ref="led"><bounds x="95.5" y="85.2" width="1" height="2" /></element> + + <group ref="sb_board"><bounds x="21" y="2" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="3.5" y="2" width="10" height="80" /></group> + </view> + + <view name="Internal Layout (LCD)"> + <group ref="lcd"><bounds x="0" y="0" width="30.1" height="11.2" /></group> + </view> +</mamelayout> diff --git a/src/mame/layout/mephisto_polgar.lay b/src/mame/layout/mephisto_polgar.lay index e3618b188a8..5fdb939fa53 100644 --- a/src/mame/layout/mephisto_polgar.lay +++ b/src/mame/layout/mephisto_polgar.lay @@ -431,8 +431,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> - <!-- chessboard coords --> - + <!-- 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> @@ -451,11 +450,10 @@ license:CC0 <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 --> + <!-- 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> diff --git a/src/mame/layout/mephisto_risc.lay b/src/mame/layout/mephisto_risc.lay index e3618b188a8..5fdb939fa53 100644 --- a/src/mame/layout/mephisto_risc.lay +++ b/src/mame/layout/mephisto_risc.lay @@ -431,8 +431,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> - <!-- chessboard coords --> - + <!-- 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> @@ -451,11 +450,10 @@ license:CC0 <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 --> + <!-- 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> diff --git a/src/mame/layout/mephisto_smondial.lay b/src/mame/layout/mephisto_smondial.lay index a82503ba114..3660eab8f90 100644 --- a/src/mame/layout/mephisto_smondial.lay +++ b/src/mame/layout/mephisto_smondial.lay @@ -366,6 +366,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- lcd/button panel --> + <group name="panel"> <bounds left="0" right="79" top="0" bottom="13" /> <element ref="background"><bounds x="0" y="0" width="79" height="13" /></element> @@ -496,8 +499,13 @@ license:CC0 <element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element> <element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element> + <!-- LCD panel --> + <group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group> + <!-- chessboard bezel --> <element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element> + <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> <!-- chessboard leds --> <element ref="ledo"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element> @@ -553,11 +561,5 @@ license:CC0 <element name="5.5" ref="ledr" blend="add"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element> <element name="6.5" ref="ledr" blend="add"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element> <element name="7.5" ref="ledr" blend="add"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element> - - <!-- LCD panel --> - <group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group> - - <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> </view> </mamelayout> diff --git a/src/mame/layout/mephisto_smondial2.lay b/src/mame/layout/mephisto_smondial2.lay index 7daf3e2d41e..43276750726 100644 --- a/src/mame/layout/mephisto_smondial2.lay +++ b/src/mame/layout/mephisto_smondial2.lay @@ -369,6 +369,9 @@ license:CC0 <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> </group> + +<!-- lcd/button panel --> + <group name="panel"> <bounds left="0" right="79" top="0" bottom="13" /> <element ref="background"><bounds x="0" y="0" width="79" height="13" /></element> @@ -499,8 +502,13 @@ license:CC0 <element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element> <element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element> + <!-- LCD panel --> + <group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group> + <!-- chessboard bezel --> <element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element> + <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> + <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> <!-- chessboard leds --> <element ref="ledo"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element> @@ -556,11 +564,5 @@ license:CC0 <element name="5.5" ref="ledr" blend="add"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element> <element name="6.5" ref="ledr" blend="add"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element> <element name="7.5" ref="ledr" blend="add"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element> - - <!-- LCD panel --> - <group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group> - - <group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group> </view> </mamelayout> diff --git a/src/mame/layout/saitek_risc2500.lay b/src/mame/layout/saitek_risc2500.lay index 265c42ed573..d2c806c90fb 100644 --- a/src/mame/layout/saitek_risc2500.lay +++ b/src/mame/layout/saitek_risc2500.lay @@ -13,10 +13,10 @@ license:CC0 </element> <element name="led" defstate="0"> <rect state="0"> - <color red="0.20" green="0.0" blue="0.0" /> + <color red="0.1" green="0.01" blue="0.015" /> </rect> <rect state="1"> - <color red="0.95" green="0.0" blue="0.0" /> + <color red="1" green="0.1" blue="0.15" /> </rect> </element> <element name="hlb" defstate="0"> @@ -30,93 +30,85 @@ license:CC0 </rect> </element> - <element name="text_1"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="1"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_2"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="2"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_3"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="3"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_4"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="4"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_5"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="5"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_6"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="6"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_7"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="7"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_8"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="8"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_a"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="A"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_b"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="B"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_c"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="C"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_d"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="D"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_e"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="E"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_f"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="F"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_g"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="G"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_h"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="H"><color red="0.01" green="0.01" blue="0.01" /></text> </element> - <element name="text_on"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="ON" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_off"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="OFF" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_newgame"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="NEW GAME" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_play"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="PLAY" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_back"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="BACK" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_left"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="←" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_right"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="→" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_menu"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="MENU" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_up"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="↑" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_down"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="↓" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> - <element name="text_enter"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="ENTER" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_1"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="1"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_2"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="2"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_3"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="3"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_4"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="4"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_5"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="5"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_6"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="6"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_7"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="7"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_8"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="8"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_a"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="A"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_b"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="B"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_c"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="C"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_d"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="D"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_e"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="E"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_f"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="F"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_g"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="G"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_h"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="H"><color red="0.01" green="0.01" blue="0.01" /></text> </element> + <element name="text_on"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="ON" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_off"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="OFF" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_newgame"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="NEW GAME" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_play"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="PLAY" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_back"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="BACK" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_left"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="←" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_right"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="→" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_menu"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="MENU" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_up"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="↑" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_down"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="↓" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> + <element name="text_enter"> <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="ENTER" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> <element name="text_p1"> <image file="chess/bk.svg"/></element> <element name="text_p2"> <image file="chess/bq.svg"/></element> <element name="text_p3"> <image file="chess/br.svg"/></element> <element name="text_p4"> <image file="chess/bb.svg"/></element> <element name="text_p5"> <image file="chess/bn.svg"/></element> <element name="text_p6"> <image file="chess/bp.svg"/></element> - <element name="sym_colon"> + + <element name="sym_colon" defstate="0"> <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> <text state="0" string=":"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> <text state="1" string=":"> <color red="0.200" green="0.164" blue="0.169" /></text> </element> - <element name="sym_left"> + <element name="sym_left" defstate="0"> <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> <text state="0" string="←"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> <text state="1" string="←"> <color red="0.200" green="0.164" blue="0.169" /></text> </element> - <element name="sym_right"> + <element name="sym_right" defstate="0"> <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> <text state="0" string="→"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> <text state="1" string="→"> <color red="0.200" green="0.164" blue="0.169" /></text> </element> - <element name="sym_white"> + <element name="sym_white" defstate="0"> <rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect> <text state="0" string="○"> <color red="0.49412" green="0.51765" blue="0.51765" /></text> <text state="1" string="○"> <color red="0.200" green="0.164" blue="0.169" /></text> </element> - <element name="sym_black"> + <element name="sym_black" defstate="0"> <rect><color red="1.0" green="1.0" blue="1.0" /></rect> <text state="0" string="●"> <color red="0.91300" green="0.90411" blue="0.89188" /></text> <text state="1" string="●"> <color red="0.36954" green="0.27945" blue="0.27567" /></text> </element> - <element name="sym_p1"> - <image state="0" file="chess/bk.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/bk.svg"><color alpha="0.65"/></image> - </element> - <element name="sym_p2"> - <image state="0" file="chess/bq.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/bq.svg"><color alpha="0.65"/></image> - </element> - <element name="sym_p3"> - <image state="0" file="chess/br.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/br.svg"><color alpha="0.65"/></image> - </element> - <element name="sym_p4"> - <image state="0" file="chess/bb.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/bb.svg"><color alpha="0.65"/></image> - </element> - <element name="sym_p5"> - <image state="0" file="chess/bn.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/bn.svg"><color alpha="0.65"/></image> - </element> - <element name="sym_p6"> - <image state="0" file="chess/bp.svg"><color alpha="0.06"/></image> - <image state="1" file="chess/bp.svg"><color alpha="0.65"/></image> - </element> + + <element name="sym_p10" defstate="0"><image state="0" file="chess/bk.svg"><color alpha="0.06"/></image></element> + <element name="sym_p20" defstate="0"><image state="0" file="chess/bq.svg"><color alpha="0.06"/></image></element> + <element name="sym_p30" defstate="0"><image state="0" file="chess/br.svg"><color alpha="0.06"/></image></element> + <element name="sym_p40" defstate="0"><image state="0" file="chess/bb.svg"><color alpha="0.06"/></image></element> + <element name="sym_p50" defstate="0"><image state="0" file="chess/bn.svg"><color alpha="0.06"/></image></element> + <element name="sym_p60" defstate="0"><image state="0" file="chess/bp.svg"><color alpha="0.06"/></image></element> + + <element name="sym_p11" defstate="1"><image state="1" file="chess/bk.svg"></image></element> + <element name="sym_p21" defstate="1"><image state="1" file="chess/bq.svg"></image></element> + <element name="sym_p31" defstate="1"><image state="1" file="chess/br.svg"></image></element> + <element name="sym_p41" defstate="1"><image state="1" file="chess/bb.svg"></image></element> + <element name="sym_p51" defstate="1"><image state="1" file="chess/bn.svg"></image></element> + <element name="sym_p61" defstate="1"><image state="1" file="chess/bp.svg"></image></element> <element name="lcd_bg"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element> - <element name="background"><rect><color red="0.63" green="0.63" blue="0.63" /></rect></element> + <element name="lcd_a"><rect><color red="0.3" green="0.3" blue="0.3" /></rect></element> <element name="blackb"><rect><color red="0.1" green="0.1" blue="0.1" /></rect></element> <element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element> + <element name="red"><rect><color red="0.85" green="0.4" blue="0.4" /></rect></element> <element name="bmask"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element> <element name="piece" defstate="0"> @@ -153,8 +145,8 @@ license:CC0 <!-- sb board --> - <element name="cwhite"><rect><color red="0.93" green="0.93" blue="0.93" /></rect></element> - <element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element> + <element name="cwhite"><rect><color red="0.86" green="0.85" blue="0.85" /></rect></element> + <element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element> <element name="hlbb" defstate="0"> <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> @@ -276,34 +268,34 @@ license:CC0 <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.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> </element> <element name="text_uib3"> - <rect><color red="0.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></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.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></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.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> </element> <element name="text_uiu2b"> - <rect><color red="0.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> </element> <element name="text_uiu2c"> - <rect><color red="0.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> </element> <element name="text_uiu2d"> - <rect><color red="0.93" green="0.93" blue="0.93" /></rect> + <rect><color red="0.86" green="0.85" blue="0.85" /></rect> <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text> </element> <element name="text_uiu3a" defstate="0"> @@ -402,12 +394,30 @@ license:CC0 <!-- LCD panel --> <group name="lcd"> - <bounds x="0" y="0" width="30" height="11.2" /> - <element ref="lcd_bg"><bounds x="0" y="0" width="30.0" height="11.2" /></element> - <screen index="0" blend="alpha"><bounds x="0" y="0.35" width="30" height="3.6986" /></screen> + <bounds x="0" y="0" width="30.1" height="11.2" /> + <element ref="whitew"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + <element name="sym2" ref="sym_p61"><bounds x="24.0" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym3" ref="sym_p51"><bounds x="20.75" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym4" ref="sym_p41"><bounds x="17.50" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym6" ref="sym_p31"><bounds x="14.25" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym7" ref="sym_p21"><bounds x="11.00" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym8" ref="sym_p11"><bounds x="7.75" y="8.1" width="2.5" height="2.2" /></element> + <element ref="lcd_a" blend="add"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + + <element ref="lcd_bg" blend="multiply"><bounds x="0" y="0" width="30.1" height="11.2" /></element> + <element name="sym2" ref="sym_p60"><bounds x="24.0" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym3" ref="sym_p50"><bounds x="20.75" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym4" ref="sym_p40"><bounds x="17.50" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym6" ref="sym_p30"><bounds x="14.25" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym7" ref="sym_p20"><bounds x="11.00" y="8.1" width="2.5" height="2.2" /></element> + <element name="sym8" ref="sym_p10"><bounds x="7.75" y="8.1" width="2.5" height="2.2" /></element> + + <element name="sym11" ref="sym_left"><bounds x="0.40" y="7.6" width="3" height="3" /></element> + <element name="sym1" ref="sym_right"><bounds x="26.60" y="7.6" width="3" height="3" /></element> + <element name="sym9" ref="sym_white"><bounds x="3.55" y="7.6" width="4" height="3" /></element> + <element name="sym10" ref="sym_black" blend="multiply"><bounds x="4.45" y="8.07" width="2.2" height="2.2" /></element> - <element name="sym9" ref="sym_white" > <bounds x="3.55" y="7.5" width="4" height="3" /></element> - <element name="sym10" ref="sym_black" blend="multiply"> <bounds x="4.45" y="7.97" width="2.2" height="2.2" /></element> + <screen index="0" blend="alpha"><bounds x="0" y="0.35" width="30" height="3.6986" /></screen> <element name="sym12" ref="sym_colon" ><bounds x="12.0" y="4.5" width="1.5" height="3" /></element> <element name="sym13" ref="sym_colon" ><bounds x="24.2" y="4.5" width="1.5" height="3" /></element> @@ -423,112 +433,108 @@ license:CC0 <element name="digit2" ref="digit" ><bounds x="22.95" y="4.5" width="1.6" height="3" /></element> <element name="digit1" ref="digit" ><bounds x="25.4" y="4.5" width="1.6" height="3" /></element> <element name="digit0" ref="digit" ><bounds x="27.85" y="4.5" width="1.6" height="3" /></element> - - <element name="sym1" ref="sym_right" > <bounds x="26.60" y="7.7" width="3" height="3" /></element> - <element name="sym2" ref="sym_p6" > <bounds x="24.0" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym3" ref="sym_p5" > <bounds x="20.75" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym4" ref="sym_p4" > <bounds x="17.50" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym6" ref="sym_p3" > <bounds x="14.25" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym7" ref="sym_p2" > <bounds x="11.00" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym8" ref="sym_p1" > <bounds x="7.75" y="8.1" width="2.5" height="2.2" /></element> - <element name="sym11" ref="sym_left" > <bounds x="0.40" y="7.7" width="3" height="3" /></element> </group> <!-- build screen --> <view name="Internal Layout (Full)"> - <bounds x="0" y="0" width="167" height="90" /> - - <element ref="background"><bounds x="13" y="0" width="154" height="90" /></element> - - <element ref="whitew"><bounds x="110.5" y="65.5" width="50" height="4" /></element> - <element ref="text_p1"><bounds x="110.5" y="65.5" width="4" height="4" /></element> - <element ref="text_p2"><bounds x="119.5" y="65.5" width="4" height="4" /></element> - <element ref="text_p3"><bounds x="128.5" y="65.5" width="4" height="4" /></element> - <element ref="text_p4"><bounds x="137.5" y="65.5" width="4" height="4" /></element> - <element ref="text_p5"><bounds x="146.5" y="65.5" width="4" height="4" /></element> - <element ref="text_p6"><bounds x="155.5" y="65.5" width="4" height="4" /></element> - <element ref="bmask" blend="add"><bounds x="110.5" y="65.5" width="50" height="4" /></element> - <element ref="background" blend="multiply"><bounds x="110.5" y="65.5" width="50" height="4" /></element> - - <element ref="text_8" ><bounds x="18" y="6" width="2" height="2" /></element> - <element ref="text_7" ><bounds x="18" y="16" width="2" height="2" /></element> - <element ref="text_6" ><bounds x="18" y="26" width="2" height="2" /></element> - <element ref="text_5" ><bounds x="18" y="36" width="2" height="2" /></element> - <element ref="text_4" ><bounds x="18" y="46" width="2" height="2" /></element> - <element ref="text_3" ><bounds x="18" y="56" width="2" height="2" /></element> - <element ref="text_2" ><bounds x="18" y="66" width="2" height="2" /></element> - <element ref="text_1" ><bounds x="18" y="76" width="2" height="2" /></element> - <element ref="text_a" ><bounds x="25" y="83.5" width="2" height="2" /></element> - <element ref="text_b" ><bounds x="35" y="83.5" width="2" height="2" /></element> - <element ref="text_c" ><bounds x="45" y="83.5" width="2" height="2" /></element> - <element ref="text_d" ><bounds x="55" y="83.5" width="2" height="2" /></element> - <element ref="text_e" ><bounds x="65" y="83.5" width="2" height="2" /></element> - <element ref="text_f" ><bounds x="75" y="83.5" width="2" height="2" /></element> - <element ref="text_g" ><bounds x="85" y="83.5" width="2" height="2" /></element> - <element ref="text_h" ><bounds x="95" y="83.5" width="2" height="2" /></element> - - <!-- LEDs --> - <element name="led0" ref="led"><bounds x="15" y="76.5" width="2" height="1" /></element> - <element name="led1" ref="led"><bounds x="15" y="66.5" width="2" height="1" /></element> - <element name="led2" ref="led"><bounds x="15" y="56.5" width="2" height="1" /></element> - <element name="led3" ref="led"><bounds x="15" y="46.5" width="2" height="1" /></element> - <element name="led4" ref="led"><bounds x="15" y="36.5" width="2" height="1" /></element> - <element name="led5" ref="led"><bounds x="15" y="26.5" width="2" height="1" /></element> - <element name="led6" ref="led"><bounds x="15" y="16.5" width="2" height="1" /></element> - <element name="led7" ref="led"><bounds x="15" y="6.5" width="2" height="1" /></element> - <element name="led8" ref="led"><bounds x="25.5" y="86.5" width="1" height="2" /></element> - <element name="led9" ref="led"><bounds x="35.5" y="86.5" width="1" height="2" /></element> - <element name="led10" ref="led"><bounds x="45.5" y="86.5" width="1" height="2" /></element> - <element name="led11" ref="led"><bounds x="55.5" y="86.5" width="1" height="2" /></element> - <element name="led12" ref="led"><bounds x="65.5" y="86.5" width="1" height="2" /></element> - <element name="led13" ref="led"><bounds x="75.5" y="86.5" width="1" height="2" /></element> - <element name="led14" ref="led"><bounds x="85.5" y="86.5" width="1" height="2" /></element> - <element name="led15" ref="led"><bounds x="95.5" y="86.5" width="1" height="2" /></element> + <bounds x="1.5" y="0" width="165" height="89" /> + + <element ref="cwhite"><bounds x="14.5" y="0" width="152" height="89" /></element> + + <!-- chess coords --> + <element ref="text_8"><bounds x="18.3" y="6" width="2" height="2" /></element> + <element ref="text_7"><bounds x="18.3" y="16" width="2" height="2" /></element> + <element ref="text_6"><bounds x="18.3" y="26" width="2" height="2" /></element> + <element ref="text_5"><bounds x="18.3" y="36" width="2" height="2" /></element> + <element ref="text_4"><bounds x="18.3" y="46" width="2" height="2" /></element> + <element ref="text_3"><bounds x="18.3" y="56" width="2" height="2" /></element> + <element ref="text_2"><bounds x="18.3" y="66" width="2" height="2" /></element> + <element ref="text_1"><bounds x="18.3" y="76" width="2" height="2" /></element> + <element ref="text_a"><bounds x="25" y="83.1" width="2" height="2" /></element> + <element ref="text_b"><bounds x="35" y="83.1" width="2" height="2" /></element> + <element ref="text_c"><bounds x="45" y="83.1" width="2" height="2" /></element> + <element ref="text_d"><bounds x="55" y="83.1" width="2" height="2" /></element> + <element ref="text_e"><bounds x="65" y="83.1" width="2" height="2" /></element> + <element ref="text_f"><bounds x="75" y="83.1" width="2" height="2" /></element> + <element ref="text_g"><bounds x="85" y="83.1" width="2" height="2" /></element> + <element ref="text_h"><bounds x="95" y="83.1" width="2" height="2" /></element> <!-- right side --> - <element ref="text_on" ><bounds x="109" y="37" width="8" height="2" /></element> - <element ref="text_off" ><bounds x="120" y="37" width="8" height="2" /></element> - <element ref="text_newgame" ><bounds x="131" y="37" width="8" height="2" /></element> - <element ref="text_play" ><bounds x="142" y="37" width="8" height="2" /></element> - <element ref="text_back" ><bounds x="153" y="37" width="8" height="2" /></element> - - <element ref="text_left" ><bounds x="109" y="52" width="7" height="3" /></element> - <element ref="text_right" ><bounds x="118" y="52" width="7" height="3" /></element> - <element ref="text_menu" ><bounds x="127" y="52" width="7" height="2" /></element> - <element ref="text_up" ><bounds x="136" y="51" width="7" height="3" /></element> - <element ref="text_down" ><bounds x="145" y="51" width="7" height="3" /></element> - <element ref="text_enter" ><bounds x="154" y="52" width="7" height="2" /></element> - - <element ref="hlb" inputtag="RESET" inputmask="0x01"><bounds x="109" y="40" width="8" height="2" /></element> - <element ref="hlb" inputtag="P7" inputmask="0x80"><bounds x="120" y="40" width="8" height="2" /></element> - <element ref="hlb" inputtag="P6" inputmask="0x80"><bounds x="131" y="40" width="8" height="2" /></element> - <element ref="hlb" inputtag="P5" inputmask="0x80"><bounds x="142" y="40" width="8" height="2" /></element> - <element ref="hlb" inputtag="P0" inputmask="0x80"><bounds x="153" y="40" width="8" height="2" /></element> - - <element ref="hlb" inputtag="P7" inputmask="0x40"><bounds x="109" y="55" width="7" height="2" /></element> - <element ref="hlb" inputtag="P6" inputmask="0x40"><bounds x="118" y="55" width="7" height="2" /></element> - <element ref="hlb" inputtag="P4" inputmask="0x80"><bounds x="127" y="55" width="7" height="2" /></element> - <element ref="hlb" inputtag="P3" inputmask="0x80"><bounds x="136" y="55" width="7" height="2" /></element> - <element ref="hlb" inputtag="P2" inputmask="0x80"><bounds x="145" y="55" width="7" height="2" /></element> - <element ref="hlb" inputtag="P1" inputmask="0x80"><bounds x="154" y="55" width="7" height="2" /></element> - - <element ref="hlb" inputtag="P5" inputmask="0x40"><bounds x="109" y="70" width="7" height="2" /></element> - <element ref="hlb" inputtag="P4" inputmask="0x40"><bounds x="118" y="70" width="7" height="2" /></element> - <element ref="hlb" inputtag="P3" inputmask="0x40"><bounds x="127" y="70" width="7" height="2" /></element> - <element ref="hlb" inputtag="P2" inputmask="0x40"><bounds x="136" y="70" width="7" height="2" /></element> - <element ref="hlb" inputtag="P1" inputmask="0x40"><bounds x="145" y="70" width="7" height="2" /></element> - <element ref="hlb" inputtag="P0" inputmask="0x40"><bounds x="154" y="70" width="7" height="2" /></element> - - <element ref="blackb"><bounds x="108.8" y="10.4" width="30.4" height="11.6" /></element> - <group ref="lcd"><bounds x="109" y="10.6" width="30" height="11.2" /></group> - + <element ref="whitew"><bounds x="109.5" y="65.5" width="50" height="4" /></element> + <element ref="text_p1"><bounds x="109.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p2"><bounds x="118.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p3"><bounds x="127.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p4"><bounds x="136.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p5"><bounds x="145.5" y="65.5" width="4" height="4" /></element> + <element ref="text_p6"><bounds x="154.5" y="65.5" width="4" height="4" /></element> + <element ref="bmask" blend="add"><bounds x="109.5" y="65.5" width="50" height="4" /></element> + <element ref="cwhite" blend="multiply"><bounds x="109.5" y="65.5" width="50" height="4" /></element> + + <element ref="text_on" ><bounds x="108" y="37.4" width="8" height="2" /></element> + <element ref="text_off" ><bounds x="119" y="37.4" width="8" height="2" /></element> + <element ref="text_newgame" ><bounds x="129" y="37.4" width="10" height="2" /></element> + <element ref="text_play" ><bounds x="141" y="37.4" width="8" height="2" /></element> + <element ref="text_back" ><bounds x="152" y="37.4" width="8" height="2" /></element> + + <element ref="text_left" ><bounds x="108" y="51.9" width="7" height="3" /></element> + <element ref="text_right" ><bounds x="117" y="51.9" width="7" height="3" /></element> + <element ref="text_menu" ><bounds x="126" y="52.4" width="7" height="2" /></element> + <element ref="text_up" ><bounds x="135" y="51.4" width="7" height="3" /></element> + <element ref="text_down" ><bounds x="144" y="51.4" width="7" height="3" /></element> + <element ref="text_enter" ><bounds x="153" y="52.4" width="7" height="2" /></element> + + <element ref="hlb" inputtag="RESET" inputmask="0x01"><bounds x="108" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.7" inputmask="0x80"><bounds x="119" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.6" inputmask="0x80"><bounds x="130" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.5" inputmask="0x80"><bounds x="141" y="40" width="8" height="2" /></element> + <element ref="hlb" inputtag="IN.0" inputmask="0x80"><bounds x="152" y="40" width="8" height="2" /></element> + + <element ref="hlb" inputtag="IN.7" inputmask="0x40"><bounds x="108" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.6" inputmask="0x40"><bounds x="117" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.4" inputmask="0x80"><bounds x="126" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.3" inputmask="0x80"><bounds x="135" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.2" inputmask="0x80"><bounds x="144" y="55" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.1" inputmask="0x80"><bounds x="153" y="55" width="7" height="2" /></element> + + <element ref="hlb" inputtag="IN.5" inputmask="0x40"><bounds x="108" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.4" inputmask="0x40"><bounds x="117" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.3" inputmask="0x40"><bounds x="126" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.2" inputmask="0x40"><bounds x="135" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.1" inputmask="0x40"><bounds x="144" y="70" width="7" height="2" /></element> + <element ref="hlb" inputtag="IN.0" inputmask="0x40"><bounds x="153" y="70" width="7" height="2" /></element> + + <element ref="blackb"><bounds x="108" y="8.2" width="52" height="17.8" /></element> + <element ref="red"><bounds x="108" y="8.2" width="52" height="13.8" /></element> + <element ref="blackb"><bounds x="109" y="9.2" width="30.7" height="11.8" /></element> + <group ref="lcd"><bounds x="109.3" y="9.5" width="30.1" height="11.2" /></group> + + <!-- chessboard bezel --> + <element ref="blackb"><bounds x="20.5" y="1.5" width="81" height="81" /></element> <group ref="sb_board"><bounds x="21" y="2" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="1.5" y="2" width="10" height="80" /></group> + <group ref="sb_ui"><bounds x="3" y="2" width="10" height="80" /></group> + + <!-- LEDs --> + <element name="led0" ref="led"><bounds x="16.0" y="76.5" width="2" height="1" /></element> + <element name="led1" ref="led"><bounds x="16.0" y="66.5" width="2" height="1" /></element> + <element name="led2" ref="led"><bounds x="16.0" y="56.5" width="2" height="1" /></element> + <element name="led3" ref="led"><bounds x="16.0" y="46.5" width="2" height="1" /></element> + <element name="led4" ref="led"><bounds x="16.0" y="36.5" width="2" height="1" /></element> + <element name="led5" ref="led"><bounds x="16.0" y="26.5" width="2" height="1" /></element> + <element name="led6" ref="led"><bounds x="16.0" y="16.5" width="2" height="1" /></element> + <element name="led7" ref="led"><bounds x="16.0" y="6.5" width="2" height="1" /></element> + <element name="led8" ref="led"><bounds x="25.5" y="85.5" width="1" height="2" /></element> + <element name="led9" ref="led"><bounds x="35.5" y="85.5" width="1" height="2" /></element> + <element name="led10" ref="led"><bounds x="45.5" y="85.5" width="1" height="2" /></element> + <element name="led11" ref="led"><bounds x="55.5" y="85.5" width="1" height="2" /></element> + <element name="led12" ref="led"><bounds x="65.5" y="85.5" width="1" height="2" /></element> + <element name="led13" ref="led"><bounds x="75.5" y="85.5" width="1" height="2" /></element> + <element name="led14" ref="led"><bounds x="85.5" y="85.5" width="1" height="2" /></element> + <element name="led15" ref="led"><bounds x="95.5" y="85.5" width="1" height="2" /></element> </view> <view name="Internal Layout (LCD)"> - <group ref="lcd"><bounds x="0" y="0" width="30" height="11.2" /></group> + <group ref="lcd"><bounds x="0" y="0" width="30.1" height="11.2" /></group> </view> </mamelayout> |