mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
galileo: add buttons to internal artwork
This commit is contained in:
parent
e825cb34bb
commit
c7f6282bd2
@ -330,14 +330,7 @@ void saitekosa_maestro_device::ack_w(int state)
|
||||
|
||||
u32 saitekosa_analyst_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
static const rgb_t colors[3] =
|
||||
{
|
||||
rgb_t(135, 143, 145), // lcd pixel off
|
||||
rgb_t(51, 42, 43), // lcd pixel on
|
||||
rgb_t(147, 155, 158) // background
|
||||
};
|
||||
|
||||
bitmap.fill(colors[2], cliprect);
|
||||
bitmap.fill(0xffffff, cliprect);
|
||||
const u8 *render = m_lcd->render();
|
||||
|
||||
// draw lcd characters
|
||||
@ -346,7 +339,7 @@ u32 saitekosa_analyst_device::screen_update(screen_device &screen, bitmap_rgb32
|
||||
const u8 *src = render + 16 * ((i & 7) + BIT(i, 3) * 40);
|
||||
for (int y = 0; y < 8; y++)
|
||||
for (int x = 0; x < 5; x++)
|
||||
bitmap.pix(y + 4, i * 6 + x + 2) = colors[BIT(src[y], 4 - x)];
|
||||
bitmap.pix(y + 4, i * 6 + x + 2) = BIT(src[y], 4 - x) ? 0x282828 : 0xe8e8e8;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -61,6 +61,7 @@ TODO:
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
#include "saitek_galileo.lh" // clickable
|
||||
#include "saitek_leonardo.lh" // clickable
|
||||
|
||||
|
||||
@ -79,8 +80,9 @@ public:
|
||||
m_inputs(*this, "IN.%u", 0)
|
||||
{ }
|
||||
|
||||
void leo(machine_config &config);
|
||||
void leoa(machine_config &config);
|
||||
void leonardo(machine_config &config);
|
||||
void leonardoa(machine_config &config);
|
||||
void galileo(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
@ -351,7 +353,7 @@ INPUT_PORTS_END
|
||||
Machine Configs
|
||||
******************************************************************************/
|
||||
|
||||
void leo_state::leo(machine_config &config)
|
||||
void leo_state::leonardo(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
HD6303Y(config, m_maincpu, 12_MHz_XTAL);
|
||||
@ -383,12 +385,16 @@ void leo_state::leo(machine_config &config)
|
||||
m_expansion->rts_handler().set(FUNC(leo_state::exp_rts_w));
|
||||
}
|
||||
|
||||
void leo_state::leoa(machine_config &config)
|
||||
void leo_state::leonardoa(machine_config &config)
|
||||
{
|
||||
leo(config);
|
||||
leonardo(config);
|
||||
m_board->set_delay(attotime::from_msec(250)); // slower chessboard response?
|
||||
}
|
||||
|
||||
// slower chessboard response?
|
||||
m_board->set_delay(attotime::from_msec(250));
|
||||
void leo_state::galileo(machine_config &config)
|
||||
{
|
||||
leonardo(config);
|
||||
config.set_default_layout(layout_saitek_galileo);
|
||||
}
|
||||
|
||||
|
||||
@ -420,8 +426,8 @@ ROM_END
|
||||
Drivers
|
||||
******************************************************************************/
|
||||
|
||||
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
|
||||
CONS( 1986, leonardo, 0, 0, leo, leonardo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
CONS( 1986, leonardoa, leonardo, 0, leoa, leonardo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
|
||||
CONS( 1986, leonardo, 0, 0, leonardo, leonardo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
CONS( 1986, leonardoa, leonardo, 0, leonardoa, leonardo, leo_state, empty_init, "SciSys", "Kasparov Leonardo (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
|
||||
CONS( 1988, galileo, leonardo, 0, leo, galileo, leo_state, empty_init, "Saitek", "Kasparov Galileo", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
CONS( 1988, galileo, leonardo, 0, galileo, galileo, leo_state, empty_init, "Saitek", "Kasparov Galileo", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NOT_WORKING )
|
||||
|
@ -38,6 +38,7 @@ TODO:
|
||||
#include "video/pwm.h"
|
||||
#include "video/sed1500.h"
|
||||
|
||||
#include "render.h"
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
@ -63,6 +64,8 @@ public:
|
||||
m_out_lcd(*this, "s%u.%u", 0U, 0U)
|
||||
{ }
|
||||
|
||||
template <int N> DECLARE_INPUT_CHANGED_MEMBER(change_view);
|
||||
|
||||
// machine configs
|
||||
void ren(machine_config &config);
|
||||
|
||||
@ -113,6 +116,16 @@ void ren_state::machine_start()
|
||||
save_item(NAME(m_led_data));
|
||||
}
|
||||
|
||||
template <int N> INPUT_CHANGED_MEMBER(ren_state::change_view)
|
||||
{
|
||||
if (oldval && !newval)
|
||||
{
|
||||
// meant for changing lcd drawer view
|
||||
render_target *target = machine().render().first_target();
|
||||
target->set_view(target->view() + N);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
@ -317,6 +330,10 @@ static INPUT_PORTS_START( ren )
|
||||
PORT_START("RESET")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_G) PORT_NAME("Go")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_F1) PORT_NAME("ACL")
|
||||
|
||||
PORT_START("VIEW")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_CUSTOM) PORT_CHANGED_MEMBER(DEVICE_SELF, ren_state, change_view<+1>, 0)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_CUSTOM) PORT_CHANGED_MEMBER(DEVICE_SELF, ren_state, change_view<-1>, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
669
src/mame/layout/saitek_galileo.lay
Normal file
669
src/mame/layout/saitek_galileo.lay
Normal file
@ -0,0 +1,669 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
license:CC0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="black"><rect><color red="0.12" green="0.11" blue="0.1" /></rect></element>
|
||||
<element name="lcdm"><rect><color red="0.58" green="0.61" blue="0.62" /></rect></element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<rect state="0"><color red="0.15" green="0" blue="0" /></rect>
|
||||
<rect state="1"><color red="1" green="0" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_1">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="1"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_2">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="2"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_3">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="3"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_4">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="4"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_5">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="5"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_6">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="6"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_7">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="7"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_8">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="8"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
|
||||
<element name="text_a">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="A"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_b">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="B"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_c">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="C"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_d">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="D"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_e">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="E"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_f">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="F"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_g">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="G"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
<element name="text_h">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="H"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
</element>
|
||||
|
||||
|
||||
<!-- sb board -->
|
||||
|
||||
<element name="cblack"><rect><color red="0.56" green="0.33" blue="0.12" /></rect></element>
|
||||
<element name="cwhite"><rect><color red="0.84" green="0.75" blue="0.50" /></rect></element>
|
||||
|
||||
<element name="hlbb" defstate="0">
|
||||
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
|
||||
<disk state="1">
|
||||
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
|
||||
<color red="0" green="0" blue="0" />
|
||||
</disk>
|
||||
</element>
|
||||
|
||||
<element name="piece" defstate="0">
|
||||
<image file="chess/wp.svg" state="1"/>
|
||||
<image file="chess/wn.svg" state="2"/>
|
||||
<image file="chess/wb.svg" state="3"/>
|
||||
<image file="chess/wr.svg" state="4"/>
|
||||
<image file="chess/wq.svg" state="5"/>
|
||||
<image file="chess/wk.svg" state="6"/>
|
||||
|
||||
<image file="chess/bp.svg" state="7"/>
|
||||
<image file="chess/bn.svg" state="8"/>
|
||||
<image file="chess/bb.svg" state="9"/>
|
||||
<image file="chess/br.svg" state="10"/>
|
||||
<image file="chess/bq.svg" state="11"/>
|
||||
<image file="chess/bk.svg" state="12"/>
|
||||
|
||||
<!-- selected pieces -->
|
||||
<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
|
||||
<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
|
||||
<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
|
||||
<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
|
||||
<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
|
||||
<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
|
||||
|
||||
<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
|
||||
<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
|
||||
<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
|
||||
<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
|
||||
<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
|
||||
<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
|
||||
</element>
|
||||
|
||||
<group name="sb_board">
|
||||
<bounds x="0" y="0" width="80" height="80" />
|
||||
|
||||
<!-- 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.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uib3">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu2a">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2b">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2c">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2d">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu3a" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="2">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu3c" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="1">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
|
||||
<group name="sb_ui">
|
||||
<bounds x="0" y="0" width="10" height="80" />
|
||||
<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
|
||||
<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
|
||||
<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
|
||||
|
||||
<!-- board -->
|
||||
<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
|
||||
|
||||
<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
|
||||
<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board: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>
|
||||
|
||||
|
||||
<!-- chessboard -->
|
||||
|
||||
<group name="board">
|
||||
<bounds x="-1" y="-1.5" width="89" height="89" />
|
||||
|
||||
<element ref="cblack"><bounds x="-1" y="-1.5" width="89" height="89" /></element>
|
||||
<element ref="black"><bounds x="3" y="2.5" width="81" height="81" /></element>
|
||||
<group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group>
|
||||
|
||||
<!-- chessboard coords -->
|
||||
<element ref="text_8"><bounds x="0.1" y="9" width="2" height="2" /></element>
|
||||
<element ref="text_7"><bounds x="0.1" y="19" width="2" height="2" /></element>
|
||||
<element ref="text_6"><bounds x="0.1" y="29" width="2" height="2" /></element>
|
||||
<element ref="text_5"><bounds x="0.1" y="39" width="2" height="2" /></element>
|
||||
<element ref="text_4"><bounds x="0.1" y="49" width="2" height="2" /></element>
|
||||
<element ref="text_3"><bounds x="0.1" y="59" width="2" height="2" /></element>
|
||||
<element ref="text_2"><bounds x="0.1" y="69" width="2" height="2" /></element>
|
||||
<element ref="text_1"><bounds x="0.1" y="79" width="2" height="2" /></element>
|
||||
|
||||
<element ref="text_a"><bounds x="5.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_b"><bounds x="15.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_c"><bounds x="25.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_d"><bounds x="35.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_e"><bounds x="45.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_f"><bounds x="55.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_g"><bounds x="65.5" y="84.5" width="2" height="2" /></element>
|
||||
<element ref="text_h"><bounds x="75.5" y="84.5" width="2" height="2" /></element>
|
||||
|
||||
<!-- chessboard leds -->
|
||||
<element ref="ledo"><bounds x="0.25" y="7.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="17.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="27.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="37.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="47.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="57.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="67.25" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="0.25" y="77.25" width="1.5" height="1.5" /></element>
|
||||
|
||||
<element name="7.2" ref="ledg" blend="add"><bounds x="0.25" y="7.25" width="1.5" height="1.5" /></element>
|
||||
<element name="6.2" ref="ledg" blend="add"><bounds x="0.25" y="17.25" width="1.5" height="1.5" /></element>
|
||||
<element name="5.2" ref="ledg" blend="add"><bounds x="0.25" y="27.25" width="1.5" height="1.5" /></element>
|
||||
<element name="4.2" ref="ledg" blend="add"><bounds x="0.25" y="37.25" width="1.5" height="1.5" /></element>
|
||||
<element name="3.2" ref="ledg" blend="add"><bounds x="0.25" y="47.25" width="1.5" height="1.5" /></element>
|
||||
<element name="2.2" ref="ledg" blend="add"><bounds x="0.25" y="57.25" width="1.5" height="1.5" /></element>
|
||||
<element name="1.2" ref="ledg" blend="add"><bounds x="0.25" y="67.25" width="1.5" height="1.5" /></element>
|
||||
<element name="0.2" ref="ledg" blend="add"><bounds x="0.25" y="77.25" width="1.5" height="1.5" /></element>
|
||||
|
||||
<element name="7.3" ref="ledr" blend="add"><bounds x="0.25" y="7.25" width="1.5" height="1.5" /></element>
|
||||
<element name="6.3" ref="ledr" blend="add"><bounds x="0.25" y="17.25" width="1.5" height="1.5" /></element>
|
||||
<element name="5.3" ref="ledr" blend="add"><bounds x="0.25" y="27.25" width="1.5" height="1.5" /></element>
|
||||
<element name="4.3" ref="ledr" blend="add"><bounds x="0.25" y="37.25" width="1.5" height="1.5" /></element>
|
||||
<element name="3.3" ref="ledr" blend="add"><bounds x="0.25" y="47.25" width="1.5" height="1.5" /></element>
|
||||
<element name="2.3" ref="ledr" blend="add"><bounds x="0.25" y="57.25" width="1.5" height="1.5" /></element>
|
||||
<element name="1.3" ref="ledr" blend="add"><bounds x="0.25" y="67.25" width="1.5" height="1.5" /></element>
|
||||
<element name="0.3" ref="ledr" blend="add"><bounds x="0.25" y="77.25" width="1.5" height="1.5" /></element>
|
||||
|
||||
<element ref="ledo"><bounds x="7.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="17.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="27.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="37.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="47.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="57.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="67.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element ref="ledo"><bounds x="77.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
|
||||
<element name="0.0" ref="ledg" blend="add"><bounds x="7.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="1.0" ref="ledg" blend="add"><bounds x="17.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="2.0" ref="ledg" blend="add"><bounds x="27.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="3.0" ref="ledg" blend="add"><bounds x="37.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="4.0" ref="ledg" blend="add"><bounds x="47.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="5.0" ref="ledg" blend="add"><bounds x="57.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="6.0" ref="ledg" blend="add"><bounds x="67.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="7.0" ref="ledg" blend="add"><bounds x="77.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
|
||||
<element name="0.1" ref="ledr" blend="add"><bounds x="7.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="1.1" ref="ledr" blend="add"><bounds x="17.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="2.1" ref="ledr" blend="add"><bounds x="27.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="3.1" ref="ledr" blend="add"><bounds x="37.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="4.1" ref="ledr" blend="add"><bounds x="47.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="5.1" ref="ledr" blend="add"><bounds x="57.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="6.1" ref="ledr" blend="add"><bounds x="67.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
<element name="7.1" ref="ledr" blend="add"><bounds x="77.75" y="84.75" width="1.5" height="1.5" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- button panel -->
|
||||
|
||||
<element name="ledro">
|
||||
<rect><color red="0.1" green="0.1" blue="0.1" /></rect>
|
||||
</element>
|
||||
<element name="ledrr" defstate="0">
|
||||
<rect state="0"><color red="0" green="0" blue="0" /></rect>
|
||||
<rect state="1"><color red="1" green="0" blue="0" /></rect>
|
||||
</element>
|
||||
<element name="ledrg" defstate="0">
|
||||
<rect state="0"><color red="0" green="0" blue="0" /></rect>
|
||||
<rect state="1"><color red="0" green="1" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="ledo">
|
||||
<disk><color red="0.1" green="0.1" blue="0.1" /></disk>
|
||||
</element>
|
||||
<element name="ledr" defstate="0">
|
||||
<disk state="0"><color red="0" green="0" blue="0" /></disk>
|
||||
<disk state="1"><color red="1" green="0" blue="0" /></disk>
|
||||
</element>
|
||||
<element name="ledg" defstate="0">
|
||||
<disk state="0"><color red="0" green="0" blue="0" /></disk>
|
||||
<disk state="1"><color red="0" green="1" blue="0" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="not" defstate="0">
|
||||
<rect><color alpha="0" /></rect>
|
||||
</element>
|
||||
<element name="but" defstate="0">
|
||||
<rect state="0"><color red="0.21" green="0.2" blue="0.2" /></rect>
|
||||
<rect state="1"><color red="0.34" green="0.33" blue="0.33" /></rect>
|
||||
</element>
|
||||
<element name="butd" defstate="0">
|
||||
<disk state="0"><color red="0.21" green="0.2" blue="0.2" /></disk>
|
||||
<disk state="1"><color red="0.34" green="0.33" blue="0.33" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="text_l01"><text string="ACL" align="1"/></element>
|
||||
<element name="text_l02"><text string="MODE" align="1"/></element>
|
||||
|
||||
<element name="text_l11"><text string="CHECK"/></element>
|
||||
<element name="text_l12"><text string="END"/></element>
|
||||
<element name="text_l13"><text string="TAB/COLOR"/></element>
|
||||
<element name="text_l14"><text string="FUNCTION"/></element>
|
||||
<element name="text_l15"><text string="PLAY"/></element>
|
||||
<element name="text_l16"><text string="NORMAL"/></element>
|
||||
<element name="text_l17"><text string="NEW GAME"/></element>
|
||||
|
||||
<element name="text_l21"><text string="WHITE"/></element>
|
||||
<element name="text_l22"><text string="BLACK"/></element>
|
||||
<element name="text_l23"><text string="+"/></element>
|
||||
<element name="text_l24"><text string="SOUND"/></element>
|
||||
<element name="text_l25"><text string="LEVEL"/></element>
|
||||
<element name="text_l26"><text string="ANALYSIS"/></element>
|
||||
<element name="text_l27"><text string="GO"/></element>
|
||||
|
||||
<element name="text_l31"><text string="COMM"/></element>
|
||||
<element name="text_l32"><text string="MODULE"/></element>
|
||||
<element name="text_l33"><text string="-"/></element>
|
||||
<element name="text_l34"><text string="INFO"/></element>
|
||||
<element name="text_l35"><text string="LIBRARY"/></element>
|
||||
<element name="text_l36"><text string="SET UP"/></element>
|
||||
<element name="text_l37"><text string="STOP"/></element>
|
||||
|
||||
<element name="text_p1"><image file="chess/wk.svg"/></element>
|
||||
<element name="text_p2"><image file="chess/wq.svg"/></element>
|
||||
<element name="text_p3"><image file="chess/wr.svg"/></element>
|
||||
<element name="text_p4"><image file="chess/wb.svg"/></element>
|
||||
<element name="text_p5"><image file="chess/wn.svg"/></element>
|
||||
<element name="text_p6"><image file="chess/wp.svg"/></element>
|
||||
|
||||
<element name="tmul"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
|
||||
|
||||
<group name="panel">
|
||||
<bounds x="0" y="0" width="55" height="13" />
|
||||
|
||||
<element ref="text_l01"><bounds x="41" y="0.4" width="5" height="1.3" /></element>
|
||||
<element ref="text_l02"><bounds x="48" y="0.4" width="5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l11"><bounds x="18.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l12"><bounds x="22.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l13"><bounds x="29.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l14"><bounds x="34.5" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l15"><bounds x="39.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l16"><bounds x="44.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l17"><bounds x="49.25" y="2.6" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l21"><bounds x="18.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l22"><bounds x="22.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l23"><bounds x="29.25" y="6.0" width="5.5" height="1.5" /></element>
|
||||
<element ref="text_l24"><bounds x="34.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l25"><bounds x="39.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l26"><bounds x="44.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l27"><bounds x="49.25" y="6.1" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l31"><bounds x="18.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l32"><bounds x="22.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l33"><bounds x="29.25" y="9.5" width="5.5" height="1.5" /></element>
|
||||
<element ref="text_l34"><bounds x="34.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l35"><bounds x="39.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l36"><bounds x="44.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l37"><bounds x="49.25" y="9.6" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_p1"><bounds x="4.1" y="2.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p2"><bounds x="4.1" y="5.6" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p3"><bounds x="4.1" y="9.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p4"><bounds x="13.1" y="2.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p5"><bounds x="13.1" y="5.6" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p6"><bounds x="13.1" y="9.1" width="1.8" height="1.8" /></element>
|
||||
|
||||
<element ref="tmul" blend="multiply"><bounds x="0" y="0" width="55" height="13" /></element>
|
||||
|
||||
<element ref="ledro"><bounds x="0" y="4" width="2" height="1" /></element>
|
||||
<element ref="ledro"><bounds x="0" y="7.5" width="2" height="1" /></element>
|
||||
<element ref="ledro"><bounds x="0" y="11" width="2" height="1" /></element>
|
||||
|
||||
<element name="8.3" ref="ledrr" blend="add"><bounds x="0" y="4" width="2" height="1" /></element>
|
||||
<element name="8.5" ref="ledrr" blend="add"><bounds x="0" y="7.5" width="2" height="1" /></element>
|
||||
<element name="8.4" ref="ledrr" blend="add"><bounds x="0" y="11" width="2" height="1" /></element>
|
||||
<element name="9.3" ref="ledrg" blend="add"><bounds x="0" y="4" width="2" height="1" /></element>
|
||||
<element name="9.5" ref="ledrg" blend="add"><bounds x="0" y="7.5" width="2" height="1" /></element>
|
||||
<element name="9.4" ref="ledrg" blend="add"><bounds x="0" y="11" width="2" height="1" /></element>
|
||||
|
||||
<element ref="ledro"><bounds x="9" y="4" width="2" height="1" /></element>
|
||||
<element ref="ledro"><bounds x="9" y="7.5" width="2" height="1" /></element>
|
||||
<element ref="ledro"><bounds x="9" y="11" width="2" height="1" /></element>
|
||||
|
||||
<element name="8.6" ref="ledrr" blend="add"><bounds x="9" y="4" width="2" height="1" /></element>
|
||||
<element name="8.2" ref="ledrr" blend="add"><bounds x="9" y="7.5" width="2" height="1" /></element>
|
||||
<element name="8.0" ref="ledrr" blend="add"><bounds x="9" y="11" width="2" height="1" /></element>
|
||||
<element name="9.6" ref="ledrg" blend="add"><bounds x="9" y="4" width="2" height="1" /></element>
|
||||
<element name="9.2" ref="ledrg" blend="add"><bounds x="9" y="7.5" width="2" height="1" /></element>
|
||||
<element name="9.0" ref="ledrg" blend="add"><bounds x="9" y="11" width="2" height="1" /></element>
|
||||
|
||||
<element name="9.9" ref="led"><bounds x="20" y="4" width="2" height="1" /></element>
|
||||
<element name="8.9" ref="led"><bounds x="24" y="4" width="2" height="1" /></element>
|
||||
<element name="9.8" ref="led"><bounds x="20" y="7.5" width="2" height="1" /></element>
|
||||
<element name="8.8" ref="led"><bounds x="24" y="7.5" width="2" height="1" /></element>
|
||||
<element name="9.1" ref="led"><bounds x="20" y="11" width="2" height="1" /></element>
|
||||
<element name="8.1" ref="led"><bounds x="24" y="11" width="2" height="1" /></element>
|
||||
|
||||
<element ref="ledro"><bounds x="45" y="0.5" width="2" height="1" /></element>
|
||||
<element name="8.7" ref="ledrr" blend="add"><bounds x="45" y="0.5" width="2" height="1" /></element>
|
||||
<element name="9.7" ref="ledrg" blend="add"><bounds x="45" y="0.5" width="2" height="1" /></element>
|
||||
|
||||
<element ref="butd" inputtag="RESET" inputmask="0x02"><bounds x="39" y="0.5" width="1" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x01"><bounds x="3" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x02"><bounds x="12" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x02"><bounds x="35" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x02"><bounds x="40" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x02"><bounds x="45" y="4" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x02"><bounds x="50" y="4" width="4" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x01"><bounds x="3" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x04"><bounds x="12" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x04"><bounds x="30" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x04"><bounds x="35" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x04"><bounds x="40" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x04"><bounds x="45" y="7.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="RESET" inputmask="0x01"><bounds x="50" y="7.5" width="4" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x02"><bounds x="3" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x04"><bounds x="12" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x01"><bounds x="30" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x01"><bounds x="35" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x04"><bounds x="40" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x04"><bounds x="45" y="11" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x02"><bounds x="50" y="11" width="4" height="1" /></element>
|
||||
|
||||
<!-- larger clickable area -->
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x01"><bounds x="3" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x02"><bounds x="12" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x02"><bounds x="30" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.3" inputmask="0x02"><bounds x="35" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x02"><bounds x="40" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x02"><bounds x="45" y="2.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.7" inputmask="0x02"><bounds x="50" y="2.6" width="4" height="1" /></element>
|
||||
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x01"><bounds x="3" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x04"><bounds x="12" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x04"><bounds x="30" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.3" inputmask="0x04"><bounds x="35" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x04"><bounds x="40" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x04"><bounds x="45" y="6.1" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="RESET" inputmask="0x01"><bounds x="50" y="6.1" width="4" height="1" /></element>
|
||||
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x02"><bounds x="3" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x04"><bounds x="12" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x01"><bounds x="30" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x01"><bounds x="35" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.4" inputmask="0x04"><bounds x="40" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.7" inputmask="0x04"><bounds x="45" y="9.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.4" inputmask="0x02"><bounds x="50" y="9.6" width="4" height="1" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout (Full)">
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="103" />
|
||||
|
||||
<group ref="panel"><bounds x="3.5" y="89" width="55" height="13" /></group>
|
||||
|
||||
<!-- analyst's screen -->
|
||||
<screen index="0"><bounds x="63.5" y="90" width="20" height="3.8" /></screen>
|
||||
<element ref="lcdm" blend="multiply"><bounds x="63" y="89" width="21" height="6" /></element>
|
||||
|
||||
<group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group>
|
||||
<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
|
||||
</view>
|
||||
|
||||
<view name="Internal Layout (Board)"><!-- chesscomputer has a wooden lid for covering bottom side -->
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="87.5" />
|
||||
|
||||
<group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group>
|
||||
<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
@ -7,6 +7,7 @@ license:CC0
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="black"><rect><color red="0.12" green="0.11" blue="0.1" /></rect></element>
|
||||
<element name="lcdm"><rect><color red="0.58" green="0.61" blue="0.62" /></rect></element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<rect state="0"><color red="0.15" green="0" blue="0" /></rect>
|
||||
@ -504,6 +505,7 @@ license:CC0
|
||||
|
||||
<!-- analyst's screen -->
|
||||
<screen index="0"><bounds x="63.5" y="90" width="20" height="3.8" /></screen>
|
||||
<element ref="lcdm" blend="multiply"><bounds x="63" y="89" width="21" height="6" /></element>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
||||
|
@ -14,6 +14,10 @@ license:CC0
|
||||
<disk state="0"><color red="0.12" green="0.11" blue="0.1" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="view" defstate="0">
|
||||
<text string="V V V V"><color red="0.58" green="0.61" blue="0.62" /></text>
|
||||
</element>
|
||||
|
||||
<element name="text_1">
|
||||
<rect><color red="0.56" green="0.33" blue="0.12" /></rect>
|
||||
<text string="1"><color red="0.87" green="0.87" blue="0.84" /></text>
|
||||
@ -476,6 +480,9 @@ license:CC0
|
||||
<rect state="1"><color red="0" green="1" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="not" defstate="0">
|
||||
<rect><color alpha="0" /></rect>
|
||||
</element>
|
||||
<element name="but" defstate="0">
|
||||
<rect state="0"><color red="0.21" green="0.2" blue="0.2" /></rect>
|
||||
<rect state="1"><color red="0.34" green="0.33" blue="0.33" /></rect>
|
||||
@ -521,41 +528,41 @@ license:CC0
|
||||
<element name="text_l36"><text string="SCROLL"><color red="0.8" green="0.8" blue="0.8" /></text></element>
|
||||
|
||||
<group name="panel">
|
||||
<bounds x="0" y="0" width="38" height="15" />
|
||||
<bounds x="0" y="0" width="38" height="14" />
|
||||
|
||||
<element ref="text_l01"><bounds x="9.5" y="0.1" width="5" height="1.3" /></element>
|
||||
<element ref="text_l02"><bounds x="13" y="0.1" width="6" height="1.3" /></element>
|
||||
<element ref="text_l03"><bounds x="17.5" y="0.1" width="6" height="1.3" /></element>
|
||||
<element ref="text_l04"><bounds x="22" y="0.1" width="6" height="1.3" /></element>
|
||||
<element ref="text_l05"><bounds x="26.5" y="0.1" width="6" height="1.3" /></element>
|
||||
<element ref="text_l06"><bounds x="31" y="0.1" width="6" height="1.3" /></element>
|
||||
<element ref="text_l02"><bounds x="13.5" y="0.1" width="5" height="1.3" /></element>
|
||||
<element ref="text_l03"><bounds x="18" y="0.1" width="5" height="1.3" /></element>
|
||||
<element ref="text_l04"><bounds x="22.5" y="0.1" width="5" height="1.3" /></element>
|
||||
<element ref="text_l05"><bounds x="27" y="0.1" width="5" height="1.3" /></element>
|
||||
<element ref="text_l06"><bounds x="31.5" y="0.1" width="5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l11"><bounds x="12" y="3.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l12"><bounds x="17" y="3.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l13"><bounds x="22" y="3.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l14"><bounds x="27" y="3.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l15"><bounds x="32" y="3.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l11"><bounds x="12.25" y="3.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l12"><bounds x="17.5" y="3.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l13"><bounds x="22.25" y="3.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l14"><bounds x="27.25" y="3.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l15"><bounds x="32.25" y="3.6" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l21"><bounds x="12" y="7.5" width="6" height="1.5" /></element>
|
||||
<element ref="text_l22"><bounds x="17" y="7.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l23"><bounds x="22" y="7.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l24"><bounds x="27" y="7.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l25"><bounds x="32" y="7.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l21"><bounds x="12.25" y="7.0" width="5.5" height="1.5" /></element>
|
||||
<element ref="text_l22"><bounds x="17.25" y="7.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l23"><bounds x="22.25" y="7.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l24"><bounds x="27.25" y="7.1" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l25"><bounds x="32.25" y="7.1" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_l31"><bounds x="12" y="11.5" width="6" height="1.5" /></element>
|
||||
<element ref="text_l32"><bounds x="17" y="11.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l33"><bounds x="22" y="11.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l34"><bounds x="27" y="11.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l35"><bounds x="32" y="11.6" width="6" height="1.3" /></element>
|
||||
<element ref="text_l31"><bounds x="12.25" y="10.5" width="5.5" height="1.5" /></element>
|
||||
<element ref="text_l32"><bounds x="17.25" y="10.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l33"><bounds x="22.25" y="10.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l34"><bounds x="27.25" y="10.6" width="5.5" height="1.3" /></element>
|
||||
<element ref="text_l35"><bounds x="32.25" y="10.6" width="5.5" height="1.3" /></element>
|
||||
|
||||
<element ref="text_p1"><bounds x="1.1" y="3.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p2"><bounds x="1.1" y="7.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p3"><bounds x="1.1" y="11.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p2"><bounds x="1.1" y="6.6" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p3"><bounds x="1.1" y="10.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p4"><bounds x="6.1" y="3.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p5"><bounds x="6.1" y="7.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p6"><bounds x="6.1" y="11.1" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p5"><bounds x="6.1" y="6.6" width="1.8" height="1.8" /></element>
|
||||
<element ref="text_p6"><bounds x="6.1" y="10.1" width="1.8" height="1.8" /></element>
|
||||
|
||||
<element ref="tmul" blend="multiply"><bounds x="0" y="0" width="38" height="15" /></element>
|
||||
<element ref="tmul" blend="multiply"><bounds x="0" y="0" width="38" height="14" /></element>
|
||||
|
||||
<element name="9.0" ref="ledr"><bounds x="15" y="1.5" width="2" height="1" /></element>
|
||||
<element name="9.1" ref="ledr"><bounds x="19.5" y="1.5" width="2" height="1" /></element>
|
||||
@ -569,74 +576,106 @@ license:CC0
|
||||
|
||||
<element ref="butd" inputtag="RESET" inputmask="0x02"><bounds x="11.5" y="1.5" width="1" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x02"><bounds x="13" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x02"><bounds x="18" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x02"><bounds x="23" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x02"><bounds x="28" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x02"><bounds x="33" y="5" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x02"><bounds x="13" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x02"><bounds x="18" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x02"><bounds x="23" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x02"><bounds x="28" y="5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x02"><bounds x="33" y="5" width="4" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x01"><bounds x="0" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x04"><bounds x="5" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x04"><bounds x="13" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x04"><bounds x="18" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x04"><bounds x="23" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x04"><bounds x="28" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="RESET" inputmask="0x01"><bounds x="33" y="9" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x01"><bounds x="0" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x04"><bounds x="5" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x04"><bounds x="13" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.3" inputmask="0x04"><bounds x="18" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x04"><bounds x="23" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x04"><bounds x="28" y="8.5" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="RESET" inputmask="0x01"><bounds x="33" y="8.5" width="4" height="1" /></element>
|
||||
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x01"><bounds x="13" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x01"><bounds x="18" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x04"><bounds x="23" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x04"><bounds x="28" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x02"><bounds x="33" y="13" width="4" height="1.5" /></element>
|
||||
<element ref="but" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.6" inputmask="0x01"><bounds x="13" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.5" inputmask="0x01"><bounds x="18" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x04"><bounds x="23" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.7" inputmask="0x04"><bounds x="28" y="12" width="4" height="1" /></element>
|
||||
<element ref="but" inputtag="IN.4" inputmask="0x02"><bounds x="33" y="12" width="4" height="1" /></element>
|
||||
|
||||
<!-- larger clickable area -->
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x02"><bounds x="13" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.3" inputmask="0x02"><bounds x="18" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x02"><bounds x="23" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x02"><bounds x="28" y="3.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.7" inputmask="0x02"><bounds x="33" y="3.6" width="4" height="2" /></element>
|
||||
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x01"><bounds x="0" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x04"><bounds x="5" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x04"><bounds x="13" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.3" inputmask="0x04"><bounds x="18" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x04"><bounds x="23" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x04"><bounds x="28" y="7.1" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="RESET" inputmask="0x01"><bounds x="33" y="7.1" width="4" height="2" /></element>
|
||||
|
||||
<element ref="not" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.6" inputmask="0x01"><bounds x="13" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.5" inputmask="0x01"><bounds x="18" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.4" inputmask="0x04"><bounds x="23" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.7" inputmask="0x04"><bounds x="28" y="10.6" width="4" height="2" /></element>
|
||||
<element ref="not" inputtag="IN.4" inputmask="0x02"><bounds x="33" y="10.6" width="4" height="2" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout (Full, LCD Drawer Out)">
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="122.5" />
|
||||
|
||||
<!-- main lcd screen -->
|
||||
<group ref="display"><bounds x="39.9" y="90" width="23.6" height="30" /></group>
|
||||
<element ref="text_l36"><bounds x="32.1" y="117.1" width="6" height="1.3" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x01"><bounds x="33.1" y="118.5" width="4" height="1.5" /></element>
|
||||
|
||||
<element ref="but"><bounds x="32.1" y="89" width="6.65" height="27.5" /></element>
|
||||
<element ref="blackb"><bounds x="31.6" y="88.5" width="6.65" height="27.5" /></element>
|
||||
<element ref="but"><bounds x="64.65" y="89" width="0.5" height="32" /></element>
|
||||
|
||||
<!-- analyst's screen -->
|
||||
<screen index="1"><bounds x="66.3" y="90" width="20" height="3.8" /></screen>
|
||||
|
||||
<group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group>
|
||||
<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
|
||||
|
||||
<group ref="panel"><bounds x="0.1" y="88.6" width="38" height="15" /></group>
|
||||
</view>
|
||||
|
||||
<view name="Internal Layout (Full, LCD Drawer In)">
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="105.5" />
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="104" />
|
||||
|
||||
<!-- main lcd screen -->
|
||||
<group ref="display"><bounds x="39.9" y="66" width="23.6" height="30" /></group>
|
||||
<element ref="blackb"><bounds x="39" y="80" width="25.6" height="10" /></element>
|
||||
<element ref="text_l36"><bounds x="38.9" y="100.2" width="6" height="1.3" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x01"><bounds x="39.9" y="101.6" width="4" height="1.5" /></element>
|
||||
<element ref="text_l36"><bounds x="38.9" y="99.2" width="6" height="1.3" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x01"><bounds x="39.9" y="100.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x01"><bounds x="39.9" y="99.2" width="4" height="2" /></element>
|
||||
|
||||
<element ref="but"><bounds x="38.25" y="89" width="0.5" height="15" /></element>
|
||||
<element ref="but"><bounds x="64.65" y="89" width="0.5" height="15" /></element>
|
||||
<element ref="but"><bounds x="38.25" y="89" width="0.5" height="13.5" /></element>
|
||||
<element ref="but"><bounds x="64.65" y="89" width="0.5" height="13.5" /></element>
|
||||
|
||||
<element ref="view" inputtag="VIEW" inputmask="0x01"><bounds x="46.9" y="100" width="7.6" height="2" /></element>
|
||||
|
||||
<!-- analyst's screen -->
|
||||
<screen index="1"><bounds x="66.3" y="90" width="20" height="3.8" /></screen>
|
||||
<element ref="lcd_bg2" blend="multiply"><bounds x="66" y="89" width="22" height="6" /></element>
|
||||
|
||||
<group ref="panel"><bounds x="0.1" y="88.6" width="38" height="14" /></group>
|
||||
|
||||
<group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group>
|
||||
<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
|
||||
</view>
|
||||
|
||||
<group ref="panel"><bounds x="0.1" y="88.6" width="38" height="15" /></group>
|
||||
<view name="Internal Layout (Full, LCD Drawer Out)">
|
||||
<bounds left="-13" right="88" top="-1.5" bottom="128" />
|
||||
|
||||
<!-- main lcd screen -->
|
||||
<group ref="display"><bounds x="39.9" y="90" width="23.6" height="30" /></group>
|
||||
<element ref="text_l36"><bounds x="38.9" y="123.2" width="6" height="1.3" /></element>
|
||||
<element ref="but" inputtag="IN.2" inputmask="0x01"><bounds x="39.9" y="124.6" width="4" height="1" /></element>
|
||||
<element ref="not" inputtag="IN.2" inputmask="0x01"><bounds x="39.9" y="123.2" width="4" height="2" /></element>
|
||||
|
||||
<element ref="but"><bounds x="38.25" y="89" width="0.5" height="37.5" /></element>
|
||||
<element ref="but"><bounds x="64.65" y="89" width="0.5" height="37.5" /></element>
|
||||
|
||||
<element ref="view" inputtag="VIEW" inputmask="0x02"><bounds x="46.9" y="124" width="7.6" height="2" /><orientation rotate="180" /></element>
|
||||
|
||||
<!-- analyst's screen -->
|
||||
<screen index="1"><bounds x="66.3" y="90" width="20" height="3.8" /></screen>
|
||||
<element ref="lcd_bg2" blend="multiply"><bounds x="66" y="89" width="22" height="6" /></element>
|
||||
|
||||
<group ref="panel"><bounds x="0.1" y="88.6" width="38" height="14" /></group>
|
||||
|
||||
<group ref="board"><bounds x="-1" y="-1.5" width="89" height="89" /></group>
|
||||
<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
|
||||
</view>
|
||||
|
||||
<view name="Internal Layout (Board)"><!-- chesscomputer has a wooden lid for covering bottom side -->
|
||||
|
Loading…
Reference in New Issue
Block a user