diff options
32 files changed, 1975 insertions, 2675 deletions
diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst index b8a1aa4c231..4d7f9f5d712 100644 --- a/docs/source/techspecs/layout_files.rst +++ b/docs/source/techspecs/layout_files.rst @@ -740,8 +740,8 @@ displays visible. Collections are created using ``collection`` elements inside ``view``, ``group`` and other ``collection`` elements. A collection element must have a ``name`` attribute providing the display name -for the collection. Collection names should be unique within a view. The -initial visibility of a collection may be specified by providing a ``visible`` +for the collection. Collection names must be unique within a view. The initial +visibility of a collection may be specified by providing a ``visible`` attribute. Set the ``visible`` attribute to ``yes`` if the collection should be initially visible, or ``no`` if it should be initially hidden. Collections are initially visible by default. diff --git a/src/emu/rendlay.cpp b/src/emu/rendlay.cpp index 6c72b9928a8..c18d2d7a66e 100644 --- a/src/emu/rendlay.cpp +++ b/src/emu/rendlay.cpp @@ -1141,6 +1141,7 @@ void layout_group::resolve_bounds( LOGMASKED(LOG_GROUP_BOUNDS_RESOLUTION, "Group '%s' resolve bounds empty=%s vistoggle=%s repeat=%s init=%s\n", parentnode.get_attribute_string("name", ""), empty, vistoggle, repeat, init); bool envaltered(false); + bool unresolved(true); for (util::xml::data_node const *itemnode = parentnode.get_first_child(); !m_bounds_resolved && itemnode; itemnode = itemnode->get_next_sibling()) { if (!strcmp(itemnode->get_name(), "bounds")) @@ -1151,10 +1152,14 @@ void layout_group::resolve_bounds( } else if (!strcmp(itemnode->get_name(), "param")) { - LOGMASKED(LOG_GROUP_BOUNDS_RESOLUTION, "Environment altered%s, unresolving groups\n", envaltered ? " again" : ""); envaltered = true; - for (group_map::value_type &group : groupmap) - group.second.set_bounds_unresolved(); + if (!unresolved) + { + LOGMASKED(LOG_GROUP_BOUNDS_RESOLUTION, "Environment altered%s, unresolving groups\n", envaltered ? " again" : ""); + unresolved = true; + for (group_map::value_type &group : groupmap) + group.second.set_bounds_unresolved(); + } if (!repeat) env.set_parameter(*itemnode); else @@ -1219,6 +1224,7 @@ void layout_group::resolve_bounds( else union_render_bounds(m_bounds, itembounds); empty = false; + unresolved = false; LOGMASKED(LOG_GROUP_BOUNDS_RESOLUTION, "Accumulate group '%s' reference computed bounds (%s %s %s %s) -> (%s %s %s %s)\n", itemnode->get_attribute_string("ref", ""), itembounds.x0, itembounds.y0, itembounds.x1, itembounds.y1, @@ -1250,7 +1256,7 @@ void layout_group::resolve_bounds( } } - if (envaltered) + if (envaltered && !unresolved) { LOGMASKED(LOG_GROUP_BOUNDS_RESOLUTION, "Environment was altered, marking groups unresolved\n"); bool const resolved(m_bounds_resolved); @@ -3391,6 +3397,11 @@ void layout_view::add_items( char const *name(env.get_attribute_string(*itemnode, "name", nullptr)); if (!name) throw layout_syntax_error("collection must have name attribute"); + + auto const found(std::find_if(m_vistoggles.begin(), m_vistoggles.end(), [name] (auto const &x) { return x.name() == name; })); + if (m_vistoggles.end() != found) + throw layout_syntax_error(util::string_format("duplicate collection name '%s'", name)); + m_defvismask |= u32(env.get_attribute_bool(*itemnode, "visible", true) ? 1 : 0) << m_vistoggles.size(); // TODO: make this less hacky view_environment local(env, true); m_vistoggles.emplace_back(name, local.visibility_mask()); diff --git a/src/mame/drivers/bfm_sc2.cpp b/src/mame/drivers/bfm_sc2.cpp index 9e7fa7fbb1f..abe244ff03a 100644 --- a/src/mame/drivers/bfm_sc2.cpp +++ b/src/mame/drivers/bfm_sc2.cpp @@ -158,6 +158,8 @@ Adder hardware: #include "video/bfm_dm01.h" #include "machine/steppers.h" +#include "machine/bfm_comn.h" + #include "machine/bfm_bd1.h" // vfd #include "machine/meters.h" #include "machine/rescap.h" @@ -177,7 +179,6 @@ Adder hardware: #include "sc2_vfd.lh" #include "sc2_dmd.lh" #include "drwho.lh" -#include "machine/bfm_comn.h" #include "sc2ptytm1.lh" #include "sc2cpe.lh" diff --git a/src/mame/layout/sentx6p.lay b/src/mame/layout/sentx6p.lay index 5fd2055091e..a148fe39a67 100644 --- a/src/mame/layout/sentx6p.lay +++ b/src/mame/layout/sentx6p.lay @@ -10,8 +10,8 @@ license:CC0 <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> </disk> <disk state ="1"> - <color red="0.4" green="0.4" blue="0.0" /> - <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> + <color red="0.4" green="0.4" blue="0.0" /> + <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> </disk> <text string="SELECT" align="0"> @@ -31,8 +31,8 @@ license:CC0 <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> </disk> <disk state ="1"> - <color red="0.0" green="0.4" blue="0.0" /> - <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> + <color red="0.0" green="0.4" blue="0.0" /> + <bounds left="0.1" top="0.1" right="0.9" bottom="0.9" /> </disk> <text string="OK" align="0"> @@ -483,399 +483,123 @@ license:CC0 </rect> </element> - <view name="Screen"> - <!-- Player 1 --> - <bezel name="BACKGROUND_BZ0" element="DISPLAYBG"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SUITE_LEFT_BZ0" element="SUITE_LEFT"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ0" element="NUMBER_LEFT"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ0" element="SUITE_RIGHT"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ0" element="NUMBER_RIGHT"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="LED_BZ0" element="LED"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_FOLD_BZ0" element="OPTION_SELECTS_FOLD"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_CHECK_BZ0" element="OPTION_SELECTS_CHECK"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_BET_BZ0" element="OPTION_SELECTS_BET"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_CALL_BZ0" element="OPTION_SELECTS_CALL"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_RAISE_BZ0" element="OPTION_SELECTS_RAISE"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ0" element="OPTION_SELECTS_ALLIN"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_FOLD_BZ0" element="OPTION_FOLD"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_CHECK_BZ0" element="OPTION_CHECK"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_BET_BZ0" element="OPTION_BET"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_CALL_BZ0" element="OPTION_CALL"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_RAISE_BZ0" element="OPTION_RAISE"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ0" element="OPTION_ALLIN"> - <bounds left="4.5" top="0" right="5.0" bottom="1" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL1" inputmask="0x1"> - <bounds x="4.685" y="0.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL1" inputmask="0x2"> - <bounds x="4.685" y="0.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ0" element="REVEAL"> - <bounds x="4.691" y="0.94" width="0.13" height="0.04" /> - </bezel> - - <!-- Player 2 --> - <bezel name="BACKGROUND_BZ1" element="DISPLAYBG"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SUITE_LEFT_BZ1" element="SUITE_LEFT"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ1" element="NUMBER_LEFT"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ1" element="SUITE_RIGHT"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ1" element="NUMBER_RIGHT"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="LED_BZ1" element="LED"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_FOLD_BZ1" element="OPTION_SELECTS_FOLD"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_CHECK_BZ1" element="OPTION_SELECTS_CHECK"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_BET_BZ1" element="OPTION_SELECTS_BET"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_CALL_BZ1" element="OPTION_SELECTS_CALL"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_RAISE_BZ1" element="OPTION_SELECTS_RAISE"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ1" element="OPTION_SELECTS_ALLIN"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_FOLD_BZ1" element="OPTION_FOLD"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_CHECK_BZ1" element="OPTION_CHECK"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_BET_BZ1" element="OPTION_BET"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_CALL_BZ1" element="OPTION_CALL"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_RAISE_BZ1" element="OPTION_RAISE"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ1" element="OPTION_ALLIN"> - <bounds left="4.5" top="1" right="5.0" bottom="2" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL2" inputmask="0x1"> - <bounds x="4.685" y="1.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL2" inputmask="0x2"> - <bounds x="4.685" y="1.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ1" element="REVEAL"> - <bounds x="4.691" y="1.94" width="0.13" height="0.04" /> - </bezel> - - <!-- Player 3 --> - <bezel name="BACKGROUND_BZ2" element="DISPLAYBG"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SUITE_LEFT_BZ2" element="SUITE_LEFT"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ2" element="NUMBER_LEFT"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ2" element="SUITE_RIGHT"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ2" element="NUMBER_RIGHT"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="LED_BZ2" element="LED"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_FOLD_BZ2" element="OPTION_SELECTS_FOLD"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_CHECK_BZ2" element="OPTION_SELECTS_CHECK"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_BET_BZ2" element="OPTION_SELECTS_BET"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_CALL_BZ2" element="OPTION_SELECTS_CALL"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_RAISE_BZ2" element="OPTION_SELECTS_RAISE"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ2" element="OPTION_SELECTS_ALLIN"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_FOLD_BZ2" element="OPTION_FOLD"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_CHECK_BZ2" element="OPTION_CHECK"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_BET_BZ2" element="OPTION_BET"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_CALL_BZ2" element="OPTION_CALL"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_RAISE_BZ2" element="OPTION_RAISE"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ2" element="OPTION_ALLIN"> - <bounds left="4.5" top="2" right="5.0" bottom="3" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL3" inputmask="0x1"> - <bounds x="4.685" y="2.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL3" inputmask="0x2"> - <bounds x="4.685" y="2.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ2" element="REVEAL"> - <bounds x="4.691" y="2.94" width="0.13" height="0.04" /> - </bezel> - - <!-- Player 4 --> - <bezel name="BACKGROUND_BZ3" element="DISPLAYBG"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SUITE_LEFT_BZ3" element="SUITE_LEFT"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ3" element="NUMBER_LEFT"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ3" element="SUITE_RIGHT"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ3" element="NUMBER_RIGHT"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="LED_BZ3" element="LED"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_FOLD_BZ3" element="OPTION_SELECTS_FOLD"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_CHECK_BZ3" element="OPTION_SELECTS_CHECK"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_BET_BZ3" element="OPTION_SELECTS_BET"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_CALL_BZ3" element="OPTION_SELECTS_CALL"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_RAISE_BZ3" element="OPTION_SELECTS_RAISE"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ3" element="OPTION_SELECTS_ALLIN"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_FOLD_BZ3" element="OPTION_FOLD"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_CHECK_BZ3" element="OPTION_CHECK"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_BET_BZ3" element="OPTION_BET"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_CALL_BZ3" element="OPTION_CALL"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_RAISE_BZ3" element="OPTION_RAISE"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ3" element="OPTION_ALLIN"> - <bounds left="0" top="2" right="0.5" bottom="3" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL4" inputmask="0x1"> - <bounds x="0.185" y="2.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL4" inputmask="0x2"> - <bounds x="0.185" y="2.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ3" element="REVEAL"> - <bounds x="0.191" y="2.94" width="0.13" height="0.04" /> - </bezel> - - <!-- Player 5 --> - <bezel name="BACKGROUND_BZ4" element="DISPLAYBG"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SUITE_LEFT_BZ4" element="SUITE_LEFT"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ4" element="NUMBER_LEFT"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ4" element="SUITE_RIGHT"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ4" element="NUMBER_RIGHT"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="LED_BZ4" element="LED"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_FOLD_BZ4" element="OPTION_SELECTS_FOLD"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_CHECK_BZ4" element="OPTION_SELECTS_CHECK"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_BET_BZ4" element="OPTION_SELECTS_BET"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_CALL_BZ4" element="OPTION_SELECTS_CALL"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_RAISE_BZ4" element="OPTION_SELECTS_RAISE"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ4" element="OPTION_SELECTS_ALLIN"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_FOLD_BZ4" element="OPTION_FOLD"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_CHECK_BZ4" element="OPTION_CHECK"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_BET_BZ4" element="OPTION_BET"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_CALL_BZ4" element="OPTION_CALL"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_RAISE_BZ4" element="OPTION_RAISE"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ4" element="OPTION_ALLIN"> - <bounds left="0" top="1" right="0.5" bottom="2" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL5" inputmask="0x1"> - <bounds x="0.185" y="1.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL5" inputmask="0x2"> - <bounds x="0.185" y="1.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ4" element="REVEAL"> - <bounds x="0.191" y="1.94" width="0.13" height="0.04" /> - </bezel> - - <!-- Player 6 --> - <bezel name="BACKGROUND_BZ5" element="DISPLAYBG"> + <group name="controller"> + <element name="BACKGROUND_BZ~player~" ref="DISPLAYBG"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SUITE_LEFT_BZ5" element="SUITE_LEFT"> + </element> + <element name="SUITE_LEFT_BZ~player~" ref="SUITE_LEFT"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="NUMBER_LEFT_BZ5" element="NUMBER_LEFT"> + </element> + <element name="NUMBER_LEFT_BZ~player~" ref="NUMBER_LEFT"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SUITE_RIGHT_BZ5" element="SUITE_RIGHT"> + </element> + <element name="SUITE_RIGHT_BZ~player~" ref="SUITE_RIGHT"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="NUMBER_RIGHT_BZ5" element="NUMBER_RIGHT"> + </element> + <element name="NUMBER_RIGHT_BZ~player~" ref="NUMBER_RIGHT"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="LED_BZ5" element="LED"> + </element> + <element name="LED_BZ~player~" ref="LED"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_FOLD_BZ5" element="OPTION_SELECTS_FOLD"> + </element> + <element name="SELECT_FOLD_BZ~player~" ref="OPTION_SELECTS_FOLD"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_CHECK_BZ5" element="OPTION_SELECTS_CHECK"> + </element> + <element name="SELECT_CHECK_BZ~player~" ref="OPTION_SELECTS_CHECK"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_BET_BZ5" element="OPTION_SELECTS_BET"> + </element> + <element name="SELECT_BET_BZ~player~" ref="OPTION_SELECTS_BET"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_CALL_BZ5" element="OPTION_SELECTS_CALL"> + </element> + <element name="SELECT_CALL_BZ~player~" ref="OPTION_SELECTS_CALL"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_RAISE_BZ5" element="OPTION_SELECTS_RAISE"> + </element> + <element name="SELECT_RAISE_BZ~player~" ref="OPTION_SELECTS_RAISE"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="SELECT_ALLIN_BZ5" element="OPTION_SELECTS_ALLIN"> + </element> + <element name="SELECT_ALLIN_BZ~player~" ref="OPTION_SELECTS_ALLIN"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_FOLD_BZ5" element="OPTION_FOLD"> + </element> + <element name="OPTION_FOLD_BZ~player~" ref="OPTION_FOLD"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_CHECK_BZ5" element="OPTION_CHECK"> + </element> + <element name="OPTION_CHECK_BZ~player~" ref="OPTION_CHECK"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_BET_BZ5" element="OPTION_BET"> + </element> + <element name="OPTION_BET_BZ~player~" ref="OPTION_BET"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_CALL_BZ5" element="OPTION_CALL"> + </element> + <element name="OPTION_CALL_BZ~player~" ref="OPTION_CALL"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_RAISE_BZ5" element="OPTION_RAISE"> + </element> + <element name="OPTION_RAISE_BZ~player~" ref="OPTION_RAISE"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel name="OPTION_ALLIN_BZ5" element="OPTION_ALLIN"> + </element> + <element name="OPTION_ALLIN_BZ~player~" ref="OPTION_ALLIN"> <bounds left="0" top="0" right="0.5" bottom="1" /> - </bezel> - <bezel element="SELECT" inputtag="CTRL6" inputmask="0x1"> + </element> + <element ref="SELECT" inputtag="CTRL~port~" inputmask="0x1"> <bounds x="0.185" y="0.685" width="0.13" height="0.13" /> - </bezel> - <bezel element="OK" inputtag="CTRL6" inputmask="0x2"> + </element> + <element ref="OK" inputtag="CTRL~port~" inputmask="0x2"> <bounds x="0.185" y="0.81" width="0.13" height="0.13" /> - </bezel> - <bezel name="REVEALTXT_BZ5" element="REVEAL"> + </element> + <element name="REVEALTXT_BZ~player~" ref="REVEAL"> <bounds x="0.191" y="0.94" width="0.13" height="0.04" /> - </bezel> + </element> + </group> + <view name="Screen and Controllers"> <screen index="0"> <bounds left="0.5" top="0" right="4.5" bottom="3" /> </screen> + + <collection name="Player 1 Controller"> + <param name="player" value="0" /> + <param name="port" value="1" /> + <group ref="controller"> + <bounds x="4.5" y="0" width="0.5" height="1" /> + </group> + </collection> + + <collection name="Player 2 Controller"> + <param name="player" value="1" /> + <param name="port" value="2" /> + <group ref="controller"> + <bounds x="4.5" y="1" width="0.5" height="1" /> + </group> + </collection> + + <collection name="Player 3 Controller"> + <param name="player" value="2" /> + <param name="port" value="3" /> + <group ref="controller"> + <bounds x="4.5" y="2" width="0.5" height="1" /> + </group> + </collection> + + <collection name="Player 4 Controller"> + <param name="player" value="3" /> + <param name="port" value="4" /> + <group ref="controller"> + <bounds x="0" y="2" width="0.5" height="1" /> + </group> + </collection> + + <collection name="Player 5 Controller"> + <param name="player" value="4" /> + <param name="port" value="5" /> + <group ref="controller"> + <bounds x="0" y="1" width="0.5" height="1" /> + </group> + </collection> + + <collection name="Player 6 Controller"> + <param name="player" value="5" /> + <param name="port" value="6" /> + <group ref="controller"> + <bounds x="0" y="0" width="0.5" height="1" /> + </group> + </collection> </view> </mamelayout> diff --git a/src/mame/layout/setaroul.lay b/src/mame/layout/setaroul.lay index ea79882df06..7afc55c0e24 100644 --- a/src/mame/layout/setaroul.lay +++ b/src/mame/layout/setaroul.lay @@ -4,399 +4,398 @@ license:CC0 --> <mamelayout version="2"> - <!-- Straight up bets --> - <element name="Bet 0"> <disk> <color red="1.00" green="0.91" blue="0.52"/> </disk> - <text string="0"> <color red="0.06" green="0.39" blue="0.00"/> </text> </element> - - <element name="Bet 1"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="1"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 2"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="2"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 3"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="3"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 4"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="4"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 5"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="5"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 6"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="6"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 7"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="7"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 8"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="8"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 9"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="9"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 10"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="10"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <!-- 11 is black like 10 --> - <element name="Bet 11"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="11"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 12"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="12"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 13"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="13"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 14"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="14"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 15"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="15"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 16"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="16"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 17"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="17"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 18"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="18"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <!-- 19 is red like 18 --> - <element name="Bet 19"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="19"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 20"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="20"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 21"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="21"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 22"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="22"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 23"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="23"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 24"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="24"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 25"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="25"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 26"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="26"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 27"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="27"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 28"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="28"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <!-- 29 is black like 28 --> - <element name="Bet 29"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="29"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 30"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="30"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 31"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="31"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 32"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="32"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 33"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="33"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - - <element name="Bet 34"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="34"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 35"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> - <text string="35"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> - <element name="Bet 36"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> - <text string="36"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <!-- Straight up bets --> + <element name="Bet 0"> <disk> <color red="1.00" green="0.91" blue="0.52"/> </disk> + <text string="0"> <color red="0.06" green="0.39" blue="0.00"/> </text> </element> + + <element name="Bet 1"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="1"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 2"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="2"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 3"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="3"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 4"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="4"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 5"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="5"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 6"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="6"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 7"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="7"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 8"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="8"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 9"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="9"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 10"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="10"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <!-- 11 is black like 10 --> + <element name="Bet 11"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="11"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 12"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="12"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 13"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="13"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 14"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="14"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 15"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="15"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 16"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="16"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 17"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="17"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 18"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="18"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <!-- 19 is red like 18 --> + <element name="Bet 19"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="19"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 20"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="20"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 21"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="21"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 22"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="22"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 23"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="23"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 24"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="24"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 25"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="25"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 26"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="26"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 27"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="27"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 28"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="28"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <!-- 29 is black like 28 --> + <element name="Bet 29"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="29"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 30"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="30"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 31"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="31"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 32"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="32"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 33"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="33"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + + <element name="Bet 34"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="34"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 35"> <disk> <color red="0.06" green="0.06" blue="0.06"/> </disk> + <text string="35"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> + <element name="Bet 36"> <disk> <color red="0.71" green="0.00" blue="0.00"/> </disk> + <text string="36"> <color red="1.00" green="0.91" blue="0.52"/> </text> </element> <!-- Corner/Split bets --> - <element name="Bet"> - <disk> <color red="0.00" green="0.16" blue="0.00"/> </disk> - </element> - - <!-- Outside bets --> - <element name="Bet 19-36"> - <text string="19-36"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - <element name="Bet 1-12"> - <text string="1-12"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - <element name="Bet 1-18"> - <text string="1-18"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - - <element name="Bet Odd"> - <text string="ODD"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - <element name="Bet 13-24"> - <text string="13-24"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - <element name="Bet Even"> - <text string="EVEN"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - - <element name="Bet Red"> - <rect> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.71" green="0.00" blue="0.00"/> </rect> - <text string="RED"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - <element name="Bet 25-36"> - <text string="25-36"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> - </element> - <element name="Bet Black"> - <rect> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.06" green="0.06" blue="0.06"/> </rect> - <text string="BLACK"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - - <!-- Special Keys --> - <element name="Pay"> - <text string="PAY"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - <element name="Bet All"> - <text string="ALL"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - <element name="Bet Cancel"> - <text string="CANCEL"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - <element name="Bet Repeat"> - <text string="REPEAT"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> - </element> - - <!-- Debug Keys --> - <element name="Unknown"> - <text string="UNK"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.80" green="0.80" blue="0.80"/> </text> - </element> - <element name="Debug"> - <text string="DBG"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.80" green="0.80" blue="0.80"/> </text> - </element> - - <!-- Board background --> - <element name="Board"> - <rect> <bounds x="0.00" y="0.00" width="240" height="112"/> <color red="0.06" green="0.39" blue="0.00"/> </rect> - </element> - - - <view name="Standard Screen (3:4) and Board"> - - - <!-- Screen (Top) --> - <screen index="0"> - <bounds x="0" y="0" width="240" height="320"/> - </screen> - - - <!-- Board (Bottom) --> - <bezel element="Board"> <bounds x="0.0" y="330.0" width="240.0" height="112.0"/> </bezel> - - <!-- Top Row --> - <bezel element="Pay" inputtag="BET.00" inputmask="0x01"> <bounds x="-2.0" y="340.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet 19-36" inputtag="BET.04" inputmask="0x01"> <bounds x="38.0" y="340.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Odd" inputtag="BET.0C" inputmask="0x01"> <bounds x="102.0" y="340.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Red" inputtag="BET.14" inputmask="0x01"> <bounds x="166.0" y="340.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet All" inputtag="BET.19" inputmask="0x01"> <bounds x="206.0" y="340.0" width="36.0" height="11.0"/> </bezel> - - <!-- Bottom Row 1 --> - <bezel element="Unknown" inputtag="BET.00" inputmask="0x80"> <bounds x="7.0" y="402.3" width="18.0" height="10.5"/> </bezel> - <bezel element="Bet 1-12" inputtag="BET.04" inputmask="0x80"> <bounds x="38.0" y="404.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet 13-24" inputtag="BET.0C" inputmask="0x80"> <bounds x="102.0" y="404.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet 25-36" inputtag="BET.14" inputmask="0x80"> <bounds x="166.0" y="404.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Cancel" inputtag="BET.18" inputmask="0x80"> <bounds x="206.0" y="404.0" width="36.0" height="11.0"/> </bezel> - - <!-- Bottom Row 2 --> - <bezel element="Debug" inputtag="BET.01" inputmask="0x80"> <bounds x="7.0" y="420.3" width="18.0" height="10.5"/> </bezel> - <bezel element="Bet 1-18" inputtag="BET.05" inputmask="0x80"> <bounds x="38.0" y="420.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Even" inputtag="BET.0D" inputmask="0x80"> <bounds x="102.0" y="420.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Black" inputtag="BET.15" inputmask="0x80"> <bounds x="166.0" y="420.0" width="36.0" height="11.0"/> </bezel> - <bezel element="Bet Repeat" inputtag="BET.19" inputmask="0x80"> <bounds x="206.0" y="420.0" width="36.0" height="11.0"/> </bezel> - - <!-- Column 0 --> - <bezel element="Bet 0" inputtag="BET.00" inputmask="0x08"> <bounds x="11.0" y="372.0" width="10.0" height="10.0"/> </bezel> - - <!-- Column between 0 and 1-3 --> - <bezel element="Bet" inputtag="BET.01" inputmask="0x02"> <bounds x="22.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.01" inputmask="0x04"> <bounds x="22.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.01" inputmask="0x08"> <bounds x="22.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.01" inputmask="0x10"> <bounds x="22.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.01" inputmask="0x20"> <bounds x="22.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.01" inputmask="0x40"> <bounds x="22.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 1-3 --> - <bezel element="Bet 3" inputtag="BET.02" inputmask="0x02"> <bounds x="27.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.02" inputmask="0x04"> <bounds x="30.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 2" inputtag="BET.02" inputmask="0x08"> <bounds x="27.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.02" inputmask="0x10"> <bounds x="30.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 1" inputtag="BET.02" inputmask="0x20"> <bounds x="27.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.02" inputmask="0x40"> <bounds x="30.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 1-3 and 4-6 --> - <bezel element="Bet" inputtag="BET.03" inputmask="0x02"> <bounds x="38.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.03" inputmask="0x04"> <bounds x="38.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.03" inputmask="0x08"> <bounds x="38.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.03" inputmask="0x10"> <bounds x="38.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.03" inputmask="0x20"> <bounds x="38.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.03" inputmask="0x40"> <bounds x="38.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 4-6 --> - <bezel element="Bet 6" inputtag="BET.04" inputmask="0x02"> <bounds x="43.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.04" inputmask="0x04"> <bounds x="46.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 5" inputtag="BET.04" inputmask="0x08"> <bounds x="43.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.04" inputmask="0x10"> <bounds x="46.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 4" inputtag="BET.04" inputmask="0x20"> <bounds x="43.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.04" inputmask="0x40"> <bounds x="46.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 4-6 and 7-9 --> - <bezel element="Bet" inputtag="BET.05" inputmask="0x02"> <bounds x="54.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.05" inputmask="0x04"> <bounds x="54.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.05" inputmask="0x08"> <bounds x="54.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.05" inputmask="0x10"> <bounds x="54.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.05" inputmask="0x20"> <bounds x="54.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.05" inputmask="0x40"> <bounds x="54.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 7-9 --> - <bezel element="Bet 9" inputtag="BET.06" inputmask="0x02"> <bounds x="59.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.06" inputmask="0x04"> <bounds x="62.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 8" inputtag="BET.06" inputmask="0x08"> <bounds x="59.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.06" inputmask="0x10"> <bounds x="62.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 7" inputtag="BET.06" inputmask="0x20"> <bounds x="59.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.06" inputmask="0x40"> <bounds x="62.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 7-9 and 10-12 --> - <bezel element="Bet" inputtag="BET.07" inputmask="0x02"> <bounds x="70.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.07" inputmask="0x04"> <bounds x="70.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.07" inputmask="0x08"> <bounds x="70.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.07" inputmask="0x10"> <bounds x="70.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.07" inputmask="0x20"> <bounds x="70.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.07" inputmask="0x40"> <bounds x="70.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 10-12 --> - <bezel element="Bet 12" inputtag="BET.08" inputmask="0x02"> <bounds x="75.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.08" inputmask="0x04"> <bounds x="78.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 11" inputtag="BET.08" inputmask="0x08"> <bounds x="75.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.08" inputmask="0x10"> <bounds x="78.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 10" inputtag="BET.08" inputmask="0x20"> <bounds x="75.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.08" inputmask="0x40"> <bounds x="78.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 10-12 and 13-15 --> - <bezel element="Bet" inputtag="BET.09" inputmask="0x02"> <bounds x="86.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.09" inputmask="0x04"> <bounds x="86.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.09" inputmask="0x08"> <bounds x="86.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.09" inputmask="0x10"> <bounds x="86.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.09" inputmask="0x20"> <bounds x="86.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.09" inputmask="0x40"> <bounds x="86.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 13-15 --> - <bezel element="Bet 15" inputtag="BET.0A" inputmask="0x02"> <bounds x="91.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0A" inputmask="0x04"> <bounds x="94.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 14" inputtag="BET.0A" inputmask="0x08"> <bounds x="91.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0A" inputmask="0x10"> <bounds x="94.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 13" inputtag="BET.0A" inputmask="0x20"> <bounds x="91.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0A" inputmask="0x40"> <bounds x="94.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 13-15 and 16-18 --> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x02"> <bounds x="102.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x04"> <bounds x="102.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x08"> <bounds x="102.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x10"> <bounds x="102.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x20"> <bounds x="102.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0B" inputmask="0x40"> <bounds x="102.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 16-18 --> - <bezel element="Bet 18" inputtag="BET.0C" inputmask="0x02"> <bounds x="107.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0C" inputmask="0x04"> <bounds x="110.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 17" inputtag="BET.0C" inputmask="0x08"> <bounds x="107.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0C" inputmask="0x10"> <bounds x="110.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 16" inputtag="BET.0C" inputmask="0x20"> <bounds x="107.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0C" inputmask="0x40"> <bounds x="110.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 16-18 and 19-21 --> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x02"> <bounds x="118.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x04"> <bounds x="118.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x08"> <bounds x="118.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x10"> <bounds x="118.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x20"> <bounds x="118.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0D" inputmask="0x40"> <bounds x="118.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 19-21 --> - <bezel element="Bet 21" inputtag="BET.0E" inputmask="0x02"> <bounds x="123.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0E" inputmask="0x04"> <bounds x="126.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 20" inputtag="BET.0E" inputmask="0x08"> <bounds x="123.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0E" inputmask="0x10"> <bounds x="126.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 19" inputtag="BET.0E" inputmask="0x20"> <bounds x="123.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0E" inputmask="0x40"> <bounds x="126.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 19-21 and 22-24 --> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x02"> <bounds x="134.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x04"> <bounds x="134.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x08"> <bounds x="134.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x10"> <bounds x="134.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x20"> <bounds x="134.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.0F" inputmask="0x40"> <bounds x="134.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 22-24 --> - <bezel element="Bet 24" inputtag="BET.10" inputmask="0x02"> <bounds x="139.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.10" inputmask="0x04"> <bounds x="142.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 23" inputtag="BET.10" inputmask="0x08"> <bounds x="139.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.10" inputmask="0x10"> <bounds x="142.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 22" inputtag="BET.10" inputmask="0x20"> <bounds x="139.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.10" inputmask="0x40"> <bounds x="142.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 22-24 and 25-27 --> - <bezel element="Bet" inputtag="BET.11" inputmask="0x02"> <bounds x="150.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.11" inputmask="0x04"> <bounds x="150.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.11" inputmask="0x08"> <bounds x="150.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.11" inputmask="0x10"> <bounds x="150.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.11" inputmask="0x20"> <bounds x="150.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.11" inputmask="0x40"> <bounds x="150.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 25-27 --> - <bezel element="Bet 27" inputtag="BET.12" inputmask="0x02"> <bounds x="155.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.12" inputmask="0x04"> <bounds x="158.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 26" inputtag="BET.12" inputmask="0x08"> <bounds x="155.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.12" inputmask="0x10"> <bounds x="158.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 25" inputtag="BET.12" inputmask="0x20"> <bounds x="155.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.12" inputmask="0x40"> <bounds x="158.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 25-27 and 28-30 --> - <bezel element="Bet" inputtag="BET.13" inputmask="0x02"> <bounds x="166.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.13" inputmask="0x04"> <bounds x="166.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.13" inputmask="0x08"> <bounds x="166.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.13" inputmask="0x10"> <bounds x="166.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.13" inputmask="0x20"> <bounds x="166.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.13" inputmask="0x40"> <bounds x="166.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 28-30 --> - <bezel element="Bet 30" inputtag="BET.14" inputmask="0x02"> <bounds x="171.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.14" inputmask="0x04"> <bounds x="174.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 29" inputtag="BET.14" inputmask="0x08"> <bounds x="171.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.14" inputmask="0x10"> <bounds x="174.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 28" inputtag="BET.14" inputmask="0x20"> <bounds x="171.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.14" inputmask="0x40"> <bounds x="174.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 28-30 and 31-33 --> - <bezel element="Bet" inputtag="BET.15" inputmask="0x02"> <bounds x="182.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.15" inputmask="0x04"> <bounds x="182.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.15" inputmask="0x08"> <bounds x="182.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.15" inputmask="0x10"> <bounds x="182.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.15" inputmask="0x20"> <bounds x="182.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.15" inputmask="0x40"> <bounds x="182.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 31-33 --> - <bezel element="Bet 33" inputtag="BET.16" inputmask="0x02"> <bounds x="187.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.16" inputmask="0x04"> <bounds x="190.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 32" inputtag="BET.16" inputmask="0x08"> <bounds x="187.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.16" inputmask="0x10"> <bounds x="190.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 31" inputtag="BET.16" inputmask="0x20"> <bounds x="187.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.16" inputmask="0x40"> <bounds x="190.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column between 31-33 and 34-36 --> - <bezel element="Bet" inputtag="BET.17" inputmask="0x02"> <bounds x="198.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.17" inputmask="0x04"> <bounds x="198.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.17" inputmask="0x08"> <bounds x="198.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.17" inputmask="0x10"> <bounds x="198.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.17" inputmask="0x20"> <bounds x="198.0" y="391.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.17" inputmask="0x40"> <bounds x="198.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Column 34-36 --> - <bezel element="Bet 36" inputtag="BET.18" inputmask="0x02"> <bounds x="203.0" y="356.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.18" inputmask="0x04"> <bounds x="206.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 35" inputtag="BET.18" inputmask="0x08"> <bounds x="203.0" y="372.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.18" inputmask="0x10"> <bounds x="206.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet 34" inputtag="BET.18" inputmask="0x20"> <bounds x="203.0" y="388.0" width="10.0" height="10.0"/> </bezel> - <bezel element="Bet" inputtag="BET.18" inputmask="0x40"> <bounds x="206.0" y="399.0" width="4.0" height="4.0"/> </bezel> - - <!-- Rightmost column --> - <bezel element="Bet" inputtag="BET.19" inputmask="0x02"> <bounds x="222.0" y="359.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.19" inputmask="0x04"> <bounds x="222.0" y="367.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.19" inputmask="0x08"> <bounds x="222.0" y="375.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.19" inputmask="0x10"> <bounds x="222.0" y="383.0" width="4.0" height="4.0"/> </bezel> - <bezel element="Bet" inputtag="BET.19" inputmask="0x20"> <bounds x="222.0" y="391.0" width="4.0" height="4.0"/> </bezel> - - </view> + <element name="Bet"> + <disk> <color red="0.00" green="0.16" blue="0.00"/> </disk> + </element> + + <!-- Outside bets --> + <element name="Bet 19-36"> + <text string="19-36"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + <element name="Bet 1-12"> + <text string="1-12"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + <element name="Bet 1-18"> + <text string="1-18"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + + <element name="Bet Odd"> + <text string="ODD"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + <element name="Bet 13-24"> + <text string="13-24"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + <element name="Bet Even"> + <text string="EVEN"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + + <element name="Bet Red"> + <rect> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.71" green="0.00" blue="0.00"/> </rect> + <text string="RED"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + <element name="Bet 25-36"> + <text string="25-36"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.00" green="0.00" blue="0.00"/> </text> + </element> + <element name="Bet Black"> + <rect> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.06" green="0.06" blue="0.06"/> </rect> + <text string="BLACK"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + + <!-- Special Keys --> + <element name="Pay"> + <text string="PAY"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + <element name="Bet All"> + <text string="ALL"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + <element name="Bet Cancel"> + <text string="CANCEL"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + <element name="Bet Repeat"> + <text string="REPEAT"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="1.00" green="0.91" blue="0.52"/> </text> + </element> + + <!-- Debug Keys --> + <element name="Unknown"> + <text string="UNK"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.80" green="0.80" blue="0.80"/> </text> + </element> + <element name="Debug"> + <text string="DBG"> <bounds x="0.00" y="0.00" width="2.25" height="0.65"/> <color red="0.80" green="0.80" blue="0.80"/> </text> + </element> + + <!-- Board background --> + <element name="Board"> + <rect> <bounds x="0.00" y="0.00" width="240" height="112"/> <color red="0.06" green="0.39" blue="0.00"/> </rect> + </element> + + + <view name="Standard Screen (3:4) and Board"> + + <!-- Screen (Top) --> + <screen index="0"> + <bounds x="0" y="0" width="240" height="320"/> + </screen> + + + <!-- Board (Bottom) --> + <element ref="Board"> <bounds x="0.0" y="330.0" width="240.0" height="112.0"/> </element> + + <!-- Top Row --> + <element ref="Pay" inputtag="BET.00" inputmask="0x01"> <bounds x="-2.0" y="340.0" width="36.0" height="11.0"/> </element> + <element ref="Bet 19-36" inputtag="BET.04" inputmask="0x01"> <bounds x="38.0" y="340.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Odd" inputtag="BET.0C" inputmask="0x01"> <bounds x="102.0" y="340.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Red" inputtag="BET.14" inputmask="0x01"> <bounds x="166.0" y="340.0" width="36.0" height="11.0"/> </element> + <element ref="Bet All" inputtag="BET.19" inputmask="0x01"> <bounds x="206.0" y="340.0" width="36.0" height="11.0"/> </element> + + <!-- Bottom Row 1 --> + <element ref="Unknown" inputtag="BET.00" inputmask="0x80"> <bounds x="7.0" y="402.3" width="18.0" height="10.5"/> </element> + <element ref="Bet 1-12" inputtag="BET.04" inputmask="0x80"> <bounds x="38.0" y="404.0" width="36.0" height="11.0"/> </element> + <element ref="Bet 13-24" inputtag="BET.0C" inputmask="0x80"> <bounds x="102.0" y="404.0" width="36.0" height="11.0"/> </element> + <element ref="Bet 25-36" inputtag="BET.14" inputmask="0x80"> <bounds x="166.0" y="404.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Cancel" inputtag="BET.18" inputmask="0x80"> <bounds x="206.0" y="404.0" width="36.0" height="11.0"/> </element> + + <!-- Bottom Row 2 --> + <element ref="Debug" inputtag="BET.01" inputmask="0x80"> <bounds x="7.0" y="420.3" width="18.0" height="10.5"/> </element> + <element ref="Bet 1-18" inputtag="BET.05" inputmask="0x80"> <bounds x="38.0" y="420.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Even" inputtag="BET.0D" inputmask="0x80"> <bounds x="102.0" y="420.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Black" inputtag="BET.15" inputmask="0x80"> <bounds x="166.0" y="420.0" width="36.0" height="11.0"/> </element> + <element ref="Bet Repeat" inputtag="BET.19" inputmask="0x80"> <bounds x="206.0" y="420.0" width="36.0" height="11.0"/> </element> + + <!-- Column 0 --> + <element ref="Bet 0" inputtag="BET.00" inputmask="0x08"> <bounds x="11.0" y="372.0" width="10.0" height="10.0"/> </element> + + <!-- Column between 0 and 1-3 --> + <element ref="Bet" inputtag="BET.01" inputmask="0x02"> <bounds x="22.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.01" inputmask="0x04"> <bounds x="22.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.01" inputmask="0x08"> <bounds x="22.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.01" inputmask="0x10"> <bounds x="22.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.01" inputmask="0x20"> <bounds x="22.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.01" inputmask="0x40"> <bounds x="22.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 1-3 --> + <element ref="Bet 3" inputtag="BET.02" inputmask="0x02"> <bounds x="27.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.02" inputmask="0x04"> <bounds x="30.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 2" inputtag="BET.02" inputmask="0x08"> <bounds x="27.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.02" inputmask="0x10"> <bounds x="30.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 1" inputtag="BET.02" inputmask="0x20"> <bounds x="27.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.02" inputmask="0x40"> <bounds x="30.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 1-3 and 4-6 --> + <element ref="Bet" inputtag="BET.03" inputmask="0x02"> <bounds x="38.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.03" inputmask="0x04"> <bounds x="38.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.03" inputmask="0x08"> <bounds x="38.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.03" inputmask="0x10"> <bounds x="38.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.03" inputmask="0x20"> <bounds x="38.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.03" inputmask="0x40"> <bounds x="38.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 4-6 --> + <element ref="Bet 6" inputtag="BET.04" inputmask="0x02"> <bounds x="43.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.04" inputmask="0x04"> <bounds x="46.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 5" inputtag="BET.04" inputmask="0x08"> <bounds x="43.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.04" inputmask="0x10"> <bounds x="46.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 4" inputtag="BET.04" inputmask="0x20"> <bounds x="43.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.04" inputmask="0x40"> <bounds x="46.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 4-6 and 7-9 --> + <element ref="Bet" inputtag="BET.05" inputmask="0x02"> <bounds x="54.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.05" inputmask="0x04"> <bounds x="54.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.05" inputmask="0x08"> <bounds x="54.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.05" inputmask="0x10"> <bounds x="54.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.05" inputmask="0x20"> <bounds x="54.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.05" inputmask="0x40"> <bounds x="54.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 7-9 --> + <element ref="Bet 9" inputtag="BET.06" inputmask="0x02"> <bounds x="59.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.06" inputmask="0x04"> <bounds x="62.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 8" inputtag="BET.06" inputmask="0x08"> <bounds x="59.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.06" inputmask="0x10"> <bounds x="62.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 7" inputtag="BET.06" inputmask="0x20"> <bounds x="59.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.06" inputmask="0x40"> <bounds x="62.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 7-9 and 10-12 --> + <element ref="Bet" inputtag="BET.07" inputmask="0x02"> <bounds x="70.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.07" inputmask="0x04"> <bounds x="70.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.07" inputmask="0x08"> <bounds x="70.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.07" inputmask="0x10"> <bounds x="70.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.07" inputmask="0x20"> <bounds x="70.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.07" inputmask="0x40"> <bounds x="70.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 10-12 --> + <element ref="Bet 12" inputtag="BET.08" inputmask="0x02"> <bounds x="75.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.08" inputmask="0x04"> <bounds x="78.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 11" inputtag="BET.08" inputmask="0x08"> <bounds x="75.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.08" inputmask="0x10"> <bounds x="78.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 10" inputtag="BET.08" inputmask="0x20"> <bounds x="75.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.08" inputmask="0x40"> <bounds x="78.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 10-12 and 13-15 --> + <element ref="Bet" inputtag="BET.09" inputmask="0x02"> <bounds x="86.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.09" inputmask="0x04"> <bounds x="86.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.09" inputmask="0x08"> <bounds x="86.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.09" inputmask="0x10"> <bounds x="86.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.09" inputmask="0x20"> <bounds x="86.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.09" inputmask="0x40"> <bounds x="86.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 13-15 --> + <element ref="Bet 15" inputtag="BET.0A" inputmask="0x02"> <bounds x="91.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0A" inputmask="0x04"> <bounds x="94.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 14" inputtag="BET.0A" inputmask="0x08"> <bounds x="91.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0A" inputmask="0x10"> <bounds x="94.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 13" inputtag="BET.0A" inputmask="0x20"> <bounds x="91.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0A" inputmask="0x40"> <bounds x="94.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 13-15 and 16-18 --> + <element ref="Bet" inputtag="BET.0B" inputmask="0x02"> <bounds x="102.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0B" inputmask="0x04"> <bounds x="102.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0B" inputmask="0x08"> <bounds x="102.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0B" inputmask="0x10"> <bounds x="102.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0B" inputmask="0x20"> <bounds x="102.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0B" inputmask="0x40"> <bounds x="102.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 16-18 --> + <element ref="Bet 18" inputtag="BET.0C" inputmask="0x02"> <bounds x="107.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0C" inputmask="0x04"> <bounds x="110.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 17" inputtag="BET.0C" inputmask="0x08"> <bounds x="107.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0C" inputmask="0x10"> <bounds x="110.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 16" inputtag="BET.0C" inputmask="0x20"> <bounds x="107.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0C" inputmask="0x40"> <bounds x="110.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 16-18 and 19-21 --> + <element ref="Bet" inputtag="BET.0D" inputmask="0x02"> <bounds x="118.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0D" inputmask="0x04"> <bounds x="118.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0D" inputmask="0x08"> <bounds x="118.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0D" inputmask="0x10"> <bounds x="118.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0D" inputmask="0x20"> <bounds x="118.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0D" inputmask="0x40"> <bounds x="118.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 19-21 --> + <element ref="Bet 21" inputtag="BET.0E" inputmask="0x02"> <bounds x="123.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0E" inputmask="0x04"> <bounds x="126.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 20" inputtag="BET.0E" inputmask="0x08"> <bounds x="123.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0E" inputmask="0x10"> <bounds x="126.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 19" inputtag="BET.0E" inputmask="0x20"> <bounds x="123.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.0E" inputmask="0x40"> <bounds x="126.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 19-21 and 22-24 --> + <element ref="Bet" inputtag="BET.0F" inputmask="0x02"> <bounds x="134.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0F" inputmask="0x04"> <bounds x="134.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0F" inputmask="0x08"> <bounds x="134.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0F" inputmask="0x10"> <bounds x="134.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0F" inputmask="0x20"> <bounds x="134.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.0F" inputmask="0x40"> <bounds x="134.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 22-24 --> + <element ref="Bet 24" inputtag="BET.10" inputmask="0x02"> <bounds x="139.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.10" inputmask="0x04"> <bounds x="142.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 23" inputtag="BET.10" inputmask="0x08"> <bounds x="139.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.10" inputmask="0x10"> <bounds x="142.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 22" inputtag="BET.10" inputmask="0x20"> <bounds x="139.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.10" inputmask="0x40"> <bounds x="142.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 22-24 and 25-27 --> + <element ref="Bet" inputtag="BET.11" inputmask="0x02"> <bounds x="150.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.11" inputmask="0x04"> <bounds x="150.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.11" inputmask="0x08"> <bounds x="150.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.11" inputmask="0x10"> <bounds x="150.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.11" inputmask="0x20"> <bounds x="150.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.11" inputmask="0x40"> <bounds x="150.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 25-27 --> + <element ref="Bet 27" inputtag="BET.12" inputmask="0x02"> <bounds x="155.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.12" inputmask="0x04"> <bounds x="158.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 26" inputtag="BET.12" inputmask="0x08"> <bounds x="155.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.12" inputmask="0x10"> <bounds x="158.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 25" inputtag="BET.12" inputmask="0x20"> <bounds x="155.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.12" inputmask="0x40"> <bounds x="158.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 25-27 and 28-30 --> + <element ref="Bet" inputtag="BET.13" inputmask="0x02"> <bounds x="166.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.13" inputmask="0x04"> <bounds x="166.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.13" inputmask="0x08"> <bounds x="166.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.13" inputmask="0x10"> <bounds x="166.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.13" inputmask="0x20"> <bounds x="166.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.13" inputmask="0x40"> <bounds x="166.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 28-30 --> + <element ref="Bet 30" inputtag="BET.14" inputmask="0x02"> <bounds x="171.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.14" inputmask="0x04"> <bounds x="174.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 29" inputtag="BET.14" inputmask="0x08"> <bounds x="171.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.14" inputmask="0x10"> <bounds x="174.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 28" inputtag="BET.14" inputmask="0x20"> <bounds x="171.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.14" inputmask="0x40"> <bounds x="174.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 28-30 and 31-33 --> + <element ref="Bet" inputtag="BET.15" inputmask="0x02"> <bounds x="182.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.15" inputmask="0x04"> <bounds x="182.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.15" inputmask="0x08"> <bounds x="182.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.15" inputmask="0x10"> <bounds x="182.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.15" inputmask="0x20"> <bounds x="182.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.15" inputmask="0x40"> <bounds x="182.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 31-33 --> + <element ref="Bet 33" inputtag="BET.16" inputmask="0x02"> <bounds x="187.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.16" inputmask="0x04"> <bounds x="190.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 32" inputtag="BET.16" inputmask="0x08"> <bounds x="187.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.16" inputmask="0x10"> <bounds x="190.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 31" inputtag="BET.16" inputmask="0x20"> <bounds x="187.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.16" inputmask="0x40"> <bounds x="190.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column between 31-33 and 34-36 --> + <element ref="Bet" inputtag="BET.17" inputmask="0x02"> <bounds x="198.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.17" inputmask="0x04"> <bounds x="198.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.17" inputmask="0x08"> <bounds x="198.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.17" inputmask="0x10"> <bounds x="198.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.17" inputmask="0x20"> <bounds x="198.0" y="391.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.17" inputmask="0x40"> <bounds x="198.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Column 34-36 --> + <element ref="Bet 36" inputtag="BET.18" inputmask="0x02"> <bounds x="203.0" y="356.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.18" inputmask="0x04"> <bounds x="206.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 35" inputtag="BET.18" inputmask="0x08"> <bounds x="203.0" y="372.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.18" inputmask="0x10"> <bounds x="206.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet 34" inputtag="BET.18" inputmask="0x20"> <bounds x="203.0" y="388.0" width="10.0" height="10.0"/> </element> + <element ref="Bet" inputtag="BET.18" inputmask="0x40"> <bounds x="206.0" y="399.0" width="4.0" height="4.0"/> </element> + + <!-- Rightmost column --> + <element ref="Bet" inputtag="BET.19" inputmask="0x02"> <bounds x="222.0" y="359.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.19" inputmask="0x04"> <bounds x="222.0" y="367.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.19" inputmask="0x08"> <bounds x="222.0" y="375.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.19" inputmask="0x10"> <bounds x="222.0" y="383.0" width="4.0" height="4.0"/> </element> + <element ref="Bet" inputtag="BET.19" inputmask="0x20"> <bounds x="222.0" y="391.0" width="4.0" height="4.0"/> </element> + + </view> </mamelayout> diff --git a/src/mame/layout/sidewndr.lay b/src/mame/layout/sidewndr.lay index 9700a780df4..68aa927dacf 100644 --- a/src/mame/layout/sidewndr.lay +++ b/src/mame/layout/sidewndr.lay @@ -35,30 +35,30 @@ license:CC0 <bounds left="0" top="0" right="3" bottom="4"/> </screen> - <bezel name="lamp0" element="lamp0"><bounds x="0" y="0" width="1.5" height="0.1"/></bezel> - <bezel name="lamp1" element="lamp1"><bounds x="0" y="0.1" width="1.5" height="0.1"/></bezel> - <bezel name="lamp2" element="lamp2"><bounds x="0" y="0.2" width="1.5" height="0.1"/></bezel> - <bezel name="lamp3" element="lamp3"><bounds x="0" y="0.3" width="1.5" height="0.1"/></bezel> - <bezel name="lamp4" element="lamp4"><bounds x="0" y="0.4" width="1.5" height="0.1"/></bezel> - <bezel name="lamp5" element="lamp5"><bounds x="0" y="0.5" width="1.5" height="0.1"/></bezel> - <bezel name="lamp6" element="lamp6"><bounds x="0" y="0.6" width="1.5" height="0.1"/></bezel> - <bezel name="lamp7" element="lamp7"><bounds x="0" y="0.7" width="1.5" height="0.1"/></bezel> - <bezel name="lamp8" element="lamp8"><bounds x="0.7" y="0" width="1.5" height="0.1"/></bezel> - <bezel name="lamp9" element="lamp9"><bounds x="0.7" y="0.1" width="1.5" height="0.1"/></bezel> - <bezel name="lamp10" element="lamp10"><bounds x="0.7" y="0.2" width="1.5" height="0.1"/></bezel> - <bezel name="lamp11" element="lamp11"><bounds x="0.7" y="0.3" width="1.5" height="0.1"/></bezel> - <bezel name="lamp12" element="lamp12"><bounds x="0.7" y="0.4" width="1.5" height="0.1"/></bezel> - <bezel name="lamp13" element="lamp13"><bounds x="0.7" y="0.5" width="1.5" height="0.1"/></bezel> - <bezel name="lamp14" element="lamp14"><bounds x="0.7" y="0.6" width="1.5" height="0.1"/></bezel> - <bezel name="lamp15" element="lamp15"><bounds x="0.7" y="0.7" width="1.5" height="0.1"/></bezel> + <element name="lamp0" ref="lamp0"><bounds x="0" y="0" width="1.5" height="0.1"/></element> + <element name="lamp1" ref="lamp1"><bounds x="0" y="0.1" width="1.5" height="0.1"/></element> + <element name="lamp2" ref="lamp2"><bounds x="0" y="0.2" width="1.5" height="0.1"/></element> + <element name="lamp3" ref="lamp3"><bounds x="0" y="0.3" width="1.5" height="0.1"/></element> + <element name="lamp4" ref="lamp4"><bounds x="0" y="0.4" width="1.5" height="0.1"/></element> + <element name="lamp5" ref="lamp5"><bounds x="0" y="0.5" width="1.5" height="0.1"/></element> + <element name="lamp6" ref="lamp6"><bounds x="0" y="0.6" width="1.5" height="0.1"/></element> + <element name="lamp7" ref="lamp7"><bounds x="0" y="0.7" width="1.5" height="0.1"/></element> + <element name="lamp8" ref="lamp8"><bounds x="0.7" y="0" width="1.5" height="0.1"/></element> + <element name="lamp9" ref="lamp9"><bounds x="0.7" y="0.1" width="1.5" height="0.1"/></element> + <element name="lamp10" ref="lamp10"><bounds x="0.7" y="0.2" width="1.5" height="0.1"/></element> + <element name="lamp11" ref="lamp11"><bounds x="0.7" y="0.3" width="1.5" height="0.1"/></element> + <element name="lamp12" ref="lamp12"><bounds x="0.7" y="0.4" width="1.5" height="0.1"/></element> + <element name="lamp13" ref="lamp13"><bounds x="0.7" y="0.5" width="1.5" height="0.1"/></element> + <element name="lamp14" ref="lamp14"><bounds x="0.7" y="0.6" width="1.5" height="0.1"/></element> + <element name="lamp15" ref="lamp15"><bounds x="0.7" y="0.7" width="1.5" height="0.1"/></element> - <bezel name="solenoid0" element="solenoid0"><bounds x="1.5" y="0" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid1" element="solenoid1"><bounds x="1.5" y="0.1" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid2" element="solenoid2"><bounds x="1.5" y="0.2" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid3" element="solenoid3"><bounds x="1.5" y="0.3" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid4" element="solenoid4"><bounds x="1.5" y="0.4" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid5" element="solenoid5"><bounds x="1.5" y="0.5" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid6" element="solenoid6"><bounds x="1.5" y="0.6" width="1.5" height="0.1"/></bezel> - <bezel name="solenoid7" element="solenoid7"><bounds x="1.5" y="0.7" width="1.5" height="0.1"/></bezel> + <element name="solenoid0" ref="solenoid0"><bounds x="1.5" y="0" width="1.5" height="0.1"/></element> + <element name="solenoid1" ref="solenoid1"><bounds x="1.5" y="0.1" width="1.5" height="0.1"/></element> + <element name="solenoid2" ref="solenoid2"><bounds x="1.5" y="0.2" width="1.5" height="0.1"/></element> + <element name="solenoid3" ref="solenoid3"><bounds x="1.5" y="0.3" width="1.5" height="0.1"/></element> + <element name="solenoid4" ref="solenoid4"><bounds x="1.5" y="0.4" width="1.5" height="0.1"/></element> + <element name="solenoid5" ref="solenoid5"><bounds x="1.5" y="0.5" width="1.5" height="0.1"/></element> + <element name="solenoid6" ref="solenoid6"><bounds x="1.5" y="0.6" width="1.5" height="0.1"/></element> + <element name="solenoid7" ref="solenoid7"><bounds x="1.5" y="0.7" width="1.5" height="0.1"/></element> </view> </mamelayout> diff --git a/src/mame/layout/slots.lay b/src/mame/layout/slots.lay index 0ef5875b1d3..5adcdaed61d 100644 --- a/src/mame/layout/slots.lay +++ b/src/mame/layout/slots.lay @@ -76,113 +76,47 @@ license:CC0 </text> </element> <element name="vfd0"> - <led14segsc> + <led14segsc> <color red="0" green="0.6" blue="1.0" /> - </led14segsc> + </led14segsc> </element> - <view name="Adder and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="enter"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp18" element="p1start"> - <bounds x="295" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp17" element="p2start"> - <bounds x="325" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <screen index="0"> - <bounds x="0" y="0" width="400" height="280" /> - </screen> - </view> - <view name="Adder,VFD and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="enter"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp18" element="p1start"> - <bounds x="295" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp17" element="p2start"> - <bounds x="325" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <bezel name="vfd0" element="vfd0" state="0"> - <bounds x="0" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd1" element="vfd0" state="0"> - <bounds x="9" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd2" element="vfd0" state="0"> - <bounds x="18" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd3" element="vfd0" state="0"> - <bounds x="27" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd4" element="vfd0" state="0"> - <bounds x="36" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd5" element="vfd0" state="0"> - <bounds x="45" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd6" element="vfd0" state="0"> - <bounds x="54" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd7" element="vfd0" state="0"> - <bounds x="63" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd8" element="vfd0" state="0"> - <bounds x="72" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd9" element="vfd0" state="0"> - <bounds x="81" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd10" element="vfd0" state="0"> - <bounds x="90" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd11" element="vfd0" state="0"> - <bounds x="99" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd12" element="vfd0" state="0"> - <bounds x="108" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd13" element="vfd0" state="0"> - <bounds x="117" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd14" element="vfd0" state="0"> - <bounds x="126" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd15" element="vfd0" state="0"> - <bounds x="135" y="280" width="9" height="14"/> - </bezel> + <view name="Adder, VFD and Lamps"> + <collection name="Lamps"> + <element name="lamp1" ref="slot1"> + <bounds x="145" y="280" width="26" height="14" /> + </element> + <element name="lamp3" ref="slot2"> + <bounds x="175" y="280" width="26" height="14" /> + </element> + <element name="lamp5" ref="slot3"> + <bounds x="205" y="280" width="26" height="14" /> + </element> + <element name="lamp6" ref="slot4"> + <bounds x="235" y="280" width="26" height="14" /> + </element> + <element name="lamp7" ref="enter"> + <bounds x="265" y="280" width="26" height="14" /> + </element> + <element name="lamp18" ref="p1start"> + <bounds x="295" y="280" width="26" height="14" /> + </element> + <element name="lamp17" ref="p2start"> + <bounds x="325" y="280" width="26" height="14" /> + </element> + <element name="door" ref="door0"> + <bounds x="370" y="280" width="26" height="14" /> + </element> + </collection> + <collection name="VFD" visible="no"> + <repeat count="16"> + <param name="n" start="0" increment="1" /> + <param name="x" start="0" increment="9" /> + <element name="vfd~n~" ref="vfd0" state="0"> + <bounds x="~x~" y="280" width="9" height="14"/> + </element> + </repeat> + </collection> <screen index="0"> <bounds x="0" y="0" width="400" height="280" /> </screen> diff --git a/src/mame/layout/sltblgpo.lay b/src/mame/layout/sltblgpo.lay index 8d75ecff8c5..fa43609a61a 100644 --- a/src/mame/layout/sltblgpo.lay +++ b/src/mame/layout/sltblgpo.lay @@ -58,101 +58,41 @@ license:CC0 </text> </element> <element name="vfd0"> - <led14segsc> + <led14segsc> <color red="0" green="0.6" blue="1.0" /> - </led14segsc> + </led14segsc> </element> - <view name="Adder and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="start"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <screen index="0"> - <bounds x="0" y="0" width="400" height="280" /> - </screen> - </view> - <view name="Adder,VFD and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="start"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <bezel name="vfd0" element="vfd0" state="0"> - <bounds x="0" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd1" element="vfd0" state="0"> - <bounds x="9" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd2" element="vfd0" state="0"> - <bounds x="18" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd3" element="vfd0" state="0"> - <bounds x="27" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd4" element="vfd0" state="0"> - <bounds x="36" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd5" element="vfd0" state="0"> - <bounds x="45" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd6" element="vfd0" state="0"> - <bounds x="54" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd7" element="vfd0" state="0"> - <bounds x="63" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd8" element="vfd0" state="0"> - <bounds x="72" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd9" element="vfd0" state="0"> - <bounds x="81" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd10" element="vfd0" state="0"> - <bounds x="90" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd11" element="vfd0" state="0"> - <bounds x="99" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd12" element="vfd0" state="0"> - <bounds x="108" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd13" element="vfd0" state="0"> - <bounds x="117" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd14" element="vfd0" state="0"> - <bounds x="126" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd15" element="vfd0" state="0"> - <bounds x="135" y="280" width="9" height="14"/> - </bezel> + <view name="Adder, VFD and Lamps"> + <collection name="Lamps"> + <element name="lamp1" ref="slot1"> + <bounds x="145" y="280" width="26" height="14" /> + </element> + <element name="lamp3" ref="slot2"> + <bounds x="175" y="280" width="26" height="14" /> + </element> + <element name="lamp5" ref="slot3"> + <bounds x="205" y="280" width="26" height="14" /> + </element> + <element name="lamp6" ref="slot4"> + <bounds x="235" y="280" width="26" height="14" /> + </element> + <element name="lamp7" ref="start"> + <bounds x="265" y="280" width="26" height="14" /> + </element> + <element name="door" ref="door0"> + <bounds x="370" y="280" width="26" height="14" /> + </element> + </collection> + <collection name="VFD" visible="no"> + <repeat count="16"> + <param name="n" start="0" increment="1" /> + <param name="x" start="0" increment="9" /> + <element name="vfd~n~" ref="vfd0" state="0"> + <bounds x="~x~" y="280" width="9" height="14"/> + </element> + </repeat> + </collection> <screen index="0"> <bounds x="0" y="0" width="400" height="280" /> </screen> diff --git a/src/mame/layout/sltblgtk.lay b/src/mame/layout/sltblgtk.lay index c79194fc250..23abbdabd77 100644 --- a/src/mame/layout/sltblgtk.lay +++ b/src/mame/layout/sltblgtk.lay @@ -76,113 +76,47 @@ license:CC0 </text> </element> <element name="vfd0"> - <led14segsc> + <led14segsc> <color red="0" green="0.6" blue="1.0" /> - </led14segsc> + </led14segsc> </element> - <view name="Adder and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="enter"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp18" element="p1start"> - <bounds x="295" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp17" element="p2start"> - <bounds x="325" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <screen index="0"> - <bounds x="0" y="0" width="400" height="280" /> - </screen> - </view> - <view name="Adder,VFD and Lamps"> - <bezel name="lamp1" element="slot1"> - <bounds x="145" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp3" element="slot2"> - <bounds x="175" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp5" element="slot3"> - <bounds x="205" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp6" element="slot4"> - <bounds x="235" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp7" element="enter"> - <bounds x="265" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp18" element="p1start"> - <bounds x="295" y="280" width="26" height="14" /> - </bezel> - <bezel name="lamp17" element="p2start"> - <bounds x="325" y="280" width="26" height="14" /> - </bezel> - <bezel name="door" element="door0"> - <bounds x="370" y="280" width="26" height="14" /> - </bezel> - <bezel name="vfd0" element="vfd0" state="0"> - <bounds x="0" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd1" element="vfd0" state="0"> - <bounds x="9" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd2" element="vfd0" state="0"> - <bounds x="18" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd3" element="vfd0" state="0"> - <bounds x="27" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd4" element="vfd0" state="0"> - <bounds x="36" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd5" element="vfd0" state="0"> - <bounds x="45" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd6" element="vfd0" state="0"> - <bounds x="54" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd7" element="vfd0" state="0"> - <bounds x="63" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd8" element="vfd0" state="0"> - <bounds x="72" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd9" element="vfd0" state="0"> - <bounds x="81" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd10" element="vfd0" state="0"> - <bounds x="90" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd11" element="vfd0" state="0"> - <bounds x="99" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd12" element="vfd0" state="0"> - <bounds x="108" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd13" element="vfd0" state="0"> - <bounds x="117" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd14" element="vfd0" state="0"> - <bounds x="126" y="280" width="9" height="14"/> - </bezel> - <bezel name="vfd15" element="vfd0" state="0"> - <bounds x="135" y="280" width="9" height="14"/> - </bezel> + <view name="Adder, VFD and Lamps"> + <collection name="Lamps"> + <element name="lamp1" ref="slot1"> + <bounds x="145" y="280" width="26" height="14" /> + </element> + <element name="lamp3" ref="slot2"> + <bounds x="175" y="280" width="26" height="14" /> + </element> + <element name="lamp5" ref="slot3"> + <bounds x="205" y="280" width="26" height="14" /> + </element> + <element name="lamp6" ref="slot4"> + <bounds x="235" y="280" width="26" height="14" /> + </element> + <element name="lamp7" ref="enter"> + <bounds x="265" y="280" width="26" height="14" /> + </element> + <element name="lamp18" ref="p1start"> + <bounds x="295" y="280" width="26" height="14" /> + </element> + <element name="lamp17" ref="p2start"> + <bounds x="325" y="280" width="26" height="14" /> + </element> + <element name="door" ref="door0"> + <bounds x="370" y="280" width="26" height="14" /> + </element> + </collection> + <collection name="VFD" visible="no"> + <repeat count="16"> + <param name="n" start="0" increment="1" /> + <param name="x" start="0" increment="9" /> + <element name="vfd~n~" ref="vfd0" state="0"> + <bounds x="~x~" y="280" width="9" height="14"/> + </element> + </repeat> + </collection> <screen index="0"> <bounds x="0" y="0" width="400" height="280" /> </screen> diff --git a/src/mame/layout/spectra.lay b/src/mame/layout/spectra.lay index 3a201348c30..254e9d5c726 100644 --- a/src/mame/layout/spectra.lay +++ b/src/mame/layout/spectra.lay @@ -12,12 +12,6 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P2"><text string="Player"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -27,120 +21,116 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit24" element="digit"> + <element name="digit24" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit26" element="digit"> + </element> + <element name="digit26" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit27" element="digit"> + </element> + <element name="digit27" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit28" element="digit"> + </element> + <element name="digit28" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit29" element="digit"> + </element> + <element name="digit29" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit16" element="digit"> + <element name="digit16" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit17" element="digit"> + </element> + <element name="digit17" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit18" element="digit"> + </element> + <element name="digit18" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit19" element="digit"> + </element> + <element name="digit19" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit8" element="digit"> + <element name="digit8" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit9" element="digit"> + </element> + <element name="digit9" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit32" element="digit"> + <element name="digit32" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="98" top="345" right="132" bottom="384" /> - </bezel> - <bezel name="digit35" element="digit"> + </element> + <element name="digit35" ref="digit"> <bounds left="142" top="345" right="176" bottom="384" /> - </bezel> - <bezel name="digit36" element="digit"> + </element> + <element name="digit36" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit37" element="digit"> + </element> + <element name="digit37" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel element="P2"><bounds left="100" right="180" top="330" bottom="342" /></bezel> - <bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> + </element> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element ref="P2"><bounds left="100" right="180" top="330" bottom="342" /></element> + <element ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> </view> </mamelayout> diff --git a/src/mame/layout/speedrs.lay b/src/mame/layout/speedrs.lay index 5c5bcfbe16a..7860a780e54 100644 --- a/src/mame/layout/speedrs.lay +++ b/src/mame/layout/speedrs.lay @@ -58,40 +58,49 @@ license:CC0 <screen index="0"> <bounds x="0" y="0" width="738.46" height="480" /> </screen> - <bezel element="black"> + <element ref="black"> <bounds x="640" y="0" width="100" height="480" /> - </bezel> - <bezel element="shifter" inputtag="IN.2" inputmask="0x02"> + </element> + <element ref="shifter" inputtag="IN.2" inputmask="0x02"> <bounds x="606" y="414" width="32" height="64" /> <color alpha="0.6" /> - </bezel> + </element> </view> <view name="Shifter-L"> <bounds left="0" right="640" top="0" bottom="480" /> <screen index="0"> <bounds x="0" y="0" width="738.46" height="480" /> </screen> - <bezel element="black"> + <element ref="black"> <bounds x="640" y="0" width="100" height="480" /> - </bezel> - <bezel element="shifter" inputtag="IN.2" inputmask="0x02"> + </element> + <element ref="shifter" inputtag="IN.2" inputmask="0x02"> <bounds x="2" y="414" width="32" height="64" /> <color alpha="0.6" /> - </bezel> + </element> </view> <view name="Widescreen Shifter-R"> - <bounds left="0" right="640" top="0" bottom="480" /> + <bounds left="0" right="682" top="0" bottom="480" /> <screen index="0"> <bounds x="0" y="0" width="738.46" height="480" /> </screen> - <bezel element="black"> + <element ref="black"> <bounds x="640" y="0" width="100" height="480" /> - </bezel> - <bezel element="shifter" inputtag="IN.2" inputmask="0x02"> + </element> + <element ref="shifter" inputtag="IN.2" inputmask="0x02"> <bounds x="648" y="414" width="32" height="64" /> - <color alpha="0.65" /> - </bezel> + </element> + </view> + <view name="Widescreen Shifter-L"> + <bounds left="-42" right="640" top="0" bottom="480" /> + <screen index="0"> + <bounds x="0" y="0" width="738.46" height="480" /> + </screen> + <element ref="black"> + <bounds x="640" y="0" width="100" height="480" /> + </element> + <element ref="shifter" inputtag="IN.2" inputmask="0x02"> + <bounds x="-40" y="414" width="32" height="64" /> + </element> </view> - <!-- No need for a Widescreen Shifter-L as Shifter-L performs exactly - what a widescreen Shifter-L layout would do. --> </mamelayout> diff --git a/src/mame/layout/splus.lay b/src/mame/layout/splus.lay index 3a7fbe13bb3..5a9324caf39 100644 --- a/src/mame/layout/splus.lay +++ b/src/mame/layout/splus.lay @@ -4,9 +4,6 @@ license:CC0 --> <mamelayout version="2"> - <element name="bezel"> - </element> - <element name="winnerpaid" defstate="0"> <rect state="0"> <color red="0.0" green="0.0" blue="0.0" /> @@ -93,59 +90,57 @@ license:CC0 </element> <view name="Buttons"> + <bounds left="0" top="0" right="340" bottom="310" /> <screen index="0"> <bounds left="10" top="40" right="330" bottom="240" /> </screen> - <bezel element="bezel"> - <bounds left="0" top="0" right="340" bottom="310" /> - </bezel> - <bezel name="s_bnk41" element="insertcoin"> + <element name="s_bnk41" ref="insertcoin"> <bounds x="160" y="170" width="74" height="20" /> - </bezel> - <bezel name="s_bnk46" element="cashout"> + </element> + <element name="s_bnk46" ref="cashout"> <bounds x="10" y="280" width="74" height="20" /> - </bezel> - <bezel name="s_bnk45" element="bet1"> + </element> + <element name="s_bnk45" ref="bet1"> <bounds x="92" y="280" width="74" height="20" /> - </bezel> - <bezel name="s_bnk44" element="betmax"> + </element> + <element name="s_bnk44" ref="betmax"> <bounds x="174" y="280" width="74" height="20" /> - </bezel> - <bezel name="wp" element="winnerpaid"> + </element> + <element name="wp" ref="winnerpaid"> <bounds x="10" y="190" width="120" height="40" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds x="10" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds x="35" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds x="60" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds x="85" y="230" width="25" height="40" /> - </bezel> - <bezel name="cr" element="credits"> + </element> + <element name="cr" ref="credits"> <bounds x="160" y="190" width="80" height="40" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds x="130" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds x="155" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds x="180" y="230" width="25" height="40" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds x="205" y="230" width="25" height="40" /> - </bezel> - <bezel name="cr" element="played"> + </element> + <element name="cr" ref="played"> <bounds x="270" y="190" width="80" height="40" /> - </bezel> - <bezel name="digit8" element="digit"> + </element> + <element name="digit8" ref="digit"> <bounds x="290" y="230" width="25" height="40" /> - </bezel> + </element> </view> </mamelayout> diff --git a/src/mame/layout/st_mp100.lay b/src/mame/layout/st_mp100.lay index bf81624c03f..def3591b2a9 100644 --- a/src/mame/layout/st_mp100.lay +++ b/src/mame/layout/st_mp100.lay @@ -14,12 +14,6 @@ copyright-holders:Robbbert <element name="red_led"> <disk><color red="1.0" green="0.0" blue="0.0" /></disk> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P2"><text string="Players"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -29,116 +23,113 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit5" element="digit"> + <element name="digit5" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit15" element="digit"> + <element name="digit15" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit25" element="digit"> + <element name="digit25" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit35" element="digit"> + <element name="digit35" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit30" element="digit"> + </element> + <element name="digit30" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit44" element="digit"> + <element name="digit44" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit40" element="digit"> + </element> + <element name="digit40" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> + </element> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel name="text3" element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel name="text2" element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel name="text1" element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel name="text0" element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> - <bezel name="led0" element="red_led"> - <bounds left="110" right="125" top="360" bottom="375" /></bezel> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element name="text3" ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element name="text2" ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element name="text1" ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element name="text0" ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> + <element name="led0" ref="red_led"> + <bounds left="110" right="125" top="360" bottom="375" /> + </element> </view> </mamelayout> diff --git a/src/mame/layout/st_mp200.lay b/src/mame/layout/st_mp200.lay index 8bd919921a5..9a822882e58 100644 --- a/src/mame/layout/st_mp200.lay +++ b/src/mame/layout/st_mp200.lay @@ -14,12 +14,6 @@ copyright-holders:Robbbert <element name="red_led"> <disk><color red="1.0" green="0.0" blue="0.0" /></disk> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P2"><text string="Players"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -29,128 +23,125 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="318" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="318" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit6" element="digit"> + <element name="digit6" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="274" top="45" right="308" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit16" element="digit"> + <element name="digit16" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="274" top="105" right="308" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit26" element="digit"> + <element name="digit26" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="274" top="165" right="308" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit36" element="digit"> + <element name="digit36" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit35" element="digit"> + </element> + <element name="digit35" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> - <bezel name="digit30" element="digit"> + </element> + <element name="digit30" ref="digit"> <bounds left="274" top="225" right="308" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit44" element="digit"> + <element name="digit44" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit40" element="digit"> + </element> + <element name="digit40" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> + </element> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel name="text3" element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel name="text2" element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel name="text1" element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel name="text0" element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> - <bezel name="led0" element="red_led"> - <bounds left="110" right="125" top="360" bottom="375" /></bezel> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element name="text3" ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element name="text2" ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element name="text1" ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element name="text0" ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> + <element name="led0" ref="red_led"> + <bounds left="110" right="125" top="360" bottom="375" /> + </element> </view> </mamelayout> diff --git a/src/mame/layout/super80.lay b/src/mame/layout/super80.lay index 8e4f63658df..be74fbd16a6 100644 --- a/src/mame/layout/super80.lay +++ b/src/mame/layout/super80.lay @@ -23,18 +23,18 @@ license:CC0 </element> <view name="Cassette LED"> - <!-- <bezel name="cass_txt" element="CASSETTE"> - <bounds left="0" right="100" top="1030" bottom="1050" /> - </bezel> --> - <bezel name="cass_led" element="red_led"> - <bounds left="0" right="20" top="1020" bottom="1045" /> - </bezel> - <!-- <bezel element="background"> - <bounds left="0" top="850" right="1" bottom="855" /> - </bezel> --> <screen index="0"> <bounds x="0" y="0" width="1400" height="1050" /> </screen> + <!-- <element name="cass_txt" ref="CASSETTE"> + <bounds left="0" right="100" top="1030" bottom="1050" /> + </element> --> + <element name="cass_led" ref="red_led"> + <bounds left="0" right="20" top="1020" bottom="1045" /> + </element> + <!-- <element ref="background"> + <bounds left="0" top="850" right="1" bottom="855" /> + </element> --> </view> </mamelayout> diff --git a/src/mame/layout/sym1.lay b/src/mame/layout/sym1.lay index cfc43ddb569..213ce0da1bd 100644 --- a/src/mame/layout/sym1.lay +++ b/src/mame/layout/sym1.lay @@ -12,39 +12,29 @@ copyright-holders:Dirk Best </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> - <view name="Default Layout"> - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="0" right="274" bottom="69" /> - </backdrop> + <bounds left="0" top="0" right="274" bottom="69" /> <!-- LEDs --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="10" top="10" right="44" bottom="59" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="54" top="10" right="88" bottom="59" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="98" top="10" right="132" bottom="59" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="142" top="10" right="176" bottom="59" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="186" top="10" right="220" bottom="59" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="230" top="10" right="264" bottom="59" /> - </bezel> + </element> </view> diff --git a/src/mame/layout/taito.lay b/src/mame/layout/taito.lay index a53d80a3127..f7ea1fad13b 100644 --- a/src/mame/layout/taito.lay +++ b/src/mame/layout/taito.lay @@ -12,12 +12,6 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -26,117 +20,113 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit4" element="digit"> + <element name="digit4" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit10" element="digit"> + <element name="digit10" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit8" element="digit"> + </element> + <element name="digit8" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit9" element="digit"> + </element> + <element name="digit9" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit16" element="digit"> + <element name="digit16" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit17" element="digit"> + </element> + <element name="digit17" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit22" element="digit"> + <element name="digit22" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit18" element="digit"> + </element> + <element name="digit18" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit19" element="digit"> + </element> + <element name="digit19" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit26" element="digit"> + <element name="digit26" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit27" element="digit"> + </element> + <element name="digit27" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="122" top="345" right="156" bottom="384" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> + </element> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> </view> </mamelayout> diff --git a/src/mame/layout/tascr30.lay b/src/mame/layout/tascr30.lay index 7dc21ef9e89..03cb3ea9aed 100644 --- a/src/mame/layout/tascr30.lay +++ b/src/mame/layout/tascr30.lay @@ -192,122 +192,122 @@ license:CC0 <group name="sb_board"> <bounds x="-3.5" y="-3.5" width="89" height="89" /> - <bezel element="cblack"><bounds x="-3.5" y="-3.5" width="89" height="89" /></bezel> - <bezel element="black3b"><bounds x="0.5" y="0.5" width="81" height="81" /></bezel> + <element ref="cblack"><bounds x="-3.5" y="-3.5" width="89" height="89" /></element> + <element ref="black3b"><bounds x="0.5" y="0.5" width="81" height="81" /></element> <!-- chessboard coords --> - <bezel element="text_8"><bounds x="-2.3" y="5" width="2" height="2" /></bezel> - <bezel element="text_7"><bounds x="-2.3" y="15" width="2" height="2" /></bezel> - <bezel element="text_6"><bounds x="-2.3" y="25" width="2" height="2" /></bezel> - <bezel element="text_5"><bounds x="-2.3" y="35" width="2" height="2" /></bezel> - <bezel element="text_4"><bounds x="-2.3" y="45" width="2" height="2" /></bezel> - <bezel element="text_3"><bounds x="-2.3" y="55" width="2" height="2" /></bezel> - <bezel element="text_2"><bounds x="-2.3" y="65" width="2" height="2" /></bezel> - <bezel element="text_1"><bounds x="-2.3" y="75" width="2" height="2" /></bezel> - <bezel element="text_a"><bounds x="5" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_b"><bounds x="15" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_c"><bounds x="25" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_d"><bounds x="35" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_e"><bounds x="45" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_f"><bounds x="55" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_g"><bounds x="65" y="82.5" width="2" height="2" /></bezel> - <bezel element="text_h"><bounds x="75" y="82.5" width="2" height="2" /></bezel> + <element ref="text_8"><bounds x="-2.3" y="5" width="2" height="2" /></element> + <element ref="text_7"><bounds x="-2.3" y="15" width="2" height="2" /></element> + <element ref="text_6"><bounds x="-2.3" y="25" width="2" height="2" /></element> + <element ref="text_5"><bounds x="-2.3" y="35" width="2" height="2" /></element> + <element ref="text_4"><bounds x="-2.3" y="45" width="2" height="2" /></element> + <element ref="text_3"><bounds x="-2.3" y="55" width="2" height="2" /></element> + <element ref="text_2"><bounds x="-2.3" y="65" width="2" height="2" /></element> + <element ref="text_1"><bounds x="-2.3" y="75" width="2" height="2" /></element> + <element ref="text_a"><bounds x="5" y="82.5" width="2" height="2" /></element> + <element ref="text_b"><bounds x="15" y="82.5" width="2" height="2" /></element> + <element ref="text_c"><bounds x="25" y="82.5" width="2" height="2" /></element> + <element ref="text_d"><bounds x="35" y="82.5" width="2" height="2" /></element> + <element ref="text_e"><bounds x="45" y="82.5" width="2" height="2" /></element> + <element ref="text_f"><bounds x="55" y="82.5" width="2" height="2" /></element> + <element ref="text_g"><bounds x="65" y="82.5" width="2" height="2" /></element> + <element ref="text_h"><bounds x="75" y="82.5" width="2" height="2" /></element> <!-- squares (avoid seams) --> - <bezel element="cwhite"><bounds x="1" y="1" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="11" y="1" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="21" y="1" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="31" y="1" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="41" y="1" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="51" y="1" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="61" y="1" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="71" y="1" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="1" y="11" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="11" y="11" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="21" y="11" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="31" y="11" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="41" y="11" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="51" y="11" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="61" y="11" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="71" y="11" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="21" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="11" y="21" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="21" y="21" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="31" y="21" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="41" y="21" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="51" y="21" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="61" y="21" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="71" y="21" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="1" y="31" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="11" y="31" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="21" y="31" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="31" y="31" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="41" y="31" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="51" y="31" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="61" y="31" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="71" y="31" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="41" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="11" y="41" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="21" y="41" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="31" y="41" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="41" y="41" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="51" y="41" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="61" y="41" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="71" y="41" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="1" y="51" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="11" y="51" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="21" y="51" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="31" y="51" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="41" y="51" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="51" y="51" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="61" y="51" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="71" y="51" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="61" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="11" y="61" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="21" y="61" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="31" y="61" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="41" y="61" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="51" y="61" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="61" y="61" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="71" y="61" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="1" y="71" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="11" y="71" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="21" y="71" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="31" y="71" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="41" y="71" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="51" y="71" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="61" y="71" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="71" y="71" width="10" height="10" /></bezel> + <element ref="cwhite"><bounds x="1" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="1" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="11" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="21" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="31" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="41" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="51" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="61" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="11" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="21" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="31" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="41" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="51" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="61" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="71" y="71" width="10" height="10" /></element> <!-- sensors, pieces --> <repeat count="8"> <param name="y" start="1" increment="10" /> <param name="i" start="8" increment="-1" /> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x01"><bounds x="1" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x02"><bounds x="11" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x04"><bounds x="21" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x08"><bounds x="31" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x10"><bounds x="41" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x20"><bounds x="51" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x40"><bounds x="61" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x80"><bounds x="71" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - - <bezel name="piece_a~i~" element="piece"><bounds x="1" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_b~i~" element="piece"><bounds x="11" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_c~i~" element="piece"><bounds x="21" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_d~i~" element="piece"><bounds x="31" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_e~i~" element="piece"><bounds x="41" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_f~i~" element="piece"><bounds x="51" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_g~i~" element="piece"><bounds x="61" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_h~i~" element="piece"><bounds x="71" y="~y~" width="10" height="10" /></bezel> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x01"><bounds x="1" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x02"><bounds x="11" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x04"><bounds x="21" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x08"><bounds x="31" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x10"><bounds x="41" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x20"><bounds x="51" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x40"><bounds x="61" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x80"><bounds x="71" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + + <element name="piece_a~i~" ref="piece"><bounds x="1" y="~y~" width="10" height="10" /></element> + <element name="piece_b~i~" ref="piece"><bounds x="11" y="~y~" width="10" height="10" /></element> + <element name="piece_c~i~" ref="piece"><bounds x="21" y="~y~" width="10" height="10" /></element> + <element name="piece_d~i~" ref="piece"><bounds x="31" y="~y~" width="10" height="10" /></element> + <element name="piece_e~i~" ref="piece"><bounds x="41" y="~y~" width="10" height="10" /></element> + <element name="piece_f~i~" ref="piece"><bounds x="51" y="~y~" width="10" height="10" /></element> + <element name="piece_g~i~" ref="piece"><bounds x="61" y="~y~" width="10" height="10" /></element> + <element name="piece_h~i~" ref="piece"><bounds x="71" y="~y~" width="10" height="10" /></element> </repeat> <!-- LEDs --> @@ -315,15 +315,15 @@ license:CC0 <param name="x" start="80.5" increment="-10" /> <param name="i" start="0" increment="1" /> - <bezel name="led_0~i~" element="ledr"><bounds x="~x~" y="0.5" width="1" height="1" /></bezel> - <bezel name="led_1~i~" element="ledr"><bounds x="~x~" y="10.5" width="1" height="1" /></bezel> - <bezel name="led_2~i~" element="ledr"><bounds x="~x~" y="20.5" width="1" height="1" /></bezel> - <bezel name="led_3~i~" element="ledr"><bounds x="~x~" y="30.5" width="1" height="1" /></bezel> - <bezel name="led_4~i~" element="ledr"><bounds x="~x~" y="40.5" width="1" height="1" /></bezel> - <bezel name="led_5~i~" element="ledr"><bounds x="~x~" y="50.5" width="1" height="1" /></bezel> - <bezel name="led_6~i~" element="ledr"><bounds x="~x~" y="60.5" width="1" height="1" /></bezel> - <bezel name="led_7~i~" element="ledr"><bounds x="~x~" y="70.5" width="1" height="1" /></bezel> - <bezel name="led_8~i~" element="ledr"><bounds x="~x~" y="80.5" width="1" height="1" /></bezel> + <element name="led_0~i~" ref="ledr"><bounds x="~x~" y="0.5" width="1" height="1" /></element> + <element name="led_1~i~" ref="ledr"><bounds x="~x~" y="10.5" width="1" height="1" /></element> + <element name="led_2~i~" ref="ledr"><bounds x="~x~" y="20.5" width="1" height="1" /></element> + <element name="led_3~i~" ref="ledr"><bounds x="~x~" y="30.5" width="1" height="1" /></element> + <element name="led_4~i~" ref="ledr"><bounds x="~x~" y="40.5" width="1" height="1" /></element> + <element name="led_5~i~" ref="ledr"><bounds x="~x~" y="50.5" width="1" height="1" /></element> + <element name="led_6~i~" ref="ledr"><bounds x="~x~" y="60.5" width="1" height="1" /></element> + <element name="led_7~i~" ref="ledr"><bounds x="~x~" y="70.5" width="1" height="1" /></element> + <element name="led_8~i~" ref="ledr"><bounds x="~x~" y="80.5" width="1" height="1" /></element> </repeat> </group> @@ -413,82 +413,82 @@ license:CC0 <group name="sb_ui"> <bounds x="0" y="0" width="10" height="80" /> - <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel> - <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel> - <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel> + <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 --> - <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel> - <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel> + <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> - <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel> - <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel> + <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> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element> <!-- spawn --> - <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel> - <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel> - - <bezel name="piece_ui1" element="piece_ui"><bounds x="1" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui2" element="piece_ui"><bounds x="1" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui3" element="piece_ui"><bounds x="1" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui4" element="piece_ui"><bounds x="5" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui5" element="piece_ui"><bounds x="5" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui6" element="piece_ui"><bounds x="5" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui7" element="piece_ui"><bounds x="1" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui8" element="piece_ui"><bounds x="1" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui9" element="piece_ui"><bounds x="1" y="44" width="4" height="4" /></bezel> - <bezel name="piece_ui10" element="piece_ui"><bounds x="5" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui11" element="piece_ui"><bounds x="5" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui12" element="piece_ui"><bounds x="5" y="44" width="4" height="4" /></bezel> - - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> + <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_ui"><bounds x="1" y="23" width="4" height="4" /></element> + <element name="piece_ui2" ref="piece_ui"><bounds x="1" y="27" width="4" height="4" /></element> + <element name="piece_ui3" ref="piece_ui"><bounds x="1" y="31" width="4" height="4" /></element> + <element name="piece_ui4" ref="piece_ui"><bounds x="5" y="23" width="4" height="4" /></element> + <element name="piece_ui5" ref="piece_ui"><bounds x="5" y="27" width="4" height="4" /></element> + <element name="piece_ui6" ref="piece_ui"><bounds x="5" y="31" width="4" height="4" /></element> + <element name="piece_ui7" ref="piece_ui"><bounds x="1" y="36" width="4" height="4" /></element> + <element name="piece_ui8" ref="piece_ui"><bounds x="1" y="40" width="4" height="4" /></element> + <element name="piece_ui9" ref="piece_ui"><bounds x="1" y="44" width="4" height="4" /></element> + <element name="piece_ui10" ref="piece_ui"><bounds x="5" y="36" width="4" height="4" /></element> + <element name="piece_ui11" ref="piece_ui"><bounds x="5" y="40" width="4" height="4" /></element> + <element name="piece_ui12" ref="piece_ui"><bounds x="5" y="44" width="4" height="4" /></element> + + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element> <!-- hand --> - <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel> - <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel> - <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel> + <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> - <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel> - <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> + <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="smartboard:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element> <!-- undo --> - <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel> - - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="smartboard:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - - <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel> - <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel> - <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel> + <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="smartboard:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard: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="smartboard: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="smartboard: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> @@ -505,17 +505,17 @@ license:CC0 <element ref="black2b"><bounds x="180" y="8.2" width="1.5" height="50" /></element> <element ref="black2b"><bounds x="28" y="4" width="151" height="1.5" /></element> + <group ref="control_panel"><bounds x="102.8" y="28.399" width="88.8" height="60.401" /></group> <group ref="sb_board"><bounds x="12" y="0" width="88.8" height="88.8" /></group> <group ref="sb_ui"><bounds x="1" y="4.4" width="10" height="80" /></group> - <group ref="control_panel"><bounds x="102.8" y="28.399" width="88.8" height="60.401" /></group> </view> <view name="Internal Layout (Full V)"> <bounds left="0" right="100.8" top="0" bottom="151.201" /> + <group ref="control_panel"><bounds x="12" y="90.8" width="88.8" height="60.401" /></group> <group ref="sb_board"><bounds x="12" y="0" width="88.8" height="88.8" /></group> <group ref="sb_ui"><bounds x="1" y="4.4" width="10" height="80" /></group> - <group ref="control_panel"><bounds x="12" y="90.8" width="88.8" height="60.401" /></group> </view> <view name="Internal Layout (Board)"> diff --git a/src/mame/layout/techno.lay b/src/mame/layout/techno.lay index 7e270d2ee2e..3dccfca6075 100644 --- a/src/mame/layout/techno.lay +++ b/src/mame/layout/techno.lay @@ -12,122 +12,111 @@ copyright-holders:Robbbert </led16seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> - <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="35" right="714" bottom="154" /> - </backdrop> + <bounds left="0" top="35" right="714" bottom="154" /> <!-- LEDs --> <!-- Top Row --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="274" top="45" right="308" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="318" top="45" right="352" bottom="84" /> - </bezel> - <bezel name="digit8" element="digit"> + </element> + <element name="digit8" ref="digit"> <bounds left="362" top="45" right="396" bottom="84" /> - </bezel> - <bezel name="digit9" element="digit"> + </element> + <element name="digit9" ref="digit"> <bounds left="406" top="45" right="440" bottom="84" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="450" top="45" right="484" bottom="84" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="494" top="45" right="528" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="538" top="45" right="572" bottom="84" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="582" top="45" right="616" bottom="84" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="626" top="45" right="660" bottom="84" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="670" top="45" right="704" bottom="84" /> - </bezel> + </element> <!-- Bottom Row --> - <bezel name="digit30" element="digit"> + <element name="digit30" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit36" element="digit"> + </element> + <element name="digit36" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit37" element="digit"> + </element> + <element name="digit37" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit42" element="digit"> + </element> + <element name="digit42" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="274" top="105" right="308" bottom="144" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="318" top="105" right="352" bottom="144" /> - </bezel> - <bezel name="digit38" element="digit"> + </element> + <element name="digit38" ref="digit"> <bounds left="362" top="105" right="396" bottom="144" /> - </bezel> - <bezel name="digit39" element="digit"> + </element> + <element name="digit39" ref="digit"> <bounds left="406" top="105" right="440" bottom="144" /> - </bezel> - <bezel name="digit44" element="digit"> + </element> + <element name="digit44" ref="digit"> <bounds left="450" top="105" right="484" bottom="144" /> - </bezel> - <bezel name="digit45" element="digit"> + </element> + <element name="digit45" ref="digit"> <bounds left="494" top="105" right="528" bottom="144" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="538" top="105" right="572" bottom="144" /> - </bezel> - <bezel name="digit35" element="digit"> + </element> + <element name="digit35" ref="digit"> <bounds left="582" top="105" right="616" bottom="144" /> - </bezel> - <bezel name="digit40" element="digit"> + </element> + <element name="digit40" ref="digit"> <bounds left="626" top="105" right="660" bottom="144" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="670" top="105" right="704" bottom="144" /> - </bezel> + </element> </view> </mamelayout> diff --git a/src/mame/layout/ti95.lay b/src/mame/layout/ti95.lay index a4c6ad35f4a..268093d2bbb 100644 --- a/src/mame/layout/ti95.lay +++ b/src/mame/layout/ti95.lay @@ -199,58 +199,58 @@ license:CC0 <!-- draw background around lcd screen matrix part --> - <bezel element="static_bg"> + <element ref="static_bg"> <bounds left="0" top="0" right="150" bottom="7" /> - </bezel> - <bezel element="static_bg"> + </element> + <element ref="static_bg"> <bounds left="0" top="0" right="15.25" bottom="20" /> - </bezel> - <bezel element="static_bg"> + </element> + <element ref="static_bg"> <bounds left="0" top="17.75" right="150" bottom="22.2" /> - </bezel> - <bezel element="static_bg"> + </element> + <element ref="static_bg"> <bounds left="0" top="20" right="10.2" bottom="45" /> - </bezel> - <bezel element="static_bg"> + </element> + <element ref="static_bg"> <bounds left="0" top="29.5" right="150" bottom="45" /> - </bezel> + </element> -<!-- draw bezel around 2nd line --> +<!-- draw element around 2nd line --> - <bezel element="static_bg2"> + <element ref="static_bg2"> <bounds x="0" y="18.7" width="150" height="2.5" /> - </bezel> + </element> - <bezel element="static_bg2"> + <element ref="static_bg2"> <bounds x="0" y="20" width="7.9" height="15" /> - </bezel> - <bezel element="static_bg2"> + </element> + <element ref="static_bg2"> <bounds x="27.9" y="20" width="2.5" height="15" /> - </bezel> - <bezel element="static_bg2"> + </element> + <element ref="static_bg2"> <bounds x="50.4" y="20" width="2.5" height="15" /> - </bezel> - <bezel element="static_bg2"> + </element> + <element ref="static_bg2"> <bounds x="72.9" y="20" width="2.5" height="15" /> - </bezel> - <bezel element="static_bg2"> + </element> + <element ref="static_bg2"> <bounds x="95.4" y="20" width="2.5" height="15" /> - </bezel> - <bezel element="static_bg2"> + </element> + <element ref="static_bg2"> <bounds x="117.9" y="20" width="10" height="15" /> - </bezel> + </element> <!-- crop --> - <bezel element="static_black"> + <element ref="static_black"> <bounds left="0" top="-10" right="250" bottom="0" /> - </bezel> - <bezel element="static_black"> + </element> + <element ref="static_black"> <bounds left="125" top="-10" right="250" bottom="50" /> - </bezel> - <bezel element="static_black"> + </element> + <element ref="static_black"> <bounds left="0" top="30" right="250" bottom="50" /> - </bezel> + </element> @@ -258,70 +258,70 @@ license:CC0 <!-- left: _p, left --> - <bezel name="lamp70" element="ind_p"> + <element name="lamp70" ref="ind_p"> <bounds x="1" y="9" width="5" height="5" /> - </bezel> - <bezel name="lamp71" element="ind_left"> + </element> + <element name="lamp71" ref="ind_left"> <bounds x="7.5" y="8" width="4" height="6" /> - </bezel> + </element> <!-- right: run, sys --> - <bezel name="lamp3" element="ind_run"> + <element name="lamp3" ref="ind_run"> <bounds x="115.5" y="6.5" width="20" height="5" /> - </bezel> - <bezel name="lamp4" element="ind_sys"> + </element> + <element name="lamp4" ref="ind_sys"> <bounds x="115.5" y="12" width="20" height="5" /> - </bezel> + </element> <!-- top: _low, _error, 2nd, inv, alpha, lc, ins --> - <bezel name="lamp40" element="ind_low"> + <element name="lamp40" ref="ind_low"> <bounds x="1" y="1" width="12" height="5" /> - </bezel> - <bezel name="lamp43" element="ind_error"> + </element> + <element name="lamp43" ref="ind_error"> <bounds x="16" y="1" width="15" height="5" /> - </bezel> + </element> - <bezel name="lamp41" element="ind_2nd"> + <element name="lamp41" ref="ind_2nd"> <bounds x="32" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp44" element="ind_inv"> + </element> + <element name="lamp44" ref="ind_inv"> <bounds x="41" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp42" element="ind_alpha"> + </element> + <element name="lamp42" ref="ind_alpha"> <bounds x="50" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp12" element="ind_lc"> + </element> + <element name="lamp12" ref="ind_lc"> <bounds x="64.3" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp11" element="ind_ins"> + </element> + <element name="lamp11" ref="ind_ins"> <bounds x="71.3" y="1" width="20" height="5" /> - </bezel> + </element> <!-- top: deg/rad/grad --> - <bezel name="lamp10" element="ind_de"> + <element name="lamp10" ref="ind_de"> <bounds x="80" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp13" element="ind_g"> + </element> + <element name="lamp13" ref="ind_g"> <bounds x="85" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp14" element="ind_rad"> + </element> + <element name="lamp14" ref="ind_rad"> <bounds x="87.8" y="1" width="20" height="5" /> - </bezel> + </element> <!-- top: hex, oct, i/o --> - <bezel name="lamp0" element="ind_hex"> + <element name="lamp0" ref="ind_hex"> <bounds x="97.7" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp1" element="ind_oct"> + </element> + <element name="lamp1" ref="ind_oct"> <bounds x="107" y="1" width="20" height="5" /> - </bezel> - <bezel name="lamp2" element="ind_io"> + </element> + <element name="lamp2" ref="ind_io"> <bounds x="117.5" y="1" width="20" height="5" /> - </bezel> + </element> </view> diff --git a/src/mame/layout/tk80.lay b/src/mame/layout/tk80.lay index 296207a083f..56d7b017de7 100644 --- a/src/mame/layout/tk80.lay +++ b/src/mame/layout/tk80.lay @@ -10,46 +10,35 @@ license:CC0 </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> - <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="44" top="0" right="406" bottom="69" /> - </backdrop> + <bounds left="44" top="0" right="406" bottom="69" /> <!-- LEDs --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="54" top="10" right="88" bottom="59" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="98" top="10" right="132" bottom="59" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="142" top="10" right="176" bottom="59" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="186" top="10" right="220" bottom="59" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="230" top="10" right="264" bottom="59" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="274" top="10" right="308" bottom="59" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds left="318" top="10" right="352" bottom="59" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds left="362" top="10" right="396" bottom="59" /> - </bezel> + </element> </view> </mamelayout> diff --git a/src/mame/layout/tranz330.lay b/src/mame/layout/tranz330.lay index d542da95afa..6ac8b64b216 100644 --- a/src/mame/layout/tranz330.lay +++ b/src/mame/layout/tranz330.lay @@ -142,89 +142,89 @@ license:CC0 <element name="button_enter_line"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element> <view name="Internal Layout"> - <backdrop name="case_bg" element="front"> <bounds x=" 0" y=" 0" width="162" height="190"/></backdrop> - <backdrop name="button_1" element="button_digit_back"><bounds x=" 18" y=" 50" width="25" height="25"/></backdrop> - <backdrop name="button_2" element="button_digit_back"><bounds x=" 52" y=" 50" width="25" height="25"/></backdrop> - <backdrop name="button_3" element="button_digit_back"><bounds x=" 86" y=" 50" width="25" height="25"/></backdrop> - <backdrop name="button_4" element="button_digit_back"><bounds x=" 18" y=" 84" width="25" height="25"/></backdrop> - <backdrop name="button_5" element="button_digit_back"><bounds x=" 52" y=" 84" width="25" height="25"/></backdrop> - <backdrop name="button_6" element="button_digit_back"><bounds x=" 86" y=" 84" width="25" height="25"/></backdrop> - <backdrop name="button_7" element="button_digit_back"><bounds x=" 18" y="118" width="25" height="25"/></backdrop> - <backdrop name="button_8" element="button_digit_back"><bounds x=" 52" y="118" width="25" height="25"/></backdrop> - <backdrop name="button_9" element="button_digit_back"><bounds x=" 86" y="118" width="25" height="25"/></backdrop> - <backdrop name="button_0" element="button_digit_back"><bounds x=" 52" y="152" width="25" height="25"/></backdrop> - <backdrop name="button_star" element="button_digit_back"><bounds x=" 18" y="152" width="25" height="25"/></backdrop> - <backdrop name="button_hash" element="button_digit_back"><bounds x=" 86" y="152" width="25" height="25"/></backdrop> - <backdrop name="button_clear" element="button_aux_back"> <bounds x="120" y=" 50" width="25" height="25"/></backdrop> - <backdrop name="button_back" element="button_aux_back"> <bounds x="120" y=" 84" width="25" height="25"/></backdrop> - <backdrop name="button_alpha" element="button_aux_back"> <bounds x="120" y="118" width="25" height="25"/></backdrop> - <backdrop name="button_enter" element="button_enter_back"><bounds x="120" y="152" width="25" height="25"/></backdrop> + <element name="case_bg" ref="front"> <bounds x=" 0" y=" 0" width="162" height="190"/></element> + <element name="button_1" ref="button_digit_back"><bounds x=" 18" y=" 50" width="25" height="25"/></element> + <element name="button_2" ref="button_digit_back"><bounds x=" 52" y=" 50" width="25" height="25"/></element> + <element name="button_3" ref="button_digit_back"><bounds x=" 86" y=" 50" width="25" height="25"/></element> + <element name="button_4" ref="button_digit_back"><bounds x=" 18" y=" 84" width="25" height="25"/></element> + <element name="button_5" ref="button_digit_back"><bounds x=" 52" y=" 84" width="25" height="25"/></element> + <element name="button_6" ref="button_digit_back"><bounds x=" 86" y=" 84" width="25" height="25"/></element> + <element name="button_7" ref="button_digit_back"><bounds x=" 18" y="118" width="25" height="25"/></element> + <element name="button_8" ref="button_digit_back"><bounds x=" 52" y="118" width="25" height="25"/></element> + <element name="button_9" ref="button_digit_back"><bounds x=" 86" y="118" width="25" height="25"/></element> + <element name="button_0" ref="button_digit_back"><bounds x=" 52" y="152" width="25" height="25"/></element> + <element name="button_star" ref="button_digit_back"><bounds x=" 18" y="152" width="25" height="25"/></element> + <element name="button_hash" ref="button_digit_back"><bounds x=" 86" y="152" width="25" height="25"/></element> + <element name="button_clear" ref="button_aux_back"> <bounds x="120" y=" 50" width="25" height="25"/></element> + <element name="button_back" ref="button_aux_back"> <bounds x="120" y=" 84" width="25" height="25"/></element> + <element name="button_alpha" ref="button_aux_back"> <bounds x="120" y="118" width="25" height="25"/></element> + <element name="button_enter" ref="button_enter_back"><bounds x="120" y="152" width="25" height="25"/></element> - <backdrop name="vfd_backdrop" element="vfd_back"> <bounds x=" 0" y=" 0" width="162" height="32"/></backdrop> + <element name="vfd_backdrop" ref="vfd_back"> <bounds x=" 0" y=" 0" width="162" height="32"/></element> - <bezel name="vfd0" element="vfd0" state="0"><bounds x=" 9" y="9" width="9" height="14"/></bezel> - <bezel name="vfd1" element="vfd0" state="0"><bounds x=" 18" y="9" width="9" height="14"/></bezel> - <bezel name="vfd2" element="vfd0" state="0"><bounds x=" 27" y="9" width="9" height="14"/></bezel> - <bezel name="vfd3" element="vfd0" state="0"><bounds x=" 36" y="9" width="9" height="14"/></bezel> - <bezel name="vfd4" element="vfd0" state="0"><bounds x=" 45" y="9" width="9" height="14"/></bezel> - <bezel name="vfd5" element="vfd0" state="0"><bounds x=" 54" y="9" width="9" height="14"/></bezel> - <bezel name="vfd6" element="vfd0" state="0"><bounds x=" 63" y="9" width="9" height="14"/></bezel> - <bezel name="vfd7" element="vfd0" state="0"><bounds x=" 72" y="9" width="9" height="14"/></bezel> - <bezel name="vfd8" element="vfd0" state="0"><bounds x=" 81" y="9" width="9" height="14"/></bezel> - <bezel name="vfd9" element="vfd0" state="0"><bounds x=" 90" y="9" width="9" height="14"/></bezel> - <bezel name="vfd10" element="vfd0" state="0"><bounds x=" 99" y="9" width="9" height="14"/></bezel> - <bezel name="vfd11" element="vfd0" state="0"><bounds x="108" y="9" width="9" height="14"/></bezel> - <bezel name="vfd12" element="vfd0" state="0"><bounds x="117" y="9" width="9" height="14"/></bezel> - <bezel name="vfd13" element="vfd0" state="0"><bounds x="126" y="9" width="9" height="14"/></bezel> - <bezel name="vfd14" element="vfd0" state="0"><bounds x="135" y="9" width="9" height="14"/></bezel> - <bezel name="vfd15" element="vfd0" state="0"><bounds x="144" y="9" width="9" height="14"/></bezel> + <element name="vfd0" ref="vfd0" state="0"><bounds x=" 9" y="9" width="9" height="14"/></element> + <element name="vfd1" ref="vfd0" state="0"><bounds x=" 18" y="9" width="9" height="14"/></element> + <element name="vfd2" ref="vfd0" state="0"><bounds x=" 27" y="9" width="9" height="14"/></element> + <element name="vfd3" ref="vfd0" state="0"><bounds x=" 36" y="9" width="9" height="14"/></element> + <element name="vfd4" ref="vfd0" state="0"><bounds x=" 45" y="9" width="9" height="14"/></element> + <element name="vfd5" ref="vfd0" state="0"><bounds x=" 54" y="9" width="9" height="14"/></element> + <element name="vfd6" ref="vfd0" state="0"><bounds x=" 63" y="9" width="9" height="14"/></element> + <element name="vfd7" ref="vfd0" state="0"><bounds x=" 72" y="9" width="9" height="14"/></element> + <element name="vfd8" ref="vfd0" state="0"><bounds x=" 81" y="9" width="9" height="14"/></element> + <element name="vfd9" ref="vfd0" state="0"><bounds x=" 90" y="9" width="9" height="14"/></element> + <element name="vfd10" ref="vfd0" state="0"><bounds x=" 99" y="9" width="9" height="14"/></element> + <element name="vfd11" ref="vfd0" state="0"><bounds x="108" y="9" width="9" height="14"/></element> + <element name="vfd12" ref="vfd0" state="0"><bounds x="117" y="9" width="9" height="14"/></element> + <element name="vfd13" ref="vfd0" state="0"><bounds x="126" y="9" width="9" height="14"/></element> + <element name="vfd14" ref="vfd0" state="0"><bounds x="135" y="9" width="9" height="14"/></element> + <element name="vfd15" ref="vfd0" state="0"><bounds x="144" y="9" width="9" height="14"/></element> - <bezel name="button_1_text1" element="button_1_text"> <bounds x=" 18" y=" 54" width="25" height="8"/></bezel> - <bezel name="button_1_text2" element="button_1_num"> <bounds x=" 18" y=" 64" width="25" height="8"/></bezel> - <bezel name="button_2_text1" element="button_2_text"> <bounds x=" 52" y=" 54" width="25" height="8"/></bezel> - <bezel name="button_2_text2" element="button_2_num"> <bounds x=" 52" y=" 64" width="25" height="8"/></bezel> - <bezel name="button_3_text1" element="button_3_text"> <bounds x=" 86" y=" 54" width="25" height="8"/></bezel> - <bezel name="button_3_text2" element="button_3_num"> <bounds x=" 86" y=" 64" width="25" height="8"/></bezel> - <bezel name="button_4_text1" element="button_4_text"> <bounds x=" 18" y=" 88" width="25" height="8"/></bezel> - <bezel name="button_4_text2" element="button_4_num"> <bounds x=" 18" y=" 98" width="25" height="8"/></bezel> - <bezel name="button_5_text1" element="button_5_text"> <bounds x=" 52" y=" 88" width="25" height="8"/></bezel> - <bezel name="button_5_text2" element="button_5_num"> <bounds x=" 52" y=" 98" width="25" height="8"/></bezel> - <bezel name="button_6_text1" element="button_6_text"> <bounds x=" 86" y=" 88" width="25" height="8"/></bezel> - <bezel name="button_6_text2" element="button_6_num"> <bounds x=" 86" y=" 98" width="25" height="8"/></bezel> - <bezel name="button_7_text1" element="button_7_text"> <bounds x=" 18" y="122" width="25" height="8"/></bezel> - <bezel name="button_7_text2" element="button_7_num"> <bounds x=" 18" y="132" width="25" height="8"/></bezel> - <bezel name="button_8_text1" element="button_8_text"> <bounds x=" 52" y="122" width="25" height="8"/></bezel> - <bezel name="button_8_text2" element="button_8_num"> <bounds x=" 52" y="132" width="25" height="8"/></bezel> - <bezel name="button_9_text1" element="button_9_text"> <bounds x=" 86" y="122" width="25" height="8"/></bezel> - <bezel name="button_9_text2" element="button_9_num"> <bounds x=" 86" y="132" width="25" height="8"/></bezel> - <bezel name="button_star_text1" element="button_star_text"> <bounds x=" 18" y="156" width="25" height="8"/></bezel> - <bezel name="button_star_text2" element="button_star_num"> <bounds x=" 18" y="166" width="25" height="8"/></bezel> - <bezel name="button_0_text1" element="button_0_text"> <bounds x=" 52" y="156" width="25" height="8"/></bezel> - <bezel name="button_0_text2" element="button_0_num"> <bounds x=" 52" y="166" width="25" height="8"/></bezel> - <bezel name="button_hash_text" element="button_hash_num"> <bounds x=" 86" y="161" width="25" height="8"/></bezel> - <bezel name="button_clear_text1" element="button_clear_text"><bounds x="120" y=" 59" width="25" height="7"/></bezel> - <bezel name="button_back_text1" element="button_back_text"> <bounds x="120" y=" 88" width="25" height="7"/></bezel> - <bezel name="button_space_text1" element="button_space_text"><bounds x="120" y=" 98" width="25" height="7"/></bezel> - <bezel name="button_alpha_text1" element="button_alpha_text"><bounds x="120" y="127" width="25" height="7"/></bezel> - <bezel name="button_func_text1" element="button_func_text"> <bounds x="120" y="156" width="25" height="7"/></bezel> - <bezel name="button_enter_text1" element="button_enter_text"><bounds x="120" y="166" width="25" height="7"/></bezel> - <bezel name="enter_line_strike" element="button_enter_line"><bounds x="122.5" y="164" width="20" height="1"/></bezel> + <element name="button_1_text1" ref="button_1_text"> <bounds x=" 18" y=" 54" width="25" height="8"/></element> + <element name="button_1_text2" ref="button_1_num"> <bounds x=" 18" y=" 64" width="25" height="8"/></element> + <element name="button_2_text1" ref="button_2_text"> <bounds x=" 52" y=" 54" width="25" height="8"/></element> + <element name="button_2_text2" ref="button_2_num"> <bounds x=" 52" y=" 64" width="25" height="8"/></element> + <element name="button_3_text1" ref="button_3_text"> <bounds x=" 86" y=" 54" width="25" height="8"/></element> + <element name="button_3_text2" ref="button_3_num"> <bounds x=" 86" y=" 64" width="25" height="8"/></element> + <element name="button_4_text1" ref="button_4_text"> <bounds x=" 18" y=" 88" width="25" height="8"/></element> + <element name="button_4_text2" ref="button_4_num"> <bounds x=" 18" y=" 98" width="25" height="8"/></element> + <element name="button_5_text1" ref="button_5_text"> <bounds x=" 52" y=" 88" width="25" height="8"/></element> + <element name="button_5_text2" ref="button_5_num"> <bounds x=" 52" y=" 98" width="25" height="8"/></element> + <element name="button_6_text1" ref="button_6_text"> <bounds x=" 86" y=" 88" width="25" height="8"/></element> + <element name="button_6_text2" ref="button_6_num"> <bounds x=" 86" y=" 98" width="25" height="8"/></element> + <element name="button_7_text1" ref="button_7_text"> <bounds x=" 18" y="122" width="25" height="8"/></element> + <element name="button_7_text2" ref="button_7_num"> <bounds x=" 18" y="132" width="25" height="8"/></element> + <element name="button_8_text1" ref="button_8_text"> <bounds x=" 52" y="122" width="25" height="8"/></element> + <element name="button_8_text2" ref="button_8_num"> <bounds x=" 52" y="132" width="25" height="8"/></element> + <element name="button_9_text1" ref="button_9_text"> <bounds x=" 86" y="122" width="25" height="8"/></element> + <element name="button_9_text2" ref="button_9_num"> <bounds x=" 86" y="132" width="25" height="8"/></element> + <element name="button_star_text1" ref="button_star_text"> <bounds x=" 18" y="156" width="25" height="8"/></element> + <element name="button_star_text2" ref="button_star_num"> <bounds x=" 18" y="166" width="25" height="8"/></element> + <element name="button_0_text1" ref="button_0_text"> <bounds x=" 52" y="156" width="25" height="8"/></element> + <element name="button_0_text2" ref="button_0_num"> <bounds x=" 52" y="166" width="25" height="8"/></element> + <element name="button_hash_text" ref="button_hash_num"> <bounds x=" 86" y="161" width="25" height="8"/></element> + <element name="button_clear_text1" ref="button_clear_text"><bounds x="120" y=" 59" width="25" height="7"/></element> + <element name="button_back_text1" ref="button_back_text"> <bounds x="120" y=" 88" width="25" height="7"/></element> + <element name="button_space_text1" ref="button_space_text"><bounds x="120" y=" 98" width="25" height="7"/></element> + <element name="button_alpha_text1" ref="button_alpha_text"><bounds x="120" y="127" width="25" height="7"/></element> + <element name="button_func_text1" ref="button_func_text"> <bounds x="120" y="156" width="25" height="7"/></element> + <element name="button_enter_text1" ref="button_enter_text"><bounds x="120" y="166" width="25" height="7"/></element> + <element name="enter_line_strike" ref="button_enter_line"><bounds x="122.5" y="164" width="20" height="1"/></element> - <bezel element="hl" inputtag="COL.0" inputmask="0x01"><bounds x=" 20" y=" 52" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.0" inputmask="0x02"><bounds x=" 20" y=" 86" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.0" inputmask="0x04"><bounds x=" 20" y="120" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.0" inputmask="0x08"><bounds x=" 20" y="154" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.1" inputmask="0x01"><bounds x=" 54" y=" 52" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.1" inputmask="0x02"><bounds x=" 54" y=" 86" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.1" inputmask="0x04"><bounds x=" 54" y="120" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.1" inputmask="0x08"><bounds x=" 54" y="154" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.2" inputmask="0x01"><bounds x=" 88" y=" 52" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.2" inputmask="0x02"><bounds x=" 88" y=" 86" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.2" inputmask="0x04"><bounds x=" 88" y="120" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.2" inputmask="0x08"><bounds x=" 88" y="154" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.3" inputmask="0x01"><bounds x="122" y=" 52" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.3" inputmask="0x02"><bounds x="122" y=" 86" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.3" inputmask="0x04"><bounds x="122" y="120" width="21" height="21" /><color alpha="0.2" /></bezel> - <bezel element="hl" inputtag="COL.3" inputmask="0x08"><bounds x="122" y="154" width="21" height="21" /><color alpha="0.2" /></bezel> + <element ref="hl" inputtag="COL.0" inputmask="0x01"><bounds x=" 20" y=" 52" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.0" inputmask="0x02"><bounds x=" 20" y=" 86" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.0" inputmask="0x04"><bounds x=" 20" y="120" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.0" inputmask="0x08"><bounds x=" 20" y="154" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.1" inputmask="0x01"><bounds x=" 54" y=" 52" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.1" inputmask="0x02"><bounds x=" 54" y=" 86" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.1" inputmask="0x04"><bounds x=" 54" y="120" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.1" inputmask="0x08"><bounds x=" 54" y="154" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.2" inputmask="0x01"><bounds x=" 88" y=" 52" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.2" inputmask="0x02"><bounds x=" 88" y=" 86" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.2" inputmask="0x04"><bounds x=" 88" y="120" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.2" inputmask="0x08"><bounds x=" 88" y="154" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.3" inputmask="0x01"><bounds x="122" y=" 52" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.3" inputmask="0x02"><bounds x="122" y=" 86" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.3" inputmask="0x04"><bounds x="122" y="120" width="21" height="21" /><color alpha="0.2" /></element> + <element ref="hl" inputtag="COL.3" inputmask="0x08"><bounds x="122" y="154" width="21" height="21" /><color alpha="0.2" /></element> </view> </mamelayout> diff --git a/src/mame/layout/vd.lay b/src/mame/layout/vd.lay index 66cf769423b..51336bdf0c0 100644 --- a/src/mame/layout/vd.lay +++ b/src/mame/layout/vd.lay @@ -12,12 +12,6 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -26,119 +20,115 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit11" element="digit"> + <element name="digit11" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit16" element="digit"> + </element> + <element name="digit16" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit21" element="digit"> + <element name="digit21" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit26" element="digit"> + </element> + <element name="digit26" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit31" element="digit"> + <element name="digit31" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit35" element="digit"> + </element> + <element name="digit35" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit36" element="digit"> + </element> + <element name="digit36" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit41" element="digit"> + <element name="digit41" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit42" element="digit"> + </element> + <element name="digit42" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit44" element="digit"> + </element> + <element name="digit44" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit45" element="digit"> + </element> + <element name="digit45" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit46" element="digit"> + </element> + <element name="digit46" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit51" element="digit"> + <element name="digit51" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit52" element="digit"> + </element> + <element name="digit52" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit53" element="digit"> + </element> + <element name="digit53" ref="digit"> <bounds left="98" top="345" right="132" bottom="384" /> - </bezel> - <bezel name="digit54" element="digit"> + </element> + <element name="digit54" ref="digit"> <bounds left="142" top="345" right="176" bottom="384" /> - </bezel> - <bezel name="digit55" element="digit"> + </element> + <element name="digit55" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit56" element="digit"> + </element> + <element name="digit56" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel name="text3" element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel name="text2" element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel name="text1" element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel name="text0" element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> + </element> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element name="text3" ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element name="text2" ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element name="text1" ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element name="text0" ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> </view> </mamelayout> diff --git a/src/mame/layout/wico.lay b/src/mame/layout/wico.lay index b46804c3a02..475b01dea78 100644 --- a/src/mame/layout/wico.lay +++ b/src/mame/layout/wico.lay @@ -17,12 +17,6 @@ copyright-holders:Robbbert </led14seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P2"><text string="Diagnostic"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -32,135 +26,131 @@ copyright-holders:Robbbert <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="318" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="318" bottom="394" /> <!-- Fluorescent Displays --> <!-- Player 1 Score --> - <bezel name="digit10" element="digit"> + <element name="digit10" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> - <bezel name="digit16" element="digit"> + </element> + <element name="digit16" ref="digit"> <bounds left="274" top="45" right="308" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit30" element="digit"> + <element name="digit30" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit35" element="digit"> + </element> + <element name="digit35" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> - <bezel name="digit36" element="digit"> + </element> + <element name="digit36" ref="digit"> <bounds left="274" top="105" right="308" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit20" element="digit"> + <element name="digit20" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> - <bezel name="digit26" element="digit"> + </element> + <element name="digit26" ref="digit"> <bounds left="274" top="165" right="308" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit40" element="digit"> + <element name="digit40" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit42" element="digit"> + </element> + <element name="digit42" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit44" element="digit"> + </element> + <element name="digit44" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit45" element="digit"> + </element> + <element name="digit45" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> - <bezel name="digit46" element="digit"> + </element> + <element name="digit46" ref="digit"> <bounds left="274" top="225" right="308" bottom="264" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="98" top="345" right="132" bottom="384" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="142" top="345" right="176" bottom="384" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> - <bezel name="digit9" element="diag"> + </element> + <element name="digit9" ref="diag"> <bounds left="274" top="345" right="308" bottom="384" /> - </bezel> - <bezel element="P0"><bounds left="100" right="180" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel element="P2"><bounds left="260" right="318" top="330" bottom="342" /></bezel> - <bezel element="P3"><bounds left="120" right="200" top="30" bottom="42" /></bezel> - <bezel element="P4"><bounds left="120" right="200" top="90" bottom="102" /></bezel> - <bezel element="P5"><bounds left="120" right="200" top="150" bottom="162" /></bezel> - <bezel element="P6"><bounds left="120" right="200" top="210" bottom="222" /></bezel> + </element> + <element ref="P0"><bounds left="100" right="180" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element ref="P2"><bounds left="260" right="318" top="330" bottom="342" /></element> + <element ref="P3"><bounds left="120" right="200" top="30" bottom="42" /></element> + <element ref="P4"><bounds left="120" right="200" top="90" bottom="102" /></element> + <element ref="P5"><bounds left="120" right="200" top="150" bottom="162" /></element> + <element ref="P6"><bounds left="120" right="200" top="210" bottom="222" /></element> </view> </mamelayout> diff --git a/src/mame/layout/wpc_an.lay b/src/mame/layout/wpc_an.lay index 42fda78704a..e8a09f861f0 100644 --- a/src/mame/layout/wpc_an.lay +++ b/src/mame/layout/wpc_an.lay @@ -20,133 +20,123 @@ license:CC0 <color red="1.0" green="0.0" blue="0.0" /> </disk> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P4"><text string="Player 2"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="25" right="400" bottom="220" /> - </backdrop> + <bounds left="0" top="25" right="400" bottom="220" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit0" element="digit"> + <element name="digit0" ref="digit"> <bounds left="10" top="45" right="30" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="34" top="45" right="54" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="58" top="45" right="78" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="82" top="45" right="102" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="106" top="45" right="126" bottom="84" /> - </bezel> - <bezel name="digit5" element="digit"> + </element> + <element name="digit5" ref="digit"> <bounds left="130" top="45" right="150" bottom="84" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds left="154" top="45" right="174" bottom="84" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds left="178" top="45" right="198" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit8" element="digit"> + <element name="digit8" ref="digit"> <bounds left="202" top="45" right="222" bottom="84" /> - </bezel> - <bezel name="digit9" element="digit"> + </element> + <element name="digit9" ref="digit"> <bounds left="226" top="45" right="246" bottom="84" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="250" top="45" right="270" bottom="84" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="274" top="45" right="294" bottom="84" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="298" top="45" right="318" bottom="84" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="322" top="45" right="342" bottom="84" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="346" top="45" right="366" bottom="84" /> - </bezel> - <bezel name="digit15" element="digit"> + </element> + <element name="digit15" ref="digit"> <bounds left="370" top="45" right="390" bottom="84" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit16" element="digit"> + <element name="digit16" ref="digit"> <bounds left="10" top="100" right="30" bottom="139" /> - </bezel> - <bezel name="digit17" element="digit"> + </element> + <element name="digit17" ref="digit"> <bounds left="34" top="100" right="54" bottom="139" /> - </bezel> - <bezel name="digit18" element="digit"> + </element> + <element name="digit18" ref="digit"> <bounds left="58" top="100" right="78" bottom="139" /> - </bezel> - <bezel name="digit19" element="digit"> + </element> + <element name="digit19" ref="digit"> <bounds left="82" top="100" right="102" bottom="139" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="106" top="100" right="126" bottom="139" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="130" top="100" right="150" bottom="139" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="154" top="100" right="174" bottom="139" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="178" top="100" right="198" bottom="139" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit24" element="digit"> + <element name="digit24" ref="digit"> <bounds left="202" top="100" right="222" bottom="139" /> - </bezel> - <bezel name="digit25" element="digit"> + </element> + <element name="digit25" ref="digit"> <bounds left="226" top="100" right="246" bottom="139" /> - </bezel> - <bezel name="digit26" element="digit"> + </element> + <element name="digit26" ref="digit"> <bounds left="250" top="100" right="270" bottom="139" /> - </bezel> - <bezel name="digit27" element="digit"> + </element> + <element name="digit27" ref="digit"> <bounds left="274" top="100" right="294" bottom="139" /> - </bezel> - <bezel name="digit28" element="digit"> + </element> + <element name="digit28" ref="digit"> <bounds left="298" top="100" right="318" bottom="139" /> - </bezel> - <bezel name="digit29" element="digit"> + </element> + <element name="digit29" ref="digit"> <bounds left="322" top="100" right="342" bottom="139" /> - </bezel> - <bezel name="digit30" element="digit"> + </element> + <element name="digit30" ref="digit"> <bounds left="346" top="100" right="366" bottom="139" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="370" top="100" right="390" bottom="139" /> - </bezel> + </element> <!-- Credits and Balls --> - <bezel name="digit60" element="diagled"> + <element name="digit60" ref="diagled"> <bounds left="200" top="200" right="210" bottom="210" /> - </bezel> + </element> </view> </mamelayout> diff --git a/src/mame/layout/z80ne.lay b/src/mame/layout/z80ne.lay index ab2f67db0e4..b97d021d5ab 100644 --- a/src/mame/layout/z80ne.lay +++ b/src/mame/layout/z80ne.lay @@ -485,167 +485,129 @@ copyright-holders:Roberto Lavarone </element> <view name="Default Layout"> - <backdrop element="flatbackground"> + <element ref="flatbackground"> <bounds x="704" y="50" width="420" height="400" /> - </backdrop> + </element> - <backdrop element="gray"> + <element ref="gray"> <bounds x="724" y="74" width="375" height="350" /> - </backdrop> + </element> - <bezel element="LX.384"> + <element ref="LX.384"> <bounds x="726" y="80" width="90" height="30" /> - </bezel> + </element> <!-- LEDs --> - <!-- LEDs --> <!-- x step = 40 --> - <bezel element="digit_back"> - <bounds x="740" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="784" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="828" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="872" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="916" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="960" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1004" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1048" y="119" width="36" height="52" /> - </bezel> - <bezel name="digit7" element="digit"> - <bounds x="743" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit6" element="digit"> - <bounds x="787" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit5" element="digit"> - <bounds x="831" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit4" element="digit"> - <bounds x="875" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit3" element="digit"> - <bounds x="919" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit2" element="digit"> - <bounds x="963" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit1" element="digit"> - <bounds x="1007" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit0" element="digit"> - <bounds x="1051" y="126" width="30" height="40" /> - </bezel> + <repeat count="8"> + <param name="n" start="7" increment="-1" /> + <param name="bx" start="740" increment="44" /> + <param name="dx" start="743" increment="44" /> + <element ref="digit_back"> + <bounds x="~bx~" y="119" width="36" height="52" /> + </element> + <element name="digit~n~" ref="digit"> + <bounds x="~dx~" y="126" width="30" height="40" /> + </element> + </repeat> <!-- Buttons --> <!-- "Control" --> - <bezel element="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> + <element ref="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> <bounds x="765" y="338" width="40" height="40"/> - </bezel> + </element> <!-- "Reset" --> - <bezel element="pushbuttonRST" inputtag="RST" inputmask="0x01"> + <element ref="pushbuttonRST" inputtag="RST" inputmask="0x01"> <bounds x="765" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Row 0 : 0 1 2 3 4 5 6 7 --> <!-- xstep=45, ystep=43 --> <!-- "0" --> - <bezel element="pushbutton0" inputtag="ROW0" inputmask="0x01"> + <element ref="pushbutton0" inputtag="ROW0" inputmask="0x01"> <bounds x="886" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "1" --> - <bezel element="pushbutton1" inputtag="ROW0" inputmask="0x02"> + <element ref="pushbutton1" inputtag="ROW0" inputmask="0x02"> <bounds x="886" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "2" --> - <bezel element="pushbutton2" inputtag="ROW0" inputmask="0x04"> + <element ref="pushbutton2" inputtag="ROW0" inputmask="0x04"> <bounds x="931" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "3" --> - <bezel element="pushbutton3" inputtag="ROW0" inputmask="0x08"> + <element ref="pushbutton3" inputtag="ROW0" inputmask="0x08"> <bounds x="976" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "4" --> - <bezel element="pushbutton4" inputtag="ROW0" inputmask="0x10"> + <element ref="pushbutton4" inputtag="ROW0" inputmask="0x10"> <bounds x="886" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "5" --> - <bezel element="pushbutton5" inputtag="ROW0" inputmask="0x20"> + <element ref="pushbutton5" inputtag="ROW0" inputmask="0x20"> <bounds x="931" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "6" --> - <bezel element="pushbutton6" inputtag="ROW0" inputmask="0x40"> + <element ref="pushbutton6" inputtag="ROW0" inputmask="0x40"> <bounds x="976" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "7" --> - <bezel element="pushbutton7" inputtag="ROW0" inputmask="0x80"> + <element ref="pushbutton7" inputtag="ROW0" inputmask="0x80"> <bounds x="886" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Buttons --> <!-- Row 1 : 8 9 A B C D E F --> <!-- "8" --> - <bezel element="pushbutton8" inputtag="ROW1" inputmask="0x01"> + <element ref="pushbutton8" inputtag="ROW1" inputmask="0x01"> <bounds x="931" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "9" --> - <bezel element="pushbutton9" inputtag="ROW1" inputmask="0x02"> + <element ref="pushbutton9" inputtag="ROW1" inputmask="0x02"> <bounds x="976" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "A" --> - <bezel element="pushbuttonA" inputtag="ROW1" inputmask="0x04"> + <element ref="pushbuttonA" inputtag="ROW1" inputmask="0x04"> <bounds x="1021" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "B" --> - <bezel element="pushbuttonB" inputtag="ROW1" inputmask="0x08"> + <element ref="pushbuttonB" inputtag="ROW1" inputmask="0x08"> <bounds x="1021" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "C" --> - <bezel element="pushbuttonC" inputtag="ROW1" inputmask="0x10"> + <element ref="pushbuttonC" inputtag="ROW1" inputmask="0x10"> <bounds x="1021" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "D" --> - <bezel element="pushbuttonD" inputtag="ROW1" inputmask="0x20"> + <element ref="pushbuttonD" inputtag="ROW1" inputmask="0x20"> <bounds x="1021" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "E" --> - <bezel element="pushbuttonE" inputtag="ROW1" inputmask="0x40"> + <element ref="pushbuttonE" inputtag="ROW1" inputmask="0x40"> <bounds x="976" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "F" --> - <bezel element="pushbuttonF" inputtag="ROW1" inputmask="0x80"> + <element ref="pushbuttonF" inputtag="ROW1" inputmask="0x80"> <bounds x="931" y="339" width="40" height="40"/> - </bezel> + </element> </view> diff --git a/src/mame/layout/z80net.lay b/src/mame/layout/z80net.lay index d31ed485bb9..d2fe5034d00 100644 --- a/src/mame/layout/z80net.lay +++ b/src/mame/layout/z80net.lay @@ -492,179 +492,141 @@ copyright-holders:Roberto Lavarone </element> <view name="Default Layout"> - <backdrop element="flatbackground"> + <element ref="flatbackground"> <bounds x="0" y="20" width="1175" height="590" /> - </backdrop> + </element> - <backdrop element="gray"> + <element ref="gray"> <bounds x="65" y="74" width="640" height="480" /> - </backdrop> + </element> - <bezel element="LX.388"> - <bounds x="67" y="80" width="90" height="30" /> - </bezel> + <element ref="gray"> + <bounds x="724" y="74" width="375" height="480" /> + </element> <screen index="0"> <bounds x="65" y="74" width="640" height="480" /> </screen> - <backdrop element="gray"> - <bounds x="724" y="74" width="375" height="480" /> - </backdrop> + <element ref="LX.388"> + <bounds x="67" y="80" width="90" height="30" /> + </element> - <bezel element="LX.384"> + <element ref="LX.384"> <bounds x="726" y="80" width="90" height="30" /> - </bezel> + </element> <!-- LEDs --> - <!-- LEDs --> <!-- x step = 40 --> - <bezel element="digit_back"> - <bounds x="740" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="784" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="828" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="872" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="916" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="960" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1004" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1048" y="119" width="36" height="52" /> - </bezel> - <bezel name="digit7" element="digit"> - <bounds x="743" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit6" element="digit"> - <bounds x="787" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit5" element="digit"> - <bounds x="831" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit4" element="digit"> - <bounds x="875" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit3" element="digit"> - <bounds x="919" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit2" element="digit"> - <bounds x="963" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit1" element="digit"> - <bounds x="1007" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit0" element="digit"> - <bounds x="1051" y="126" width="30" height="40" /> - </bezel> + <repeat count="8"> + <param name="n" start="7" increment="-1" /> + <param name="bx" start="740" increment="44" /> + <param name="dx" start="743" increment="44" /> + <element ref="digit_back"> + <bounds x="~bx~" y="119" width="36" height="52" /> + </element> + <element name="digit~n~" ref="digit"> + <bounds x="~dx~" y="126" width="30" height="40" /> + </element> + </repeat> <!-- Buttons --> <!-- "Control" --> - <bezel element="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> + <element ref="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> <bounds x="765" y="338" width="40" height="40"/> - </bezel> + </element> <!-- "Reset" --> - <bezel element="pushbuttonRST" inputtag="RST" inputmask="0x01"> + <element ref="pushbuttonRST" inputtag="RST" inputmask="0x01"> <bounds x="765" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Row 0 : 0 1 2 3 4 5 6 7 --> <!-- xstep=45, ystep=43 --> <!-- "0" --> - <bezel element="pushbutton0" inputtag="ROW0" inputmask="0x01"> + <element ref="pushbutton0" inputtag="ROW0" inputmask="0x01"> <bounds x="886" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "1" --> - <bezel element="pushbutton1" inputtag="ROW0" inputmask="0x02"> + <element ref="pushbutton1" inputtag="ROW0" inputmask="0x02"> <bounds x="886" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "2" --> - <bezel element="pushbutton2" inputtag="ROW0" inputmask="0x04"> + <element ref="pushbutton2" inputtag="ROW0" inputmask="0x04"> <bounds x="931" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "3" --> - <bezel element="pushbutton3" inputtag="ROW0" inputmask="0x08"> + <element ref="pushbutton3" inputtag="ROW0" inputmask="0x08"> <bounds x="976" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "4" --> - <bezel element="pushbutton4" inputtag="ROW0" inputmask="0x10"> + <element ref="pushbutton4" inputtag="ROW0" inputmask="0x10"> <bounds x="886" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "5" --> - <bezel element="pushbutton5" inputtag="ROW0" inputmask="0x20"> + <element ref="pushbutton5" inputtag="ROW0" inputmask="0x20"> <bounds x="931" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "6" --> - <bezel element="pushbutton6" inputtag="ROW0" inputmask="0x40"> + <element ref="pushbutton6" inputtag="ROW0" inputmask="0x40"> <bounds x="976" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "7" --> - <bezel element="pushbutton7" inputtag="ROW0" inputmask="0x80"> + <element ref="pushbutton7" inputtag="ROW0" inputmask="0x80"> <bounds x="886" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Buttons --> <!-- Row 1 : 8 9 A B C D E F --> <!-- "8" --> - <bezel element="pushbutton8" inputtag="ROW1" inputmask="0x01"> + <element ref="pushbutton8" inputtag="ROW1" inputmask="0x01"> <bounds x="931" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "9" --> - <bezel element="pushbutton9" inputtag="ROW1" inputmask="0x02"> + <element ref="pushbutton9" inputtag="ROW1" inputmask="0x02"> <bounds x="976" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "A" --> - <bezel element="pushbuttonA" inputtag="ROW1" inputmask="0x04"> + <element ref="pushbuttonA" inputtag="ROW1" inputmask="0x04"> <bounds x="1021" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "B" --> - <bezel element="pushbuttonB" inputtag="ROW1" inputmask="0x08"> + <element ref="pushbuttonB" inputtag="ROW1" inputmask="0x08"> <bounds x="1021" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "C" --> - <bezel element="pushbuttonC" inputtag="ROW1" inputmask="0x10"> + <element ref="pushbuttonC" inputtag="ROW1" inputmask="0x10"> <bounds x="1021" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "D" --> - <bezel element="pushbuttonD" inputtag="ROW1" inputmask="0x20"> + <element ref="pushbuttonD" inputtag="ROW1" inputmask="0x20"> <bounds x="1021" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "E" --> - <bezel element="pushbuttonE" inputtag="ROW1" inputmask="0x40"> + <element ref="pushbuttonE" inputtag="ROW1" inputmask="0x40"> <bounds x="976" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "F" --> - <bezel element="pushbuttonF" inputtag="ROW1" inputmask="0x80"> + <element ref="pushbuttonF" inputtag="ROW1" inputmask="0x80"> <bounds x="931" y="339" width="40" height="40"/> - </bezel> + </element> </view> diff --git a/src/mame/layout/z80netb.lay b/src/mame/layout/z80netb.lay index f62975432b0..e2084802570 100644 --- a/src/mame/layout/z80netb.lay +++ b/src/mame/layout/z80netb.lay @@ -43,19 +43,17 @@ copyright-holders:Roberto Lavarone </element> <view name="Default Layout"> - <backdrop element="gray"> + <element ref="gray"> <bounds x="65" y="74" width="640" height="480" /> - </backdrop> - - <bezel element="LX.388"> - <bounds x="67" y="80" width="90" height="30" /> - </bezel> + </element> <screen index="0"> <bounds x="65" y="74" width="640" height="480" /> </screen> + <element ref="LX.388"> + <bounds x="67" y="80" width="90" height="30" /> + </element> </view> - </mamelayout> diff --git a/src/mame/layout/z80netf.lay b/src/mame/layout/z80netf.lay index f8ccf8dda01..463e6d80fbd 100644 --- a/src/mame/layout/z80netf.lay +++ b/src/mame/layout/z80netf.lay @@ -518,194 +518,155 @@ copyright-holders:Roberto Lavarone </element> <view name="Default Layout"> - <backdrop element="flatbackground"> + <element ref="flatbackground"> <bounds x="0" y="20" width="1175" height="590" /> - </backdrop> + </element> - <backdrop element="gray"> + <element ref="gray"> <bounds x="65" y="74" width="640" height="480" /> - </backdrop> + </element> - <bezel element="LX.388"> - <bounds x="67" y="80" width="90" height="30" /> - </bezel> + <element ref="gray"> + <bounds x="724" y="74" width="375" height="330" /> + </element> <screen index="0"> <bounds x="65" y="74" width="640" height="480" /> </screen> - <backdrop element="gray"> - <bounds x="724" y="74" width="375" height="330" /> - </backdrop> + <element ref="LX.388"> + <bounds x="67" y="80" width="90" height="30" /> + </element> - <bezel element="LX.384"> + <element ref="LX.384"> <bounds x="726" y="80" width="90" height="30" /> - </bezel> + </element> <!-- LEDs --> - <!-- LEDs --> <!-- x step = 40 --> - <bezel element="digit_back"> - <bounds x="740" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="784" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="828" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="872" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="916" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="960" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1004" y="119" width="36" height="52" /> - </bezel> - <bezel element="digit_back"> - <bounds x="1048" y="119" width="36" height="52" /> - </bezel> - <bezel name="digit7" element="digit"> - <bounds x="743" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit6" element="digit"> - <bounds x="787" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit5" element="digit"> - <bounds x="831" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit4" element="digit"> - <bounds x="875" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit3" element="digit"> - <bounds x="919" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit2" element="digit"> - <bounds x="963" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit1" element="digit"> - <bounds x="1007" y="126" width="30" height="40" /> - </bezel> - <bezel name="digit0" element="digit"> - <bounds x="1051" y="126" width="30" height="40" /> - </bezel> - - <bezel name="drv0" element="floppy_led"> + <repeat count="8"> + <param name="n" start="7" increment="-1" /> + <param name="bx" start="740" increment="44" /> + <param name="dx" start="743" increment="44" /> + <element ref="digit_back"> + <bounds x="~bx~" y="119" width="36" height="52" /> + </element> + <element name="digit~n~" ref="digit"> + <bounds x="~dx~" y="126" width="30" height="40" /> + </element> + </repeat> + + <element name="drv0" ref="floppy_led"> <bounds x="765" y="438" width="22" height="22" /> - </bezel> - <bezel element="floppy0"> + </element> + <element ref="floppy0"> <bounds x="805" y="430" width="120" height="30" /> - </bezel> + </element> - <bezel name="drv1" element="floppy_led"> + <element name="drv1" ref="floppy_led"> <bounds x="765" y="468" width="22" height="22" /> - </bezel> - <bezel element="floppy1"> + </element> + <element ref="floppy1"> <bounds x="805" y="460" width="120" height="30" /> - </bezel> + </element> <!-- Buttons --> <!-- "Control" --> - <bezel element="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> + <element ref="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> <bounds x="765" y="338" width="40" height="40"/> - </bezel> + </element> <!-- "Reset" --> - <bezel element="pushbuttonRST" inputtag="RST" inputmask="0x01"> + <element ref="pushbuttonRST" inputtag="RST" inputmask="0x01"> <bounds x="765" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Row 0 : 0 1 2 3 4 5 6 7 --> <!-- xstep=45, ystep=43 --> <!-- "0" --> - <bezel element="pushbutton0" inputtag="ROW0" inputmask="0x01"> + <element ref="pushbutton0" inputtag="ROW0" inputmask="0x01"> <bounds x="886" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "1" --> - <bezel element="pushbutton1" inputtag="ROW0" inputmask="0x02"> + <element ref="pushbutton1" inputtag="ROW0" inputmask="0x02"> <bounds x="886" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "2" --> - <bezel element="pushbutton2" inputtag="ROW0" inputmask="0x04"> + <element ref="pushbutton2" inputtag="ROW0" inputmask="0x04"> <bounds x="931" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "3" --> - <bezel element="pushbutton3" inputtag="ROW0" inputmask="0x08"> + <element ref="pushbutton3" inputtag="ROW0" inputmask="0x08"> <bounds x="976" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "4" --> - <bezel element="pushbutton4" inputtag="ROW0" inputmask="0x10"> + <element ref="pushbutton4" inputtag="ROW0" inputmask="0x10"> <bounds x="886" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "5" --> - <bezel element="pushbutton5" inputtag="ROW0" inputmask="0x20"> + <element ref="pushbutton5" inputtag="ROW0" inputmask="0x20"> <bounds x="931" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "6" --> - <bezel element="pushbutton6" inputtag="ROW0" inputmask="0x40"> + <element ref="pushbutton6" inputtag="ROW0" inputmask="0x40"> <bounds x="976" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "7" --> - <bezel element="pushbutton7" inputtag="ROW0" inputmask="0x80"> + <element ref="pushbutton7" inputtag="ROW0" inputmask="0x80"> <bounds x="886" y="210" width="40" height="40"/> - </bezel> + </element> <!-- Buttons --> <!-- Row 1 : 8 9 A B C D E F --> <!-- "8" --> - <bezel element="pushbutton8" inputtag="ROW1" inputmask="0x01"> + <element ref="pushbutton8" inputtag="ROW1" inputmask="0x01"> <bounds x="931" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "9" --> - <bezel element="pushbutton9" inputtag="ROW1" inputmask="0x02"> + <element ref="pushbutton9" inputtag="ROW1" inputmask="0x02"> <bounds x="976" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "A" --> - <bezel element="pushbuttonA" inputtag="ROW1" inputmask="0x04"> + <element ref="pushbuttonA" inputtag="ROW1" inputmask="0x04"> <bounds x="1021" y="210" width="40" height="40"/> - </bezel> + </element> <!-- "B" --> - <bezel element="pushbuttonB" inputtag="ROW1" inputmask="0x08"> + <element ref="pushbuttonB" inputtag="ROW1" inputmask="0x08"> <bounds x="1021" y="253" width="40" height="40"/> - </bezel> + </element> <!-- "C" --> - <bezel element="pushbuttonC" inputtag="ROW1" inputmask="0x10"> + <element ref="pushbuttonC" inputtag="ROW1" inputmask="0x10"> <bounds x="1021" y="296" width="40" height="40"/> - </bezel> + </element> <!-- "D" --> - <bezel element="pushbuttonD" inputtag="ROW1" inputmask="0x20"> + <element ref="pushbuttonD" inputtag="ROW1" inputmask="0x20"> <bounds x="1021" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "E" --> - <bezel element="pushbuttonE" inputtag="ROW1" inputmask="0x40"> + <element ref="pushbuttonE" inputtag="ROW1" inputmask="0x40"> <bounds x="976" y="339" width="40" height="40"/> - </bezel> + </element> <!-- "F" --> - <bezel element="pushbuttonF" inputtag="ROW1" inputmask="0x80"> + <element ref="pushbuttonF" inputtag="ROW1" inputmask="0x80"> <bounds x="931" y="339" width="40" height="40"/> - </bezel> + </element> </view> - </mamelayout> diff --git a/src/mame/layout/zac_1.lay b/src/mame/layout/zac_1.lay index 8da6ab92bc3..7df0a5cf7a3 100644 --- a/src/mame/layout/zac_1.lay +++ b/src/mame/layout/zac_1.lay @@ -12,12 +12,6 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Balls"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -27,136 +21,132 @@ copyright-holders:Robbbert <element name="P7"><text string="High Score"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit5" element="digit"> + <element name="digit5" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit15" element="digit"> + <element name="digit15" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit25" element="digit"> + <element name="digit25" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit35" element="digit"> + <element name="digit35" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit30" element="digit"> + </element> + <element name="digit30" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- High Score --> - <bezel name="digit45" element="digit"> + <element name="digit45" ref="digit"> <bounds left="10" top="285" right="44" bottom="324" /> - </bezel> - <bezel name="digit44" element="digit"> + </element> + <element name="digit44" ref="digit"> <bounds left="54" top="285" right="88" bottom="324" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="98" top="285" right="132" bottom="324" /> - </bezel> - <bezel name="digit42" element="digit"> + </element> + <element name="digit42" ref="digit"> <bounds left="142" top="285" right="176" bottom="324" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="186" top="285" right="220" bottom="324" /> - </bezel> - <bezel name="digit40" element="digit"> + </element> + <element name="digit40" ref="digit"> <bounds left="230" top="285" right="264" bottom="324" /> - </bezel> + </element> <!-- Credits --> - <bezel name="digit55" element="digit"> + <element name="digit55" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit54" element="digit"> + </element> + <element name="digit54" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> + </element> <!-- Match / Balls Left --> - <bezel name="digit51" element="digit"> + <element name="digit51" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit50" element="digit"> + </element> + <element name="digit50" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> - <bezel element="P7"><bounds left="100" right="180" top="270" bottom="282" /></bezel> + </element> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> + <element ref="P7"><bounds left="100" right="180" top="270" bottom="282" /></element> </view> </mamelayout> diff --git a/src/mame/layout/zac_2.lay b/src/mame/layout/zac_2.lay index 2f0eee867e5..2e0f6d726c1 100644 --- a/src/mame/layout/zac_2.lay +++ b/src/mame/layout/zac_2.lay @@ -15,12 +15,6 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Balls"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element> @@ -30,136 +24,132 @@ copyright-holders:Robbbert <element name="P7"><text string="High Score"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="20" right="274" bottom="394" /> - </backdrop> + <bounds left="0" top="20" right="274" bottom="394" /> <!-- LEDs --> <!-- Player 1 Score --> - <bezel name="digit5" element="digit"> + <element name="digit5" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> + </element> <!-- Player 2 Score --> - <bezel name="digit15" element="digit"> + <element name="digit15" ref="digit"> <bounds left="10" top="105" right="44" bottom="144" /> - </bezel> - <bezel name="digit14" element="digit"> + </element> + <element name="digit14" ref="digit"> <bounds left="54" top="105" right="88" bottom="144" /> - </bezel> - <bezel name="digit13" element="digit"> + </element> + <element name="digit13" ref="digit"> <bounds left="98" top="105" right="132" bottom="144" /> - </bezel> - <bezel name="digit12" element="digit"> + </element> + <element name="digit12" ref="digit"> <bounds left="142" top="105" right="176" bottom="144" /> - </bezel> - <bezel name="digit11" element="digit"> + </element> + <element name="digit11" ref="digit"> <bounds left="186" top="105" right="220" bottom="144" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="230" top="105" right="264" bottom="144" /> - </bezel> + </element> <!-- Player 3 Score --> - <bezel name="digit25" element="digit"> + <element name="digit25" ref="digit"> <bounds left="10" top="165" right="44" bottom="204" /> - </bezel> - <bezel name="digit24" element="digit"> + </element> + <element name="digit24" ref="digit"> <bounds left="54" top="165" right="88" bottom="204" /> - </bezel> - <bezel name="digit23" element="digit"> + </element> + <element name="digit23" ref="digit"> <bounds left="98" top="165" right="132" bottom="204" /> - </bezel> - <bezel name="digit22" element="digit"> + </element> + <element name="digit22" ref="digit"> <bounds left="142" top="165" right="176" bottom="204" /> - </bezel> - <bezel name="digit21" element="digit"> + </element> + <element name="digit21" ref="digit"> <bounds left="186" top="165" right="220" bottom="204" /> - </bezel> - <bezel name="digit20" element="digit"> + </element> + <element name="digit20" ref="digit"> <bounds left="230" top="165" right="264" bottom="204" /> - </bezel> + </element> <!-- Player 4 Score --> - <bezel name="digit35" element="digit"> + <element name="digit35" ref="digit"> <bounds left="10" top="225" right="44" bottom="264" /> - </bezel> - <bezel name="digit34" element="digit"> + </element> + <element name="digit34" ref="digit"> <bounds left="54" top="225" right="88" bottom="264" /> - </bezel> - <bezel name="digit33" element="digit"> + </element> + <element name="digit33" ref="digit"> <bounds left="98" top="225" right="132" bottom="264" /> - </bezel> - <bezel name="digit32" element="digit"> + </element> + <element name="digit32" ref="digit"> <bounds left="142" top="225" right="176" bottom="264" /> - </bezel> - <bezel name="digit31" element="digit"> + </element> + <element name="digit31" ref="digit"> <bounds left="186" top="225" right="220" bottom="264" /> - </bezel> - <bezel name="digit30" element="digit"> + </element> + <element name="digit30" ref="digit"> <bounds left="230" top="225" right="264" bottom="264" /> - </bezel> + </element> <!-- High Score --> - <bezel name="digit45" element="digit"> + <element name="digit45" ref="digit"> <bounds left="10" top="285" right="44" bottom="324" /> - </bezel> - <bezel name="digit44" element="digit"> + </element> + <element name="digit44" ref="digit"> <bounds left="54" top="285" right="88" bottom="324" /> - </bezel> - <bezel name="digit43" element="digit"> + </element> + <element name="digit43" ref="digit"> <bounds left="98" top="285" right="132" bottom="324" /> - </bezel> - <bezel name="digit42" element="digit"> + </element> + <element name="digit42" ref="digit"> <bounds left="142" top="285" right="176" bottom="324" /> - </bezel> - <bezel name="digit41" element="digit"> + </element> + <element name="digit41" ref="digit"> <bounds left="186" top="285" right="220" bottom="324" /> - </bezel> - <bezel name="digit40" element="digit"> + </element> + <element name="digit40" ref="digit"> <bounds left="230" top="285" right="264" bottom="324" /> - </bezel> + </element> <!-- Credits --> - <bezel name="digit55" element="digit"> + <element name="digit55" ref="digit"> <bounds left="10" top="345" right="44" bottom="384" /> - </bezel> - <bezel name="digit54" element="digit"> + </element> + <element name="digit54" ref="digit"> <bounds left="54" top="345" right="88" bottom="384" /> - </bezel> + </element> <!-- Match / Balls Left --> - <bezel name="digit51" element="digit"> + <element name="digit51" ref="digit"> <bounds left="186" top="345" right="220" bottom="384" /> - </bezel> - <bezel name="digit50" element="digit"> + </element> + <element name="digit50" ref="digit"> <bounds left="230" top="345" right="264" bottom="384" /> - </bezel> - <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel> - <bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel> - <bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel> - <bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel> - <bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel> - <bezel element="P7"><bounds left="100" right="180" top="270" bottom="282" /></bezel> + </element> + <element ref="P0"><bounds left="200" right="258" top="330" bottom="342" /></element> + <element ref="P1"><bounds left="30" right="88" top="330" bottom="342" /></element> + <element ref="P3"><bounds left="100" right="180" top="30" bottom="42" /></element> + <element ref="P4"><bounds left="100" right="180" top="90" bottom="102" /></element> + <element ref="P5"><bounds left="100" right="180" top="150" bottom="162" /></element> + <element ref="P6"><bounds left="100" right="180" top="210" bottom="222" /></element> + <element ref="P7"><bounds left="100" right="180" top="270" bottom="282" /></element> </view> </mamelayout> diff --git a/src/mame/layout/zac_proto.lay b/src/mame/layout/zac_proto.lay index 3e8733ff777..dcf34656b8d 100644 --- a/src/mame/layout/zac_proto.lay +++ b/src/mame/layout/zac_proto.lay @@ -12,59 +12,49 @@ copyright-holders:Robbbert </led7seg> </element> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <element name="P0"><text string="Balls"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element> <element name="P3"><text string="Score"><color red="1.0" green="1.0" blue="1.0" /></text></element> <view name="Default Layout"> - - <!-- Background --> - <backdrop element="background"> - <bounds left="0" top="0" right="318" bottom="180" /> - </backdrop> + <bounds left="0" top="0" right="318" bottom="180" /> <!-- LEDs --> - <bezel name="digit5" element="digit"> + <element name="digit5" ref="digit"> <bounds left="10" top="45" right="44" bottom="84" /> - </bezel> - <bezel name="digit4" element="digit"> + </element> + <element name="digit4" ref="digit"> <bounds left="54" top="45" right="88" bottom="84" /> - </bezel> - <bezel name="digit3" element="digit"> + </element> + <element name="digit3" ref="digit"> <bounds left="98" top="45" right="132" bottom="84" /> - </bezel> - <bezel name="digit2" element="digit"> + </element> + <element name="digit2" ref="digit"> <bounds left="142" top="45" right="176" bottom="84" /> - </bezel> - <bezel name="digit1" element="digit"> + </element> + <element name="digit1" ref="digit"> <bounds left="186" top="45" right="220" bottom="84" /> - </bezel> - <bezel name="digit0" element="digit"> + </element> + <element name="digit0" ref="digit"> <bounds left="230" top="45" right="264" bottom="84" /> - </bezel> - <bezel name="digit10" element="digit"> + </element> + <element name="digit10" ref="digit"> <bounds left="274" top="45" right="308" bottom="84" /> - </bezel> - <bezel name="digit9" element="digit"> + </element> + <element name="digit9" ref="digit"> <bounds left="30" top="145" right="54" bottom="170" /> - </bezel> - <bezel name="digit8" element="digit"> + </element> + <element name="digit8" ref="digit"> <bounds left="64" top="145" right="88" bottom="170" /> - </bezel> - <bezel name="digit7" element="digit"> + </element> + <element name="digit7" ref="digit"> <bounds left="230" top="145" right="254" bottom="170" /> - </bezel> - <bezel name="digit6" element="digit"> + </element> + <element name="digit6" ref="digit"> <bounds left="264" top="145" right="288" bottom="170" /> - </bezel> - <bezel element="P0"><bounds left="230" right="288" top="110" bottom="135" /></bezel> - <bezel element="P1"><bounds left="30" right="88" top="110" bottom="135" /></bezel> - <bezel element="P3"><bounds left="100" right="200" top="10" bottom="35" /></bezel> + </element> + <element ref="P0"><bounds left="230" right="288" top="110" bottom="135" /></element> + <element ref="P1"><bounds left="30" right="88" top="110" bottom="135" /></element> + <element ref="P3"><bounds left="100" right="200" top="10" bottom="35" /></element> </view> </mamelayout> |