Finished adding new mechanism for allowing parts of views to be hidden.

Changed name of element to "collection" and initial visibility attribute
to "visible", and added them to documentation.  Also added them to
complay.py.

Fixed issue with collection inside group, and improved initial view
selection behaviour.

Updated some internal layouts to demonstrate new features, including
et3400, irrmaze, ltcasino, mekd3/mekd4, seawolf and vgmplay.

Removed all uses of cpanel, marquee and overlay from internal layouts
and removed them from complay.py to actively discourage use.  Also
cleaned up view names in layouts that were using them in place of
spaces, and removed some superfluous name attributes on elements that
won't do anything useful with an output value anyway.

Made vgmplay cycle visualiser modes when visualiser screen is clicked.

Fixed a copy/paste error in bus/rs232/hlemouse.cpp while I'm at it.
This commit is contained in:
Vas Crabb 2020-09-07 01:40:41 +10:00
parent 7fe5f1858d
commit 67ec5e5b43
85 changed files with 1548 additions and 1427 deletions

View File

@ -11,9 +11,10 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
import os.path
import sys
sys.path.insert(0, os.path.abspath('_ext'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '_ext'))
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@ -31,8 +32,8 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'edit_on_github',
'sphinxcontrib.rsvgconverter'
'sphinxcontrib.rsvgconverter',
'edit_on_github'
]
edit_on_github_project = 'mamedev/mame'

View File

@ -610,6 +610,11 @@ screen
zero (0). If present, the ``tag`` attribute must be the tag path to the
screen relative to the device that causes the layout to be loaded. Screens
are drawn in the order they appear in the layout file, from front to back.
collection
Adds screens and/or items in a collection that can be shown or hidden by the
user (see :ref:`layout-parts-collections`). The name of the collection is
specified using the required ``name`` attribute.. There is a limit of 32
collections per view.
group
Adds the content of the group to the view (see :ref:`layout-parts-groups`).
The name of the group to add is specified using the required ``ref``
@ -723,6 +728,46 @@ and only activates the frontmost element whose area includes the location of the
mouse pointer.
.. _layout-parts-collections:
Collections
~~~~~~~~~~~
Collections of screens and/or layout elements can be shown or hidden by the user
as desired. For example, a single view could include both displays and a
clickable keypad, and allow the user to hide the keypad leaving only the
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``
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.
Here is an example demonstrating the use of collections to allow parts of a view
to be hidden by the user::
<view name="LED Displays, CRT and Keypad">
<collection name="LED Displays">
<group ref="displays"><bounds x="240" y="0" width="320" height="47" /></group>
</collection>
<collection name="Keypad">
<group ref="keypad"><bounds x="650" y="57" width="148" height="140" /></group>
</collection>
<screen tag="screen"><bounds x="0" y="57" width="640" height="480" /></screen>
</view>
A collection creates a nested parameter scope. Any ``param`` elements inside
the collection element set parameters in the local scope for the collection.
See :ref:`layout-concepts-params` for more detail on parameters. (Note that the
collections name and default visibility are not part of its content, and any
parameter references in the ``name`` and ``visible`` attributes themselves will
be substituted using parameter values from the collections parents scope.)
.. _layout-parts-groups:
Reusable groups

View File

@ -97,7 +97,7 @@ class LayoutChecker(Minifyer):
VARPATTERN = re.compile('^.*~[0-9A-Za-z_]+~.*$')
FLOATCHARS = re.compile('^.*[.eE].*$')
SHAPES = frozenset(('disk', 'dotmatrix', 'dotmatrix5dot', 'dotmatrixdot', 'led14seg', 'led14segsc', 'led16seg', 'led16segsc', 'led7seg', 'led8seg_gts1', 'rect'))
OBJECTS = frozenset(('backdrop', 'bezel', 'cpanel', 'marquee', 'overlay'))
OBJECTS = frozenset(('backdrop', 'bezel'))
ORIENTATIONS = frozenset((0, 90, 180, 270))
YESNO = frozenset(('yes', 'no'))
BLENDMODES = frozenset(('none', 'alpha', 'multiply', 'add'))
@ -471,7 +471,11 @@ class LayoutChecker(Minifyer):
inputmask = self.checkIntAttribute(name, attrs, 'inputmask', None)
if (inputmask is not None) and (0 == inputmask):
if (inputraw is None) or (0 == inputraw):
self.handleError('Element %s has attribute inputmask "%s" is zero' % (name, attrs['inputmask']))
self.handleError('Element %s attribute inputmask "%s" is zero' % (name, attrs['inputmask']))
if ('element' != name) and not self.has_legacy_object:
self.has_legacy_object = True
if self.has_collection:
self.handleError('Layout contains collection as well as legacy backdrop/bezel elements')
self.handlers.append((self.objectStartHandler, self.objectEndHandler))
self.have_bounds.append(False)
self.have_orientation.append(False)
@ -507,6 +511,17 @@ class LayoutChecker(Minifyer):
self.handleError('Element repeat attribute count "%s" is negative' % (attrs['count'], ))
self.variable_scopes.append({ })
self.repeat_depth[-1] += 1
elif 'collection' == name:
if 'name' not in attrs:
self.handleError('Element collection missing attribute name')
if attrs.get('visible', 'yes') not in self.YESNO:
self.handleError('Element collection attribute visible "%s" is not "yes" or "no"' % (attrs['visible'], ))
if not self.has_collection:
self.has_collection = True
if self.has_legacy_object:
self.handleError('Layout contains collection as well as legacy backdrop/bezel elements')
self.variable_scopes.append({ })
self.collection_depth += 1
elif 'param' == name:
self.checkParameter(attrs)
self.ignored_depth = 1
@ -514,6 +529,8 @@ class LayoutChecker(Minifyer):
self.checkBounds(attrs)
if self.repeat_depth[-1]:
self.handleError('Element bounds inside repeat')
elif self.collection_depth:
self.handleError('Element bounds inside collection')
self.ignored_depth = 1
else:
self.handleError('Encountered unexpected element %s' % (name, ))
@ -521,7 +538,9 @@ class LayoutChecker(Minifyer):
def groupViewEndHandler(self, name):
self.variable_scopes.pop()
if self.repeat_depth[-1]:
if 'collection' == name:
self.collection_depth -= 1
elif self.repeat_depth[-1]:
self.repeat_depth[-1] -= 1
else:
self.repeat_depth.pop()
@ -549,6 +568,9 @@ class LayoutChecker(Minifyer):
self.ignored_depth = 0
self.variable_scopes = [ ]
self.repeat_depth = [ ]
self.collection_depth = 0
self.has_collection = False
self.has_legacy_object = False
self.have_bounds = [ ]
self.have_orientation = [ ]
self.have_color = [ ]
@ -567,6 +589,9 @@ class LayoutChecker(Minifyer):
del self.ignored_depth
del self.variable_scopes
del self.repeat_depth
del self.collection_depth
del self.has_collection
del self.has_legacy_object
del self.have_bounds
del self.have_orientation
del self.have_color

View File

@ -247,7 +247,7 @@ WRITE_LINE_MEMBER(hle_msmouse_device_base::input_dtr)
WRITE_LINE_MEMBER(hle_msmouse_device_base::input_rts)
{
m_dtr = state ? 1U : 0U;
m_rts = state ? 1U : 0U;
check_enable();
}

View File

@ -1067,7 +1067,7 @@ unsigned render_target::configured_view(const char *viewname, int targetindex, i
if (strcmp(viewname, "auto") != 0)
{
// scan for a matching view name
size_t viewlen = strlen(viewname);
size_t const viewlen = strlen(viewname);
for (unsigned i = 0; !view && (m_views.size() > i); ++i)
if (!core_strnicmp(m_views[i].first.get().name().c_str(), viewname, viewlen))
view = &m_views[i].first.get();
@ -1082,21 +1082,22 @@ unsigned render_target::configured_view(const char *viewname, int targetindex, i
// if we have enough targets to be one per screen, assign in order
if (numtargets >= screens.size())
{
int const ourindex = index() % screens.size();
screen_device &screen = screens[ourindex];
// find the first view with this screen and this screen only
unsigned viewindex;
for (view = view_by_index(viewindex = 0); view != nullptr; view = view_by_index(++viewindex))
screen_device const &screen = screens[index() % screens.size()];
for (unsigned i = 0; !view && (m_views.size() > i); ++i)
{
auto const &viewscreens = view->screens();
if (viewscreens.empty())
for (screen_device const &viewscreen : m_views[i].first.get().screens())
{
view = nullptr;
break;
if (&viewscreen == &screen)
{
view = &m_views[i].first.get();
}
else
{
view = nullptr;
break;
}
}
else if (std::find_if(viewscreens.begin(), viewscreens.end(), [&screen] (auto const &scr) { return &scr.get() != &screen; }) == viewscreens.end())
break;
}
}
@ -1105,18 +1106,10 @@ unsigned render_target::configured_view(const char *viewname, int targetindex, i
{
for (unsigned i = 0; !view && (m_views.size() > i); ++i)
{
view = &m_views[i].first.get();
if (view->screen_count() >= screens.size())
{
for (screen_device &screen : screens)
{
if (!view->has_screen(screen))
{
view = nullptr;
break;
}
}
}
layout_view &curview = m_views[i].first;
if (curview.screen_count() >= screens.size())
if (std::find_if(screens.begin(), screens.end(), [&curview] (screen_device &screen) { return !curview.has_screen(screen); }) == screens.end())
view = &curview;
}
}
}
@ -2631,7 +2624,7 @@ void render_target::config_load(util::xml::data_node const &targetnode)
if (m_views.end() == view)
continue;
for (util::xml::data_node const *vistogglenode = viewnode->get_child("vistoggle"); vistogglenode; vistogglenode = vistogglenode->get_next_sibling("vistoggle"))
for (util::xml::data_node const *vistogglenode = viewnode->get_child("collection"); vistogglenode; vistogglenode = vistogglenode->get_next_sibling("collection"))
{
char const *const vistogglename = vistogglenode->get_attribute_string("name", nullptr);
if (!vistogglename)
@ -2642,7 +2635,7 @@ void render_target::config_load(util::xml::data_node const &targetnode)
if (vistoggles.end() == vistoggle)
continue;
int const enable = vistogglenode->get_attribute_int("enabled", -1);
int const enable = vistogglenode->get_attribute_int("visible", -1);
if (0 <= enable)
{
if (enable)
@ -2716,9 +2709,9 @@ bool render_target::config_save(util::xml::data_node &targetnode)
viewnode = targetnode.add_child("view", nullptr);
viewnode->set_attribute("name", view.first.get().name().c_str());
}
util::xml::data_node *const vistogglenode = viewnode->add_child("vistoggle", nullptr);
util::xml::data_node *const vistogglenode = viewnode->add_child("collection", nullptr);
vistogglenode->set_attribute("name", toggle.name().c_str());
vistogglenode->set_attribute_int("enabled", BIT(view.second, i));
vistogglenode->set_attribute_int("visible", BIT(view.second, i));
changed = true;
}
++i;

View File

@ -716,6 +716,7 @@ private:
group_map &groupmap,
std::vector<layout_group const *> &seen,
bool empty,
bool collection,
bool repeat,
bool init);

View File

@ -1116,7 +1116,7 @@ void layout_group::resolve_bounds(environment &env, group_map &groupmap, std::ve
{
set_render_bounds_xy(m_bounds, 0.0F, 0.0F, 1.0F, 1.0F);
environment local(env);
resolve_bounds(local, m_groupnode, groupmap, seen, true, false, true);
resolve_bounds(local, m_groupnode, groupmap, seen, true, false, false, true);
}
seen.pop_back();
}
@ -1127,6 +1127,7 @@ void layout_group::resolve_bounds(
group_map &groupmap,
std::vector<layout_group const *> &seen,
bool empty,
bool collection,
bool repeat,
bool init)
{
@ -1216,16 +1217,16 @@ void layout_group::resolve_bounds(
environment local(env);
for (int i = 0; !m_bounds_resolved && (count > i); ++i)
{
resolve_bounds(local, *itemnode, groupmap, seen, empty, true, !i);
resolve_bounds(local, *itemnode, groupmap, seen, empty, false, true, !i);
local.increment_parameters();
}
}
else if (!strcmp(itemnode->get_name(), "vistoggle"))
else if (!strcmp(itemnode->get_name(), "collection"))
{
if (!env.get_attribute_string(*itemnode, "name", nullptr))
throw layout_syntax_error("vistoggle must have name attribute");
throw layout_syntax_error("collection must have name attribute");
environment local(env);
resolve_bounds(local, *itemnode, groupmap, seen, empty, false, true);
resolve_bounds(local, *itemnode, groupmap, seen, empty, true, false, true);
}
else
{
@ -1241,7 +1242,7 @@ void layout_group::resolve_bounds(
m_bounds_resolved = resolved;
}
if (!repeat)
if (!collection && !repeat)
m_bounds_resolved = true;
}
@ -3364,12 +3365,12 @@ void layout_view::add_items(
local.increment_parameters();
}
}
else if (!strcmp(itemnode->get_name(), "vistoggle"))
else if (!strcmp(itemnode->get_name(), "collection"))
{
char const *name(env.get_attribute_string(*itemnode, "name", nullptr));
if (!name)
throw layout_syntax_error("vistoggle must have name attribute");
m_defvismask |= u32(env.get_attribute_bool(*itemnode, "enabled", true) ? 1 : 0) << m_vistoggles.size(); // TODO: make this less hacky
throw layout_syntax_error("collection must have name attribute");
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());
add_items(layers, local, *itemnode, elemmap, groupmap, orientation, trans, color, false, false, true);

View File

@ -239,28 +239,32 @@ FS 0 to F
******************************************************************************/
#include "emu.h"
#include "cpu/m6809/m6809.h"
#include "machine/input_merger.h"
#include "machine/bankdev.h"
#include "machine/6821pia.h"
#include "machine/6850acia.h"
#include "machine/mc14411.h"
#include "machine/clock.h"
#include "machine/timer.h"
#include "sound/wave.h"
#include "speaker.h"
#include "bus/rs232/rs232.h"
#include "mekd4.lh"
#include "cpu/m6809/m6809.h"
#include "imagedev/cassette.h"
#include "imagedev/snapquik.h"
#include "machine/6821pia.h"
#include "machine/6850acia.h"
#include "machine/bankdev.h"
#include "machine/clock.h"
#include "machine/input_merger.h"
#include "machine/mc14411.h"
#include "machine/timer.h"
#include "sound/wave.h"
#include "video/pwm.h"
// MEK68R2
#include "machine/terminal.h"
#include "video/mc6845.h"
#include "emupal.h"
#include "screen.h"
#include "render.h"
#include "screen.h"
#include "speaker.h"
#include "mekd4.lh"
class mekd4_state : public driver_device
{

View File

@ -617,8 +617,6 @@ void psikyo4_state::ps4big(machine_config &config)
PALETTE(config, m_palette[0]).set_entries((0x2000/4) + 1); /* palette + clear colour */
PALETTE(config, m_palette[1]).set_entries((0x2000/4) + 1);
config.set_default_layout(layout_dualhsxs);
SCREEN(config, m_lscreen, SCREEN_TYPE_RASTER);
m_lscreen->set_refresh_hz(60);
m_lscreen->set_vblank_time(ATTOSECONDS_IN_USEC(0));

View File

@ -67,64 +67,74 @@ license:CC0
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
<overlay name="overlay" element="overlay">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
<bezel element="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="606" y="414" width="32" height="64" />
<color alpha="0.6" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</element>
</collection>
<collection name="Shifter">
<element ref="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="606" y="414" width="32" height="64" />
<color alpha="0.6" />
</element>
</collection>
</view>
<view name="Color Overlay + Shifter-L">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
<overlay name="overlay" element="overlay">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
<bezel element="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="2" y="414" width="32" height="64" />
<color alpha="0.6" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</element>
</collection>
<collection name="Shifter">
<element ref="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="2" y="414" width="32" height="64" />
<color alpha="0.6" />
</element>
</collection>
</view>
<view name="Widescreen Color Overlay + Shifter-R">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
<overlay name="overlay" element="overlay">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
<bezel element="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="648" y="414" width="32" height="64" />
<color alpha="0.65" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</element>
</collection>
<collection name="Shifter">
<element ref="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="648" y="414" width="32" height="64" />
</element>
</collection>
</view>
<view name="Widescreen Color Overlay + Shifter-L">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
<overlay name="overlay" element="overlay">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
<bezel element="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="-40" y="414" width="32" height="64" />
<color alpha="0.65" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</element>
</collection>
<collection name="Shifter">
<element ref="shifter" inputtag="IN0" inputmask="0x10">
<bounds x="-40" y="414" width="32" height="64" />
</element>
</collection>
</view>
<view name="Color Overlay">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -22,8 +22,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -148,43 +148,46 @@ license:CC0
<color red="0" green="0.235" blue="0.11" />
</rect>
</element>
<view name="Color_Overlay">
<overlay element="overlay">
<bounds x="0" y="0" width="512" height="384" />
</overlay>
<backdrop element="overlay">
<bounds x="0" y="0" width="512" height="384" />
<color alpha=".8" />
</backdrop>
<overlay element="overlay">
<bounds x="512" y="384" width="512" height="384" />
<orientation rotate="180" />
</overlay>
<backdrop element="overlay">
<bounds x="512" y="384" width="512" height="384" />
<color alpha=".8" />
<orientation rotate="180" />
</backdrop>
<overlay element="overlay">
<bounds x="512" y="0" width="512" height="384" />
<orientation flipx="yes" />
</overlay>
<backdrop element="overlay">
<bounds x="512" y="0" width="512" height="384" />
<color alpha=".8" />
<orientation flipx="yes" />
</backdrop>
<overlay element="overlay">
<bounds x="0" y="384" width="512" height="384" />
<orientation flipy="yes" />
</overlay>
<backdrop element="overlay">
<bounds x="0" y="384" width="512" height="384" />
<color alpha=".8" />
<orientation flipy="yes" />
</backdrop>
<view name="Color Overlay">
<screen index="0">
<bounds x="0" y="0" width="1024" height="768" />
<bounds x="0" y="0" width="1024" height="768" />
</screen>
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="512" height="384" />
</element>
<element ref="overlay" blend="multiply">
<bounds x="512" y="384" width="512" height="384" />
<orientation rotate="180" />
</element>
<element ref="overlay" blend="multiply">
<bounds x="512" y="0" width="512" height="384" />
<orientation flipx="yes" />
</element>
<element ref="overlay" blend="multiply">
<bounds x="0" y="384" width="512" height="384" />
<orientation flipy="yes" />
</element>
<element ref="overlay" blend="add">
<bounds x="0" y="0" width="512" height="384" />
<color alpha=".8" />
</element>
<element ref="overlay" blend="add">
<bounds x="512" y="384" width="512" height="384" />
<color alpha=".8" />
<orientation rotate="180" />
</element>
<element ref="overlay" blend="add">
<bounds x="512" y="0" width="512" height="384" />
<color alpha=".8" />
<orientation flipx="yes" />
</element>
<element ref="overlay" blend="add">
<bounds x="0" y="384" width="512" height="384" />
<color alpha=".8" />
<orientation flipy="yes" />
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -30,8 +30,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -20,16 +20,16 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay_red">
<element ref="overlay_red" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
<view name="Green Overlay">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay_green">
<element ref="overlay_green" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -20,16 +20,16 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay_green">
<element ref="overlay_green" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
<view name="Yellow Overlay">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay_yellow">
<element ref="overlay_yellow" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -72,17 +72,21 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
<bezel name="lamp_credit1" element="lamp_credit1">
<bounds x="0.2" y="4.01" width="0.55" height="0.55" />
</bezel>
<bezel name="serve_led" element="serve_led">
<bounds x="1.4" y="4.01" width="0.24" height="0.24" />
</bezel>
<bezel name="lamp_credit2" element="lamp_credit2">
<bounds x="2.25" y="4.01" width="0.55" height="0.55" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</element>
</collection>
<collection name="Lamps">
<element name="lamp_credit1" ref="lamp_credit1">
<bounds x="0.2" y="4.01" width="0.55" height="0.55" />
</element>
<element name="serve_led" ref="serve_led">
<bounds x="1.4" y="4.01" width="0.24" height="0.24" />
</element>
<element name="lamp_credit2" ref="lamp_credit2">
<bounds x="2.25" y="4.01" width="0.55" height="0.55" />
</element>
</collection>
</view>
</mamelayout>

View File

@ -18,8 +18,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -30,8 +30,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -30,8 +30,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -22,8 +22,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -22,8 +22,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -30,8 +30,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -38,8 +38,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -16,8 +16,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay_gremlin">
<element ref="overlay_gremlin" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -36,54 +36,54 @@ license:CC0
</element>
<!-- NOTE: still need to add the RPM tachometers, -->
<!-- but first figure out how they're hooked up -->
<!-- NOTE: still need to add the RPM tachometers, -->
<!-- but first figure out how they're hooked up -->
<view name="Color Overlay">
<screen index="0">
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<overlay element="road_overlay">
<element ref="road_overlay" blend="multiply">
<bounds left="0" top="0" right="400" bottom="300" />
</overlay>
</element>
<bezel element="circle_red">
<element ref="circle_red" blend="multiply">
<bounds x="24.5" y="168.5" width="24" height="24" />
<color alpha=".3" />
</bezel>
<bezel element="circle_green">
</element>
<element ref="circle_green" blend="multiply">
<bounds x="49.5" y="168.5" width="24" height="24" />
<color alpha=".3" />
</bezel>
<bezel element="circle_yellow">
</element>
<element ref="circle_yellow" blend="multiply">
<bounds x="74.5" y="168.5" width="24" height="24" />
<color alpha=".3" />
</bezel>
<bezel element="circle_yellow">
</element>
<element ref="circle_yellow" blend="multiply">
<bounds x="99.5" y="168.5" width="24" height="24" />
<color alpha=".3" />
</bezel>
<bezel element="circle_yellow">
</element>
<element ref="circle_yellow" blend="multiply">
<bounds x="124.5" y="168.5" width="24" height="24" />
<color alpha=".3" />
</bezel>
</element>
<overlay element="circle_red">
<element ref="circle_red" blend="add">
<bounds x="24.5" y="168.5" width="24" height="24" />
</overlay>
<overlay element="circle_green">
<color red=".3" green=".3" blue=".3" />
</element>
<element ref="circle_green" blend="add">
<bounds x="49.5" y="168.5" width="24" height="24" />
</overlay>
<overlay element="circle_yellow">
<color red=".3" green=".3" blue=".3" />
</element>
<element ref="circle_yellow" blend="add">
<bounds x="74.5" y="168.5" width="24" height="24" />
</overlay>
<overlay element="circle_yellow">
<color red=".3" green=".3" blue=".3" />
</element>
<element ref="circle_yellow" blend="add">
<bounds x="99.5" y="168.5" width="24" height="24" />
</overlay>
<overlay element="circle_yellow">
<color red=".3" green=".3" blue=".3" />
</element>
<element ref="circle_yellow" blend="add">
<bounds x="124.5" y="168.5" width="24" height="24" />
</overlay>
<color red=".3" green=".3" blue=".3" />
</element>
</view>
</mamelayout>

View File

@ -22,12 +22,12 @@ license:CC0
</rect>
</element>
<view name="Color_Overlay">
<view name="Color Overlay">
<screen index="0">
<bounds x="0" y="0" width="3" height="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="3" height="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -168,64 +168,59 @@ license:CC0
</element>
<group name="displays">
<cpanel element="surround"><bounds x="0" y="0" width="320" height="132" /></cpanel>
<element ref="surround"><bounds x="0" y="0" width="320" height="132" /></element>
<cpanel name="digit6" element="digit"><bounds x="16" y="16" width="48" height="80" /></cpanel>
<cpanel name="digit5" element="digit"><bounds x="64" y="16" width="48" height="80" /></cpanel>
<cpanel name="digit4" element="digit"><bounds x="112" y="16" width="48" height="80" /></cpanel>
<cpanel name="digit3" element="digit"><bounds x="160" y="16" width="48" height="80" /></cpanel>
<cpanel name="digit2" element="digit"><bounds x="208" y="16" width="48" height="80" /></cpanel>
<cpanel name="digit1" element="digit"><bounds x="256" y="16" width="48" height="80" /></cpanel>
<element name="digit6" ref="digit"><bounds x="16" y="16" width="48" height="80" /></element>
<element name="digit5" ref="digit"><bounds x="64" y="16" width="48" height="80" /></element>
<element name="digit4" ref="digit"><bounds x="112" y="16" width="48" height="80" /></element>
<element name="digit3" ref="digit"><bounds x="160" y="16" width="48" height="80" /></element>
<element name="digit2" ref="digit"><bounds x="208" y="16" width="48" height="80" /></element>
<element name="digit1" ref="digit"><bounds x="256" y="16" width="48" height="80" /></element>
<cpanel element="label_h"><bounds x="48" y="100" width="16" height="16" /></cpanel>
<cpanel element="label_i"><bounds x="96" y="100" width="16" height="16" /></cpanel>
<cpanel element="label_n"><bounds x="144" y="100" width="16" height="16" /></cpanel>
<cpanel element="label_z"><bounds x="192" y="100" width="16" height="16" /></cpanel>
<cpanel element="label_v"><bounds x="240" y="100" width="16" height="16" /></cpanel>
<cpanel element="label_c"><bounds x="288" y="100" width="16" height="16" /></cpanel>
<element ref="label_h"><bounds x="48" y="100" width="16" height="16" /></element>
<element ref="label_i"><bounds x="96" y="100" width="16" height="16" /></element>
<element ref="label_n"><bounds x="144" y="100" width="16" height="16" /></element>
<element ref="label_z"><bounds x="192" y="100" width="16" height="16" /></element>
<element ref="label_v"><bounds x="240" y="100" width="16" height="16" /></element>
<element ref="label_c"><bounds x="288" y="100" width="16" height="16" /></element>
</group>
<group name="keypad">
<bounds x="0" y="0" width="3.5" height="6.5" />
<cpanel element="btn_d" inputtag="X0" inputmask="0x01"><bounds x="0.20" y="0.125" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="X1" inputmask="0x01"><bounds x="1.25" y="0.125" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="X2" inputmask="0x01"><bounds x="2.30" y="0.125" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="X0" inputmask="0x02"><bounds x="0.20" y="1.175" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="X1" inputmask="0x02"><bounds x="1.25" y="1.175" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="X2" inputmask="0x02"><bounds x="2.30" y="1.175" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_7" inputtag="X0" inputmask="0x04"><bounds x="0.20" y="2.225" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="X1" inputmask="0x04"><bounds x="1.25" y="2.225" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="X2" inputmask="0x04"><bounds x="2.30" y="2.225" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_4" inputtag="X0" inputmask="0x08"><bounds x="0.20" y="3.275" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="X1" inputmask="0x08"><bounds x="1.25" y="3.275" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="X2" inputmask="0x08"><bounds x="2.30" y="3.275" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_1" inputtag="X0" inputmask="0x10"><bounds x="0.20" y="4.325" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="X1" inputmask="0x10"><bounds x="1.25" y="4.325" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="X2" inputmask="0x10"><bounds x="2.30" y="4.325" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_0" inputtag="X0" inputmask="0x20"><bounds x="0.725" y="5.375" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="1.775" y="5.375" width="1.0" height="1.0" /></cpanel>
<element ref="btn_d" inputtag="X0" inputmask="0x01"><bounds x="0.20" y="0.125" width="1.0" height="1.0" /></element>
<element ref="btn_e" inputtag="X1" inputmask="0x01"><bounds x="1.25" y="0.125" width="1.0" height="1.0" /></element>
<element ref="btn_f" inputtag="X2" inputmask="0x01"><bounds x="2.30" y="0.125" width="1.0" height="1.0" /></element>
<element ref="btn_a" inputtag="X0" inputmask="0x02"><bounds x="0.20" y="1.175" width="1.0" height="1.0" /></element>
<element ref="btn_b" inputtag="X1" inputmask="0x02"><bounds x="1.25" y="1.175" width="1.0" height="1.0" /></element>
<element ref="btn_c" inputtag="X2" inputmask="0x02"><bounds x="2.30" y="1.175" width="1.0" height="1.0" /></element>
<element ref="btn_7" inputtag="X0" inputmask="0x04"><bounds x="0.20" y="2.225" width="1.0" height="1.0" /></element>
<element ref="btn_8" inputtag="X1" inputmask="0x04"><bounds x="1.25" y="2.225" width="1.0" height="1.0" /></element>
<element ref="btn_9" inputtag="X2" inputmask="0x04"><bounds x="2.30" y="2.225" width="1.0" height="1.0" /></element>
<element ref="btn_4" inputtag="X0" inputmask="0x08"><bounds x="0.20" y="3.275" width="1.0" height="1.0" /></element>
<element ref="btn_5" inputtag="X1" inputmask="0x08"><bounds x="1.25" y="3.275" width="1.0" height="1.0" /></element>
<element ref="btn_6" inputtag="X2" inputmask="0x08"><bounds x="2.30" y="3.275" width="1.0" height="1.0" /></element>
<element ref="btn_1" inputtag="X0" inputmask="0x10"><bounds x="0.20" y="4.325" width="1.0" height="1.0" /></element>
<element ref="btn_2" inputtag="X1" inputmask="0x10"><bounds x="1.25" y="4.325" width="1.0" height="1.0" /></element>
<element ref="btn_3" inputtag="X2" inputmask="0x10"><bounds x="2.30" y="4.325" width="1.0" height="1.0" /></element>
<element ref="btn_0" inputtag="X0" inputmask="0x20"><bounds x="0.725" y="5.375" width="1.0" height="1.0" /></element>
<element ref="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="1.775" y="5.375" width="1.0" height="1.0" /></element>
</group>
<view name="LED Displays, Terminal and Keypad">
<cpanel element="beige"><bounds x="320" y="0" width="172" height="372" /></cpanel>
<group ref="displays"><bounds x="0" y="0" width="320" height="132" /></group>
<group ref="keypad"><bounds x="336" y="16" width="140" height="260" /></group>
<screen index="0"><bounds x="0" y="132" width="320" height="240" /></screen>
</view>
<view name="LED Displays and Terminal">
<group ref="displays"><bounds x="0" y="0" width="320" height="132" /></group>
<collection name="Keypad">
<element ref="beige"><bounds x="320" y="0" width="172" height="372" /></element>
<group ref="keypad"><bounds x="336" y="16" width="140" height="260" /></group>
</collection>
<screen index="0"><bounds x="0" y="132" width="320" height="240" /></screen>
</view>
<view name="LED Displays and Keypad">
<cpanel element="beige"><bounds x="0" y="0" width="320" height="424" /></cpanel>
<group ref="displays"><bounds x="0" y="0" width="320" height="132" /></group>
<group ref="keypad"><bounds x="164" y="148" width="140" height="260" /></group>
</view>
<view name="LED Displays">
<collection name="Keypad">
<element ref="beige"><bounds x="0" y="0" width="320" height="424" /></element>
<group ref="keypad"><bounds x="164" y="148" width="140" height="260" /></group>
</collection>
<group ref="displays"><bounds x="0" y="0" width="320" height="132" /></group>
</view>
</mamelayout>

View File

@ -22,12 +22,12 @@ license:CC0
</rect>
</element>
<view name="Color_Overlay">
<view name="Color Overlay">
<screen index="0">
<bounds x="0" y="0" width="3" height="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="3" height="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -72,8 +72,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -69,8 +69,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -69,8 +69,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -42,8 +42,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -50,8 +50,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -68,34 +68,38 @@ copyright-holders:Vas Crabb
<view name="Cabinet Lamps">
<screen index="0"><bounds x="3.5" y="4.4" width="16" height="12" /></screen>
<bezel element="marquee"><bounds x="0" y="0" width="23" height="2.5" /></bezel>
<bezel element="colorlamp" name="sit13"><bounds x="0" y="0" width="11.5" height="1" /></bezel>
<bezel element="colorlamp" name="sit12"><bounds x="11.5" y="0" width="11.5" height="1" /></bezel>
<bezel element="timerlamp" name="sit9"><bounds x="2" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit8"><bounds x="4" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit7"><bounds x="6" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit6"><bounds x="8" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit5"><bounds x="10" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit4"><bounds x="12" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit3"><bounds x="14" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit2"><bounds x="16" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit1"><bounds x="18" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit0"><bounds x="20" y="1.25" width="1" height="1" /></bezel>
<collection name="Marquee and Timer Lamps">
<element ref="marquee"><bounds x="0" y="0" width="23" height="2.5" /></element>
<element ref="colorlamp" name="sit13"><bounds x="0" y="0" width="11.5" height="1" /></element>
<element ref="colorlamp" name="sit12"><bounds x="11.5" y="0" width="11.5" height="1" /></element>
<element ref="timerlamp" name="sit9"><bounds x="2" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit8"><bounds x="4" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit7"><bounds x="6" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit6"><bounds x="8" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit5"><bounds x="10" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit4"><bounds x="12" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit3"><bounds x="14" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit2"><bounds x="16" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit1"><bounds x="18" y="1.25" width="1" height="1" /></element>
<element ref="timerlamp" name="sit0"><bounds x="20" y="1.25" width="1" height="1" /></element>
</collection>
<bezel element="flashstick" name="sit14"><bounds x="0.75" y="6.5" width="1.5" height="5.5" /></bezel>
<bezel element="sidelamp" name="sit11"><bounds x="0.5" y="12.5" width="2" height="4.5" /></bezel>
<bezel element="flashstick" name="sit14"><bounds x="20.75" y="6.5" width="1.5" height="5.5" /></bezel>
<bezel element="sidelamp" name="sit11"><bounds x="20.5" y="12.5" width="2" height="4.5" /></bezel>
<bezel element="flashgrille" name="sit14"><bounds x="7" y="17.25" width="3" height="2.5" /></bezel>
<bezel element="flashgrille" name="sit14"><bounds x="13" y="17.25" width="3" height="2.5" /></bezel>
<element ref="flashstick" name="sit14"><bounds x="0.75" y="6.5" width="1.5" height="5.5" /></element>
<element ref="sidelamp" name="sit11"><bounds x="0.5" y="12.5" width="2" height="4.5" /></element>
<element ref="flashstick" name="sit14"><bounds x="20.75" y="6.5" width="1.5" height="5.5" /></element>
<element ref="sidelamp" name="sit11"><bounds x="20.5" y="12.5" width="2" height="4.5" /></element>
<element ref="flashgrille" name="sit14"><bounds x="7" y="17.25" width="3" height="2.5" /></element>
<element ref="flashgrille" name="sit14"><bounds x="13" y="17.25" width="3" height="2.5" /></element>
<cpanel element="cpanel"><bounds x="4.5" y="20" width="14" height="7" /></cpanel>
<cpanel element="trackball" name="sit10"><bounds x="10" y="22" width="3" height="3" /></cpanel>
<cpanel element="bluebtn" inputtag="edge:irrmaze:START" inputmask="0x01"><bounds x="11.125" y="20.125" width="0.75" height="0.75" /></cpanel>
<cpanel element="redbtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x10"><bounds x="7" y="23" width="1" height="1" /></cpanel>
<cpanel element="bluebtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x20"><bounds x="5" y="22.5" width="1" height="1" /></cpanel>
<cpanel element="redbtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x40"><bounds x="15" y="23" width="1" height="1" /></cpanel>
<cpanel element="bluebtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x80"><bounds x="17" y="22.5" width="1" height="1" /></cpanel>
<collection name="Control Panel">
<element ref="cpanel"><bounds x="4.5" y="20" width="14" height="7" /></element>
<element ref="trackball" name="sit10"><bounds x="10" y="22" width="3" height="3" /></element>
<element ref="bluebtn" inputtag="edge:irrmaze:START" inputmask="0x01"><bounds x="11.125" y="20.125" width="0.75" height="0.75" /></element>
<element ref="redbtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x10"><bounds x="7" y="23" width="1" height="1" /></element>
<element ref="bluebtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x20"><bounds x="5" y="22.5" width="1" height="1" /></element>
<element ref="redbtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x40"><bounds x="15" y="23" width="1" height="1" /></element>
<element ref="bluebtn" inputtag="edge:irrmaze:BUTTONS" inputmask="0x80"><bounds x="17" y="22.5" width="1" height="1" /></element>
</collection>
</view>
<view name="Screen 0 Standard (320x224)">

View File

@ -34,8 +34,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -34,11 +34,15 @@ license:CC0
<screen index="0">
<bounds x="0" y="0" width="738.46" height="480" />
</screen>
<bezel element="black">
<bounds x="640" y="0" width="100" height="480" />
</bezel>
<overlay element="overlay">
<bounds x="0" y="0" width="738.46" height="480" />
</overlay>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="738.46" height="480" />
</element>
</collection>
<collection name="Overscan Mask">
<element ref="black">
<bounds x="640" y="0" width="100" height="480" />
</element>
</collection>
</view>
</mamelayout>

View File

@ -18,26 +18,26 @@ Simple layout for Little Casino (color) and clones
</rect>
</element>
<view name="Buttons">
<backdrop element="background">
<element ref="background">
<bounds x="0" y="0" width="640" height="580" />
</backdrop>
</element>
<screen index="0">
<bounds left="0" top="0" right="640" bottom="480" />
</screen>
<cpanel name="button_0" element="button" inputtag="Q" inputmask="0x01">
<element name="button_0" ref="button" inputtag="Q" inputmask="0x01">
<bounds x="80" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_1" element="button" inputtag="Q" inputmask="0x02">
</element>
<element name="button_1" ref="button" inputtag="Q" inputmask="0x02">
<bounds x="180" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_2" element="button" inputtag="Q" inputmask="0x04">
</element>
<element name="button_2" ref="button" inputtag="Q" inputmask="0x04">
<bounds x="280" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_3" element="button" inputtag="Q" inputmask="0x08">
</element>
<element name="button_3" ref="button" inputtag="Q" inputmask="0x08">
<bounds x="380" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_4" element="button" inputtag="Q" inputmask="0x10">
</element>
<element name="button_4" ref="button" inputtag="Q" inputmask="0x10">
<bounds x="480" y="505" width="70" height="35" />
</cpanel>
</element>
</view>
</mamelayout>

View File

@ -36,29 +36,33 @@ Simple layout for Little Casino (monochrome)
</rect>
</element>
<view name="Buttons">
<backdrop element="background">
<bounds x="0" y="0" width="640" height="580" />
</backdrop>
<collection name="Control Panel">
<element ref="background">
<bounds x="0" y="480" width="640" height="100" />
</element>
<element name="button_0" ref="button" inputtag="Q" inputmask="0x01">
<bounds x="80" y="505" width="70" height="35" />
</element>
<element name="button_1" ref="button" inputtag="Q" inputmask="0x02">
<bounds x="180" y="505" width="70" height="35" />
</element>
<element name="button_2" ref="button" inputtag="Q" inputmask="0x04">
<bounds x="280" y="505" width="70" height="35" />
</element>
<element name="button_3" ref="button" inputtag="Q" inputmask="0x08">
<bounds x="380" y="505" width="70" height="35" />
</element>
<element name="button_4" ref="button" inputtag="Q" inputmask="0x10">
<bounds x="480" y="505" width="70" height="35" />
</element>
</collection>
<screen index="0">
<bounds left="0" top="0" right="640" bottom="480" />
</screen>
<overlay name="overlay" element="overlay">
<bounds x="0" y="0" width="640" height="480" />
</overlay>
<cpanel name="button_0" element="button" inputtag="Q" inputmask="0x01">
<bounds x="80" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_1" element="button" inputtag="Q" inputmask="0x02">
<bounds x="180" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_2" element="button" inputtag="Q" inputmask="0x04">
<bounds x="280" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_3" element="button" inputtag="Q" inputmask="0x08">
<bounds x="380" y="505" width="70" height="35" />
</cpanel>
<cpanel name="button_4" element="button" inputtag="Q" inputmask="0x10">
<bounds x="480" y="505" width="70" height="35" />
</cpanel>
<collection name="Overlay">
<element name="overlay" ref="overlay" blend="multiply">
<bounds x="0" y="0" width="640" height="480" />
</element>
</collection>
</view>
</mamelayout>

View File

@ -13,8 +13,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -59,89 +59,95 @@ license:CC0
<!-- groups -->
<group name="display">
<backdrop element="cb_border"><bounds left="-3" right="83" top="-3" bottom="91.434" /></backdrop>
<screen index="0"><bounds left="0" right="80" top="0" bottom="88.434" /></screen>
<overlay element="cb_overlay"><bounds left="0" right="80" top="0" bottom="88.434" /></overlay>
<bezel element="blackb"><bounds left="79.9" right="80.1" top="-0.1" bottom="88.6" /></bezel>
<bezel element="blackb"><bounds left="-0.1" right="80.1" top="88.1" bottom="88.534" /></bezel>
<bezel element="blackb"><bounds x="-0.1" y="79.4" width="80.2" height="0.8" /></bezel>
<collection name="Bezel">
<element ref="cb_border"><bounds left="-3" right="83" top="-3" bottom="91.434" /></element>
</collection>
<repeat count="4">
<param name="left" start="0" increment="20" />
<param name="right" start="10" increment="20" />
<screen index="0"><bounds left="0" right="80" top="0" bottom="88.434" /></screen>
<collection name="Overlay">
<element ref="cb_overlay" blend="multiply"><bounds left="0" right="80" top="0" bottom="88.434" /></element>
<repeat count="4">
<param name="top" start="9.96" increment="19.92" />
<param name="bottom" start="19.92" increment="19.92" />
<overlay element="cb_mask"><bounds left="~left~" right="~right~" top="~top~" bottom="~bottom~" /></overlay>
<param name="left" start="0" increment="20" />
<param name="right" start="10" increment="20" />
<repeat count="4">
<param name="top" start="9.96" increment="19.92" />
<param name="bottom" start="19.92" increment="19.92" />
<element ref="cb_mask" blend="multiply"><bounds left="~left~" right="~right~" top="~top~" bottom="~bottom~" /></element>
</repeat>
</repeat>
</repeat>
<repeat count="4">
<param name="left" start="70" increment="-20" />
<param name="right" start="80" increment="-20" />
<repeat count="4">
<param name="top" start="0" increment="19.92" />
<param name="bottom" start="9.96" increment="19.92" />
<overlay element="cb_mask"><bounds left="~left~" right="~right~" top="~top~" bottom="~bottom~" /></overlay>
<param name="left" start="70" increment="-20" />
<param name="right" start="80" increment="-20" />
<repeat count="4">
<param name="top" start="0" increment="19.92" />
<param name="bottom" start="9.96" increment="19.92" />
<element ref="cb_mask" blend="multiply"><bounds left="~left~" right="~right~" top="~top~" bottom="~bottom~" /></element>
</repeat>
</repeat>
</repeat>
<element ref="blackb"><bounds left="79.9" right="80.1" top="-0.1" bottom="88.6" /></element>
<element ref="blackb"><bounds left="-0.1" right="80.1" top="88.1" bottom="88.534" /></element>
<element ref="blackb"><bounds x="-0.1" y="79.4" width="80.2" height="0.8" /></element>
</collection>
</group>
<group name="buttons">
<bounds x="6.1" y="6.1" width="87.8" height="45.8" />
<bezel element="white"><bounds x="6.1" y="6.1" width="87.8" height="45.8" /></bezel>
<bezel element="blackb"><bounds x="6.9" y="6.9" width="44.2" height="44.2" /></bezel>
<bezel element="blackb"><bounds x="51.9" y="6.9" width="27.2" height="13.8" /></bezel>
<bezel element="blackb"><bounds x="51.9" y="21.5" width="27.2" height="29.6" /></bezel>
<bezel element="blackb"><bounds x="79.9" y="6.9" width="13.2" height="44.2" /></bezel>
<element ref="white"><bounds x="6.1" y="6.1" width="87.8" height="45.8" /></element>
<element ref="blackb"><bounds x="6.9" y="6.9" width="44.2" height="44.2" /></element>
<element ref="blackb"><bounds x="51.9" y="6.9" width="27.2" height="13.8" /></element>
<element ref="blackb"><bounds x="51.9" y="21.5" width="27.2" height="29.6" /></element>
<element ref="blackb"><bounds x="79.9" y="6.9" width="13.2" height="44.2" /></element>
<bezel element="redd"><bounds x="10" y="24" width="7" height="10" /><orientation rotate="270" /></bezel>
<bezel element="redd"><bounds x="41" y="24" width="7" height="10" /><orientation rotate="90" /></bezel>
<bezel element="redd"><bounds x="24" y="10" width="10" height="7" /></bezel>
<bezel element="redd"><bounds x="24" y="41" width="10" height="7" /><orientation rotate="180" /></bezel>
<element ref="redd"><bounds x="10" y="24" width="7" height="10" /><orientation rotate="270" /></element>
<element ref="redd"><bounds x="41" y="24" width="7" height="10" /><orientation rotate="90" /></element>
<element ref="redd"><bounds x="24" y="10" width="10" height="7" /></element>
<element ref="redd"><bounds x="24" y="41" width="10" height="7" /><orientation rotate="180" /></element>
<bezel element="text_l0"><bounds x="23.5" y="25.5" width="11" height="2.7" /></bezel>
<bezel element="red"><bounds x="25.5" y="29" width="7" height="5" /></bezel>
<element ref="text_l0"><bounds x="23.5" y="25.5" width="11" height="2.7" /></element>
<element ref="red"><bounds x="25.5" y="29" width="7" height="5" /></element>
<bezel element="text_l1"><bounds x="53" y="10.3" width="11" height="2.7" /></bezel>
<bezel element="text_l2"><bounds x="67" y="10.3" width="11" height="2.7" /></bezel>
<bezel element="text_l3"><bounds x="81" y="10.3" width="11" height="2.7" /></bezel>
<bezel element="text_l4"><bounds x="53" y="25.5" width="11" height="2.7" /></bezel>
<bezel element="text_l5a"><bounds x="67" y="23.0" width="11" height="2.7" /></bezel>
<bezel element="text_l5b"><bounds x="67" y="25.5" width="11" height="2.7" /></bezel>
<bezel element="text_l6"><bounds x="81" y="25.5" width="11" height="2.7" /></bezel>
<bezel element="text_l7a"><bounds x="53" y="38.2" width="11" height="2.7" /></bezel>
<bezel element="text_l7b"><bounds x="53" y="40.7" width="11" height="2.7" /></bezel>
<bezel element="text_l8a"><bounds x="67" y="38.2" width="11" height="2.7" /></bezel>
<bezel element="text_l8b"><bounds x="67" y="40.7" width="11" height="2.7" /></bezel>
<bezel element="text_l9"><bounds x="81" y="40.7" width="11" height="2.7" /></bezel>
<element ref="text_l1"><bounds x="53" y="10.3" width="11" height="2.7" /></element>
<element ref="text_l2"><bounds x="67" y="10.3" width="11" height="2.7" /></element>
<element ref="text_l3"><bounds x="81" y="10.3" width="11" height="2.7" /></element>
<element ref="text_l4"><bounds x="53" y="25.5" width="11" height="2.7" /></element>
<element ref="text_l5a"><bounds x="67" y="23.0" width="11" height="2.7" /></element>
<element ref="text_l5b"><bounds x="67" y="25.5" width="11" height="2.7" /></element>
<element ref="text_l6"><bounds x="81" y="25.5" width="11" height="2.7" /></element>
<element ref="text_l7a"><bounds x="53" y="38.2" width="11" height="2.7" /></element>
<element ref="text_l7b"><bounds x="53" y="40.7" width="11" height="2.7" /></element>
<element ref="text_l8a"><bounds x="67" y="38.2" width="11" height="2.7" /></element>
<element ref="text_l8b"><bounds x="67" y="40.7" width="11" height="2.7" /></element>
<element ref="text_l9"><bounds x="81" y="40.7" width="11" height="2.7" /></element>
<bezel element="blue"><bounds x="55" y="13.8" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="69" y="13.8" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="83" y="13.8" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="55" y="29.0" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="69" y="29.0" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="83" y="29.0" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="55" y="44.2" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="69" y="44.2" width="7" height="5" /></bezel>
<bezel element="blue"><bounds x="83" y="44.2" width="7" height="5" /></bezel>
<element ref="blue"><bounds x="55" y="13.8" width="7" height="5" /></element>
<element ref="blue"><bounds x="69" y="13.8" width="7" height="5" /></element>
<element ref="blue"><bounds x="83" y="13.8" width="7" height="5" /></element>
<element ref="blue"><bounds x="55" y="29.0" width="7" height="5" /></element>
<element ref="blue"><bounds x="69" y="29.0" width="7" height="5" /></element>
<element ref="blue"><bounds x="83" y="29.0" width="7" height="5" /></element>
<element ref="blue"><bounds x="55" y="44.2" width="7" height="5" /></element>
<element ref="blue"><bounds x="69" y="44.2" width="7" height="5" /></element>
<element ref="blue"><bounds x="83" y="44.2" width="7" height="5" /></element>
<bezel element="hl" inputtag="IN.1" inputmask="0x08"><bounds x="10" y="24" width="7" height="10" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="41" y="24" width="7" height="10" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.1" inputmask="0x10"><bounds x="24" y="10" width="10" height="7" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.1" inputmask="0x80"><bounds x="24" y="41" width="10" height="7" /><color alpha="0.25" /></bezel>
<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="10" y="24" width="7" height="10" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="41" y="24" width="7" height="10" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.1" inputmask="0x10"><bounds x="24" y="10" width="10" height="7" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.1" inputmask="0x80"><bounds x="24" y="41" width="10" height="7" /><color alpha="0.25" /></element>
<bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="25.5" y="29" width="7" height="5" /><color alpha="0.25" /></bezel>
<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="25.5" y="29" width="7" height="5" /><color alpha="0.25" /></element>
<bezel element="hl" inputtag="IN.2" inputmask="0x10"><bounds x="55" y="13.8" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.0" inputmask="0x10"><bounds x="69" y="13.8" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.0" inputmask="0x08"><bounds x="83" y="13.8" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.2" inputmask="0x08"><bounds x="55" y="29.0" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="69" y="29.0" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="83" y="29.0" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.2" inputmask="0x80"><bounds x="55" y="44.2" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="69" y="44.2" width="7" height="5" /><color alpha="0.25" /></bezel>
<bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="83" y="44.2" width="7" height="5" /><color alpha="0.25" /></bezel>
<element ref="hl" inputtag="IN.2" inputmask="0x10"><bounds x="55" y="13.8" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.0" inputmask="0x10"><bounds x="69" y="13.8" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="83" y="13.8" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="55" y="29.0" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="69" y="29.0" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="83" y="29.0" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.2" inputmask="0x80"><bounds x="55" y="44.2" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="69" y="44.2" width="7" height="5" /><color alpha="0.25" /></element>
<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="83" y="44.2" width="7" height="5" /><color alpha="0.25" /></element>
</group>
@ -151,12 +157,12 @@ license:CC0
<bounds left="-1" right="182.5" top="-1" bottom="96" />
<group ref="display"><bounds x="0" y="0" width="86" height="94.434" /></group>
<bezel element="blueb2"><bounds x="88" y="0" width="95" height="53" /></bezel>
<bezel element="blueb"><bounds x="88" y="44" width="95" height="53" /></bezel>
<bezel element="blackb"><bounds x="91" y="47" width="95" height="53" /></bezel>
<element ref="blueb2"><bounds x="88" y="0" width="95" height="53" /></element>
<element ref="blueb"><bounds x="88" y="44" width="95" height="53" /></element>
<element ref="blackb"><bounds x="91" y="47" width="95" height="53" /></element>
<group ref="buttons"><bounds x="93" y="48.634" width="87.8" height="45.8" /></group>
<bezel element="text_switch" inputtag="IN.3" inputmask="0x01"><bounds x="91" y="2" width="24" height="2.7" /></bezel>
<element ref="text_switch" inputtag="IN.3" inputmask="0x01"><bounds x="91" y="2" width="24" height="2.7" /></element>
</view>
<view name="Internal Layout (Screen)">

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -17,26 +17,26 @@ license:CC0
<view name="Default Layout">
<!-- Black background -->
<bezel element="background">
<element ref="background">
<bounds left="97" top="95" right="428" bottom="195" />
</bezel>
<bezel name="digit5" element="digit">
</element>
<element name="digit5" ref="digit">
<bounds left="107" top="105" right="155" bottom="185" />
</bezel>
<bezel name="digit4" element="digit">
</element>
<element name="digit4" ref="digit">
<bounds left="155" top="105" right="203" bottom="185" />
</bezel>
<bezel name="digit3" element="digit">
</element>
<element name="digit3" ref="digit">
<bounds left="203" top="105" right="251" bottom="185" />
</bezel>
<bezel name="digit2" element="digit">
</element>
<element name="digit2" ref="digit">
<bounds left="251" top="105" right="299" bottom="185" />
</bezel>
<bezel name="digit1" element="digit">
</element>
<element name="digit1" ref="digit">
<bounds left="323" top="105" right="370" bottom="185" />
</bezel>
<bezel name="digit0" element="digit">
</element>
<element name="digit0" ref="digit">
<bounds left="371" top="105" right="418" bottom="185" />
</bezel>
</element>
</view>
</mamelayout>

View File

@ -218,90 +218,98 @@ license:CC0
<group name="displays">
<!-- Black background -->
<bezel element="background">
<element ref="background">
<bounds left="0" top="0" right="482.0" bottom="70" />
</bezel>
<bezel name="digit7" element="digit">
</element>
<element name="digit7" ref="digit">
<bounds left="5.5" top="20" right="30.5" bottom="50" />
</bezel>
<bezel name="digit6" element="digit">
</element>
<element name="digit6" ref="digit">
<bounds left="63.5" top="20" right="88.5" bottom="50" />
</bezel>
<bezel name="digit5" element="digit">
</element>
<element name="digit5" ref="digit">
<bounds left="121.5" top="20" right="146.5" bottom="50" />
</bezel>
<bezel name="digit4" element="digit">
</element>
<element name="digit4" ref="digit">
<bounds left="179.5" top="20" right="204.5" bottom="50" />
</bezel>
<bezel name="digit3" element="digit">
</element>
<element name="digit3" ref="digit">
<bounds left="257.5" top="20" right="282.5" bottom="50" />
</bezel>
<bezel name="digit2" element="digit">
</element>
<element name="digit2" ref="digit">
<bounds left="315.5" top="20" right="340.5" bottom="50" />
</bezel>
<bezel name="digit1" element="digit">
</element>
<element name="digit1" ref="digit">
<bounds left="393.5" top="20" right="418.5" bottom="50" />
</bezel>
<bezel name="digit0" element="digit">
</element>
<element name="digit0" ref="digit">
<bounds left="451.5" top="20" right="476.5" bottom="50" />
</bezel>
</element>
</group>
<group name="keypad">
<bezel element="background">
<element ref="background">
<bounds x="0" y="0" width="7.1" height="6.70" />
</bezel>
</element>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></cpanel>
<element ref="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></element>
<cpanel element="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></cpanel>
<element ref="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></element>
<cpanel element="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></cpanel>
<element ref="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></element>
<cpanel element="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></cpanel>
<element ref="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></element>
<cpanel element="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></cpanel>
<element ref="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></element>
</group>
<view name="LED Displays, Terminal and Keypad" index="0">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="0"><bounds x="0" y="160" width="640" height="480" /></screen>
<view name="LED Displays, Terminal and Keypad">
<collection name="LED Displays">
<group ref="displays"><bounds x="240" y="0" width="320" height="47" /></group>
</collection>
<collection name="Keypad">
<group ref="keypad"><bounds x="650" y="57" width="148" height="140" /></group>
</collection>
<screen index="0"><bounds x="0" y="57" width="640" height="480" /></screen>
</view>
<view name="LED Displays, CRT and Keypad" index="1">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="1"><bounds x="0" y="160" width="640" height="480" /></screen>
<view name="LED Displays, CRT and Keypad">
<collection name="LED Displays">
<group ref="displays"><bounds x="240" y="0" width="320" height="47" /></group>
</collection>
<collection name="Keypad">
<group ref="keypad"><bounds x="650" y="57" width="148" height="140" /></group>
</collection>
<screen tag="screen"><bounds x="0" y="57" width="640" height="480" /></screen>
</view>
<view name="LED Displays and Keypad" index="2">
<view name="LED Displays and Keypad">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="112" y="57" width="171" height="161" /></group>
</view>
<view name="LED Displays" index="3">
<view name="LED Displays">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
</view>

View File

@ -218,90 +218,98 @@ license:CC0
<group name="displays">
<!-- Black background -->
<bezel element="background">
<element ref="background">
<bounds left="0" top="0" right="482.0" bottom="70" />
</bezel>
<bezel name="digit7" element="digit">
</element>
<element name="digit7" ref="digit">
<bounds left="5.5" top="20" right="30.5" bottom="50" />
</bezel>
<bezel name="digit6" element="digit">
</element>
<element name="digit6" ref="digit">
<bounds left="63.5" top="20" right="88.5" bottom="50" />
</bezel>
<bezel name="digit5" element="digit">
</element>
<element name="digit5" ref="digit">
<bounds left="121.5" top="20" right="146.5" bottom="50" />
</bezel>
<bezel name="digit4" element="digit">
</element>
<element name="digit4" ref="digit">
<bounds left="179.5" top="20" right="204.5" bottom="50" />
</bezel>
<bezel name="digit3" element="digit">
</element>
<element name="digit3" ref="digit">
<bounds left="257.5" top="20" right="282.5" bottom="50" />
</bezel>
<bezel name="digit2" element="digit">
</element>
<element name="digit2" ref="digit">
<bounds left="315.5" top="20" right="340.5" bottom="50" />
</bezel>
<bezel name="digit1" element="digit">
</element>
<element name="digit1" ref="digit">
<bounds left="393.5" top="20" right="418.5" bottom="50" />
</bezel>
<bezel name="digit0" element="digit">
</element>
<element name="digit0" ref="digit">
<bounds left="451.5" top="20" right="476.5" bottom="50" />
</bezel>
</element>
</group>
<group name="keypad">
<bezel element="background">
<element ref="background">
<bounds x="0" y="0" width="7.1" height="6.70" />
</bezel>
</element>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></cpanel>
<element ref="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></element>
<cpanel element="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></cpanel>
<element ref="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></element>
<cpanel element="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></cpanel>
<element ref="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></element>
<cpanel element="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></cpanel>
<element ref="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></element>
<cpanel element="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></cpanel>
<element ref="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></element>
</group>
<view name="LED Displays, Terminal and Keypad" index="0">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="0"><bounds x="0" y="160" width="640" height="480" /></screen>
<view name="LED Displays, Terminal and Keypad">
<collection name="LED Displays">
<group ref="displays"><bounds x="240" y="0" width="320" height="47" /></group>
</collection>
<collection name="Keypad">
<group ref="keypad"><bounds x="650" y="57" width="148" height="140" /></group>
</collection>
<screen index="0"><bounds x="0" y="57" width="640" height="480" /></screen>
</view>
<view name="LED Displays, CRT and Keypad" index="1">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="1"><bounds x="0" y="160" width="640" height="480" /></screen>
<view name="LED Displays, CRT and Keypad">
<collection name="LED Displays">
<group ref="displays"><bounds x="240" y="0" width="320" height="47" /></group>
</collection>
<collection name="Keypad">
<group ref="keypad"><bounds x="650" y="57" width="148" height="140" /></group>
</collection>
<screen tag="screen"><bounds x="0" y="57" width="640" height="480" /></screen>
</view>
<view name="LED Displays and Keypad" index="2">
<view name="LED Displays and Keypad">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="112" y="57" width="171" height="161" /></group>
</view>
<view name="LED Displays" index="3">
<view name="LED Displays">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
</view>

View File

@ -218,82 +218,78 @@ license:CC0
<group name="displays">
<!-- Black background -->
<bezel element="background">
<element ref="background">
<bounds left="0" top="0" right="3485.0" bottom="738" />
</bezel>
<bezel name="digit5" element="digit">
</element>
<element name="digit5" ref="digit">
<bounds left="62.5" top="219" right="312.5" bottom="519" />
</bezel>
<bezel name="digit4" element="digit">
</element>
<element name="digit4" ref="digit">
<bounds left="562.5" top="219" right="812.5" bottom="519" />
</bezel>
<bezel name="digit3" element="digit">
</element>
<element name="digit3" ref="digit">
<bounds left="1062.5" top="219" right="1312.5" bottom="519" />
</bezel>
<bezel name="digit2" element="digit">
</element>
<element name="digit2" ref="digit">
<bounds left="1562.5" top="219" right="1812.5" bottom="519" />
</bezel>
<bezel name="digit1" element="digit">
</element>
<element name="digit1" ref="digit">
<bounds left="2672.5" top="219" right="2922.5" bottom="519" />
</bezel>
<bezel name="digit0" element="digit">
</element>
<element name="digit0" ref="digit">
<bounds left="3172." top="219" right="3422.5" bottom="519" />
</bezel>
</element>
</group>
<group name="keypad">
<bezel element="background">
<element ref="background">
<bounds x="0" y="0" width="7.1" height="6.70" />
</bezel>
</element>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></cpanel>
<element ref="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></element>
<element ref="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></element>
<cpanel element="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></cpanel>
<element ref="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></element>
<element ref="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></element>
<cpanel element="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></cpanel>
<element ref="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></element>
<element ref="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></element>
<cpanel element="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></cpanel>
<element ref="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></element>
<element ref="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></element>
<cpanel element="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></cpanel>
<element ref="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></element>
<element ref="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></element>
</group>
<view name="LED Displays and Keypad" index="0">
<view name="LED Displays and Keypad">
<group ref="displays"><bounds x="0" y="0" width="320" height="68" /></group>
<group ref="keypad"><bounds x="55" y="80" width="240" height="226" /></group>
</view>
<view name="LED Displays" index="1">
<view name="LED Displays">
<group ref="displays"><bounds x="0" y="0" width="320" height="68" /></group>
</view>
<view name="LED Displays, Terminal" index="2">
<view name="LED Displays, Terminal">
<group ref="displays"><bounds x="160" y="0" width="320" height="68" /></group>
<screen index="0"><bounds x="0" y="80" width="640" height="480" /></screen>
</view>
<view name="Terminal" index="3">
<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
</view>
</mamelayout>

View File

@ -30,8 +30,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -30,20 +30,20 @@ license:CC0
</view>
<view name="Diagnostic">
<backdrop element="background">
<element ref="background">
<bounds x="0" y="0" width="496" height="419" />
</backdrop>
</element>
<screen tag="screen">
<bounds left="0" top="0" right="496" bottom="384" />
</screen>
<screen tag="ioboard:screen">
<bounds left="8" top="392" right="129" bottom="411" />
</screen>
<cpanel name="led_comm_err" element="led_red">
<element name="led_comm_err" ref="led_red">
<bounds x="141" y="399" width="5" height="5" />
</cpanel>
<cpanel element="text_comm_err">
</element>
<element ref="text_comm_err">
<bounds x="145" y="398" width="40" height="7" />
</cpanel>
</element>
</view>
</mamelayout>

View File

@ -32,8 +32,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -38,8 +38,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

File diff suppressed because it is too large Load Diff

View File

@ -6,9 +6,8 @@ license:CC0
<!-- define elements -->
<element name="static_red"><rect><color red="1.0" green="0.2" blue="0.23" /></rect></element>
<element name="dark" defstate="0">
<element name="backlight" defstate="0">
<rect state="1"><color red="1.0" green="0.2" blue="0.23" /></rect>
<rect state="0"><color red="0" green="0" blue="0" /></rect>
</element>
@ -17,8 +16,6 @@ license:CC0
<view name="Internal Layout">
<screen index="0"><bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" /></screen>
<overlay element="static_red"><bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" /></overlay>
<bezel name="led" element="dark"><bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" /></bezel>
<element name="led" ref="backlight" blend="multiply"><bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" /></element>
</view>
</mamelayout>

View File

@ -34,8 +34,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -4,6 +4,8 @@ license:CC0
-->
<mamelayout version="2">
<element name="empty" />
<element name="overlay">
<rect>
<color red="0.25" green="0.5" blue="1" />
@ -104,93 +106,93 @@ license:CC0
<view name="Lamps and Color Overlay">
<bounds left="0" top="-90" right="400" bottom="300" />
<screen index="0">
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="400" bottom="300" />
</element>
<element name="EXP_LAMP_0" ref="explamp" blend="add">
<bounds x="20.1" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_1" ref="explamp" blend="add">
<bounds x="66.5" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_2" ref="explamp" blend="add">
<bounds x="112.9" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_3" ref="explamp" blend="add">
<bounds x="159.3" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_4" ref="explamp" blend="add">
<bounds x="205.7" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_5" ref="explamp" blend="add">
<bounds x="252.1" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_6" ref="explamp" blend="add">
<bounds x="298.5" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_7" ref="explamp" blend="add">
<bounds x="344.9" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_8" ref="explamp" blend="add">
<bounds x="20.1" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_9" ref="explamp" blend="add">
<bounds x="66.5" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_A" ref="explamp" blend="add">
<bounds x="112.9" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_B" ref="explamp" blend="add">
<bounds x="159.3" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_C" ref="explamp" blend="add">
<bounds x="205.7" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_D" ref="explamp" blend="add">
<bounds x="252.1" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_E" ref="explamp" blend="add">
<bounds x="298.5" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_F" ref="explamp" blend="add">
<bounds x="344.9" y="28.3" width="35" height="17.7" />
</element>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="400" bottom="300" />
</element>
</collection>
<element name="TORP_LAMP_4" ref="lamp_1">
<bounds x="117.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_3" ref="lamp_2">
<bounds x="162.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_2" ref="lamp_3">
<bounds x="207.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_1" ref="lamp_4">
<bounds x="252.5" y="-80" width="30" height="30" />
</element>
<collection name="Explosion Lamps">
<element name="EXP_LAMP_0" ref="explamp" blend="add">
<bounds x="20.1" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_1" ref="explamp" blend="add">
<bounds x="66.5" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_2" ref="explamp" blend="add">
<bounds x="112.9" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_3" ref="explamp" blend="add">
<bounds x="159.3" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_4" ref="explamp" blend="add">
<bounds x="205.7" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_5" ref="explamp" blend="add">
<bounds x="252.1" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_6" ref="explamp" blend="add">
<bounds x="298.5" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_7" ref="explamp" blend="add">
<bounds x="344.9" y="66.8" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_8" ref="explamp" blend="add">
<bounds x="20.1" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_9" ref="explamp" blend="add">
<bounds x="66.5" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_A" ref="explamp" blend="add">
<bounds x="112.9" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_B" ref="explamp" blend="add">
<bounds x="159.3" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_C" ref="explamp" blend="add">
<bounds x="205.7" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_D" ref="explamp" blend="add">
<bounds x="252.1" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_E" ref="explamp" blend="add">
<bounds x="298.5" y="28.3" width="35" height="17.7" />
</element>
<element name="EXP_LAMP_F" ref="explamp" blend="add">
<bounds x="344.9" y="28.3" width="35" height="17.7" />
</element>
</collection>
<element name="READY_LAMP" ref="lamp_ready">
<bounds x="117.5" y="-40" width="75" height="30" />
</element>
<element name="RELOAD_LAMP" ref="lamp_reload">
<bounds x="207.5" y="-40" width="75" height="30" />
</element>
<collection name="Torpedo Lamps">
<element ref="empty">
<bounds x="0" y="-90" width="400" height="90" />
</element>
</view>
<element name="TORP_LAMP_4" ref="lamp_1">
<bounds x="117.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_3" ref="lamp_2">
<bounds x="162.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_2" ref="lamp_3">
<bounds x="207.5" y="-80" width="30" height="30" />
</element>
<element name="TORP_LAMP_1" ref="lamp_4">
<bounds x="252.5" y="-80" width="30" height="30" />
</element>
<element name="READY_LAMP" ref="lamp_ready">
<bounds x="117.5" y="-40" width="75" height="30" />
</element>
<element name="RELOAD_LAMP" ref="lamp_reload">
<bounds x="207.5" y="-40" width="75" height="30" />
</element>
</collection>
<view name="Color Overlay">
<screen index="0">
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="400" bottom="300" />
</element>
</view>
</mamelayout>

View File

@ -18,12 +18,12 @@ license:CC0
</rect>
</element>
<view name="Color_Overlay">
<view name="Color Overlay">
<screen index="0">
<bounds x="0" y="0" width="3" height="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="3" height="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -22,8 +22,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -208,16 +208,14 @@ license:CC0
</element>
<view name="Color Overlay">
<bounds left="0" top="0" right="400" bottom="300" />
<screen index="0">
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="-100" y="-150" width="600" height="600" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -53,8 +53,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -61,16 +61,16 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay upright">
<element ref="overlay upright" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
<view name="Color Overlay Cocktail">
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay cocktail">
<element ref="overlay cocktail" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -50,62 +50,62 @@ Simple layout for Push-Over (Summit Coin)
</element>
<view name="Buttons">
<backdrop element="background">
<element ref="background">
<bounds x="0" y="0" width="600" height="800" />
</backdrop>
</element>
<screen index="0">
<bounds left="60" top="80" right="480" bottom="640" />
</screen>
<cpanel name="lamp_12" element="gamble">
<element name="lamp_12" ref="gamble">
<bounds x="10" y="20" width="70" height="35" />
</cpanel>
<cpanel name="lamp_3" element="cancel" inputtag="IN0" inputmask="0x01">
</element>
<element name="lamp_3" ref="cancel" inputtag="IN0" inputmask="0x01">
<bounds x="10" y="730" width="70" height="35" />
</cpanel>
<cpanel name="lamp_0" element="hold" inputtag="IN0" inputmask="0x08">
</element>
<element name="lamp_0" ref="hold" inputtag="IN0" inputmask="0x08">
<bounds x="90" y="730" width="70" height="35" />
</cpanel>
<cpanel name="lamp_1" element="hold" inputtag="IN0" inputmask="0x10">
</element>
<element name="lamp_1" ref="hold" inputtag="IN0" inputmask="0x10">
<bounds x="170" y="730" width="70" height="35" />
</cpanel>
<cpanel name="lamp_2" element="hold" inputtag="IN0" inputmask="0x20">
</element>
<element name="lamp_2" ref="hold" inputtag="IN0" inputmask="0x20">
<bounds x="250" y="730" width="70" height="35" />
</cpanel>
<cpanel name="lamp_8" element="start" inputtag="IN3" inputmask="0x01">
</element>
<element name="lamp_8" ref="start" inputtag="IN3" inputmask="0x01">
<bounds x="400" y="730" width="70" height="35" />
</cpanel>
<cpanel name="lamp_10" element="go">
</element>
<element name="lamp_10" ref="go">
<bounds x="550" y="600" width="40" height="35" />
</cpanel>
<cpanel name="lamp_4" element="red">
</element>
<element name="lamp_4" ref="red">
<bounds x="200" y="20" width="40" height="35" />
</cpanel>
<cpanel name="lamp_5" element="green">
</element>
<element name="lamp_5" ref="green">
<bounds x="250" y="20" width="40" height="35" />
</cpanel>
</element>
<!-- Might not be lamps -->
<cpanel name="lamp_6" element="green">
<element name="lamp_6" ref="green">
<bounds x="550" y="200" width="20" height="20" />
</cpanel>
<cpanel name="lamp_7" element="green">
</element>
<element name="lamp_7" ref="green">
<bounds x="550" y="230" width="20" height="20" />
</cpanel>
<cpanel name="lamp_9" element="green">
</element>
<element name="lamp_9" ref="green">
<bounds x="550" y="260" width="20" height="20" />
</cpanel>
<cpanel name="lamp_11" element="green">
</element>
<element name="lamp_11" ref="green">
<bounds x="550" y="290" width="20" height="20" />
</cpanel>
<cpanel name="lamp_13" element="green">
</element>
<element name="lamp_13" ref="green">
<bounds x="550" y="320" width="20" height="20" />
</cpanel>
<cpanel name="lamp_14" element="green">
</element>
<element name="lamp_14" ref="green">
<bounds x="550" y="350" width="20" height="20" />
</cpanel>
<cpanel name="lamp_15" element="green">
</element>
<element name="lamp_15" ref="green">
<bounds x="550" y="380" width="20" height="20" />
</cpanel>
</element>
</view>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -7,10 +7,13 @@ license:CC0
<!-- NOTE: highlight should be a bit star-shaped, not doable in MAME internal layout -->
<element name="highlight_explosion">
<rect><color red="1.0" green="1.0" blue="1.0" /></rect>
<disk><color red="0.875" green="1.0" blue="0.125" /></disk>
<rect><color red="1.0" green="1.0" blue="1.0" /></rect>
<disk><color red="0.875" green="1.0" blue="0.125" /></disk>
</element>
<element name="static_green">
<rect><color red="0.125" green="0.875" blue="0" /></rect>
</element>
<element name="static_green"><rect><color red="0.125" green="0.875" blue="0" /></rect></element>
<view name="Color Overlay">
@ -18,10 +21,9 @@ license:CC0
<bounds left="0" top="0" right="300" bottom="400" />
</screen>
<overlay element="highlight_explosion"><bounds x="117" y="167" width="66" height="66" /></overlay>
<overlay element="static_green"><bounds left="0" top="0" right="300" bottom="33" /></overlay>
<overlay element="static_green"><bounds left="0" top="367" right="300" bottom="400" /></overlay>
<element ref="highlight_explosion" blend="multiply"><bounds x="117" y="167" width="66" height="66" /></element>
<element ref="static_green" blend="multiply"><bounds left="0" top="0" right="300" bottom="33" /></element>
<element ref="static_green" blend="multiply"><bounds left="0" top="367" right="300" bottom="400" /></element>
</view>
</mamelayout>

View File

@ -14,8 +14,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -26,8 +26,8 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="3" bottom="4" />
</screen>
<overlay name="overlay" element="overlay">
<element name="overlay" ref="overlay" blend="multiply">
<bounds left="0" top="0" right="3" bottom="4" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -27,29 +27,29 @@ Simple layout for Trivia Madness
<text string="START"><color red="0.1" green="0.1" blue="0.1" /></text>
</element>
<view name="Buttons">
<backdrop element="background">
<element ref="background">
<bounds x="0" y="0" width="640" height="640" />
</backdrop>
</element>
<screen index="0">
<bounds left="0" top="0" right="640" bottom="480" />
</screen>
<cpanel name="0.0" element="button" inputtag="IN0" inputmask="0x01">
<element name="0.0" ref="button" inputtag="IN0" inputmask="0x01">
<bounds x="80" y="505" width="70" height="35" />
</cpanel>
<cpanel name="0.1" element="button" inputtag="IN0" inputmask="0x02">
</element>
<element name="0.1" ref="button" inputtag="IN0" inputmask="0x02">
<bounds x="180" y="505" width="70" height="35" />
</cpanel>
<cpanel name="0.2" element="button" inputtag="IN0" inputmask="0x04">
</element>
<element name="0.2" ref="button" inputtag="IN0" inputmask="0x04">
<bounds x="280" y="505" width="70" height="35" />
</cpanel>
<cpanel name="0.3" element="button" inputtag="IN0" inputmask="0x08">
</element>
<element name="0.3" ref="button" inputtag="IN0" inputmask="0x08">
<bounds x="380" y="505" width="70" height="35" />
</cpanel>
<cpanel name="0.4" element="button" inputtag="IN0" inputmask="0x10">
</element>
<element name="0.4" ref="button" inputtag="IN0" inputmask="0x10">
<bounds x="480" y="505" width="70" height="35" />
</cpanel>
<cpanel name="0.6" element="start" inputtag="IN0" inputmask="0x40">
</element>
<element name="0.6" ref="start" inputtag="IN0" inputmask="0x40">
<bounds x="250" y="565" width="130" height="35" />
</cpanel>
</element>
</view>
</mamelayout>

View File

@ -22,9 +22,9 @@ license:CC0
<screen index="0">
<bounds x="0" y="0" width="504" height="296" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="504" height="296" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -125,127 +125,131 @@ license:CC0
</element>
<group name="activity">
<cpanel element="backdrop"><bounds x="0" y="0" width="60" height="34" /></cpanel>
<element ref="backdrop"><bounds x="0" y="0" width="60" height="34" /></element>
<cpanel name="led_act_0" element="act_led"><bounds x="1" y="1" width="2" height="2" /></cpanel>
<cpanel name="led_act_1" element="act_led"><bounds x="1" y="4" width="2" height="2" /></cpanel>
<cpanel name="led_act_2" element="act_led"><bounds x="1" y="7" width="2" height="2" /></cpanel>
<cpanel name="led_act_3" element="act_led"><bounds x="1" y="10" width="2" height="2" /></cpanel>
<cpanel name="led_act_4" element="act_led"><bounds x="1" y="13" width="2" height="2" /></cpanel>
<cpanel name="led_act_5" element="act_led"><bounds x="1" y="16" width="2" height="2" /></cpanel>
<cpanel name="led_act_6" element="act_led"><bounds x="1" y="19" width="2" height="2" /></cpanel>
<cpanel name="led_act_7" element="act_led"><bounds x="1" y="22" width="2" height="2" /></cpanel>
<cpanel name="led_act_8" element="act_led"><bounds x="1" y="25" width="2" height="2" /></cpanel>
<cpanel name="led_act_9" element="act_led"><bounds x="1" y="28" width="2" height="2" /></cpanel>
<cpanel name="led_act_10" element="act_led"><bounds x="1" y="31" width="2" height="2" /></cpanel>
<element name="led_act_0" ref="act_led"><bounds x="1" y="1" width="2" height="2" /></element>
<element name="led_act_1" ref="act_led"><bounds x="1" y="4" width="2" height="2" /></element>
<element name="led_act_2" ref="act_led"><bounds x="1" y="7" width="2" height="2" /></element>
<element name="led_act_3" ref="act_led"><bounds x="1" y="10" width="2" height="2" /></element>
<element name="led_act_4" ref="act_led"><bounds x="1" y="13" width="2" height="2" /></element>
<element name="led_act_5" ref="act_led"><bounds x="1" y="16" width="2" height="2" /></element>
<element name="led_act_6" ref="act_led"><bounds x="1" y="19" width="2" height="2" /></element>
<element name="led_act_7" ref="act_led"><bounds x="1" y="22" width="2" height="2" /></element>
<element name="led_act_8" ref="act_led"><bounds x="1" y="25" width="2" height="2" /></element>
<element name="led_act_9" ref="act_led"><bounds x="1" y="28" width="2" height="2" /></element>
<element name="led_act_10" ref="act_led"><bounds x="1" y="31" width="2" height="2" /></element>
<cpanel name="led_act_11" element="act_led"><bounds x="16" y="1" width="2" height="2" /></cpanel>
<cpanel name="led_act_12" element="act_led"><bounds x="16" y="4" width="2" height="2" /></cpanel>
<cpanel name="led_act_13" element="act_led"><bounds x="16" y="7" width="2" height="2" /></cpanel>
<cpanel name="led_act_14" element="act_led"><bounds x="16" y="10" width="2" height="2" /></cpanel>
<cpanel name="led_act_15" element="act_led"><bounds x="16" y="13" width="2" height="2" /></cpanel>
<cpanel name="led_act_16" element="act_led"><bounds x="16" y="16" width="2" height="2" /></cpanel>
<cpanel name="led_act_17" element="act_led"><bounds x="16" y="19" width="2" height="2" /></cpanel>
<cpanel name="led_act_18" element="act_led"><bounds x="16" y="22" width="2" height="2" /></cpanel>
<cpanel name="led_act_19" element="act_led"><bounds x="16" y="25" width="2" height="2" /></cpanel>
<cpanel name="led_act_20" element="act_led"><bounds x="16" y="28" width="2" height="2" /></cpanel>
<cpanel name="led_act_21" element="act_led"><bounds x="16" y="31" width="2" height="2" /></cpanel>
<element name="led_act_11" ref="act_led"><bounds x="16" y="1" width="2" height="2" /></element>
<element name="led_act_12" ref="act_led"><bounds x="16" y="4" width="2" height="2" /></element>
<element name="led_act_13" ref="act_led"><bounds x="16" y="7" width="2" height="2" /></element>
<element name="led_act_14" ref="act_led"><bounds x="16" y="10" width="2" height="2" /></element>
<element name="led_act_15" ref="act_led"><bounds x="16" y="13" width="2" height="2" /></element>
<element name="led_act_16" ref="act_led"><bounds x="16" y="16" width="2" height="2" /></element>
<element name="led_act_17" ref="act_led"><bounds x="16" y="19" width="2" height="2" /></element>
<element name="led_act_18" ref="act_led"><bounds x="16" y="22" width="2" height="2" /></element>
<element name="led_act_19" ref="act_led"><bounds x="16" y="25" width="2" height="2" /></element>
<element name="led_act_20" ref="act_led"><bounds x="16" y="28" width="2" height="2" /></element>
<element name="led_act_21" ref="act_led"><bounds x="16" y="31" width="2" height="2" /></element>
<cpanel name="led_act_22" element="act_led"><bounds x="31" y="1" width="2" height="2" /></cpanel>
<cpanel name="led_act_23" element="act_led"><bounds x="31" y="4" width="2" height="2" /></cpanel>
<cpanel name="led_act_24" element="act_led"><bounds x="31" y="7" width="2" height="2" /></cpanel>
<cpanel name="led_act_25" element="act_led"><bounds x="31" y="10" width="2" height="2" /></cpanel>
<cpanel name="led_act_26" element="act_led"><bounds x="31" y="13" width="2" height="2" /></cpanel>
<cpanel name="led_act_27" element="act_led"><bounds x="31" y="16" width="2" height="2" /></cpanel>
<cpanel name="led_act_28" element="act_led"><bounds x="31" y="19" width="2" height="2" /></cpanel>
<cpanel name="led_act_29" element="act_led"><bounds x="31" y="22" width="2" height="2" /></cpanel>
<cpanel name="led_act_30" element="act_led"><bounds x="31" y="25" width="2" height="2" /></cpanel>
<cpanel name="led_act_31" element="act_led"><bounds x="31" y="28" width="2" height="2" /></cpanel>
<cpanel name="led_act_32" element="act_led"><bounds x="31" y="31" width="2" height="2" /></cpanel>
<element name="led_act_22" ref="act_led"><bounds x="31" y="1" width="2" height="2" /></element>
<element name="led_act_23" ref="act_led"><bounds x="31" y="4" width="2" height="2" /></element>
<element name="led_act_24" ref="act_led"><bounds x="31" y="7" width="2" height="2" /></element>
<element name="led_act_25" ref="act_led"><bounds x="31" y="10" width="2" height="2" /></element>
<element name="led_act_26" ref="act_led"><bounds x="31" y="13" width="2" height="2" /></element>
<element name="led_act_27" ref="act_led"><bounds x="31" y="16" width="2" height="2" /></element>
<element name="led_act_28" ref="act_led"><bounds x="31" y="19" width="2" height="2" /></element>
<element name="led_act_29" ref="act_led"><bounds x="31" y="22" width="2" height="2" /></element>
<element name="led_act_30" ref="act_led"><bounds x="31" y="25" width="2" height="2" /></element>
<element name="led_act_31" ref="act_led"><bounds x="31" y="28" width="2" height="2" /></element>
<element name="led_act_32" ref="act_led"><bounds x="31" y="31" width="2" height="2" /></element>
<cpanel name="led_act_33" element="act_led"><bounds x="46" y="1" width="2" height="2" /></cpanel>
<cpanel name="led_act_34" element="act_led"><bounds x="46" y="4" width="2" height="2" /></cpanel>
<cpanel name="led_act_35" element="act_led"><bounds x="46" y="7" width="2" height="2" /></cpanel>
<cpanel name="led_act_36" element="act_led"><bounds x="46" y="10" width="2" height="2" /></cpanel>
<cpanel name="led_act_37" element="act_led"><bounds x="46" y="13" width="2" height="2" /></cpanel>
<cpanel name="led_act_38" element="act_led"><bounds x="46" y="16" width="2" height="2" /></cpanel>
<cpanel name="led_act_39" element="act_led"><bounds x="46" y="19" width="2" height="2" /></cpanel>
<cpanel name="led_act_40" element="act_led"><bounds x="46" y="22" width="2" height="2" /></cpanel>
<element name="led_act_33" ref="act_led"><bounds x="46" y="1" width="2" height="2" /></element>
<element name="led_act_34" ref="act_led"><bounds x="46" y="4" width="2" height="2" /></element>
<element name="led_act_35" ref="act_led"><bounds x="46" y="7" width="2" height="2" /></element>
<element name="led_act_36" ref="act_led"><bounds x="46" y="10" width="2" height="2" /></element>
<element name="led_act_37" ref="act_led"><bounds x="46" y="13" width="2" height="2" /></element>
<element name="led_act_38" ref="act_led"><bounds x="46" y="16" width="2" height="2" /></element>
<element name="led_act_39" ref="act_led"><bounds x="46" y="19" width="2" height="2" /></element>
<element name="led_act_40" ref="act_led"><bounds x="46" y="22" width="2" height="2" /></element>
<cpanel element="act_label_sn76496"><bounds x="4" y="1.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2413"><bounds x="4" y="4.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2612"><bounds x="4" y="7.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2151"><bounds x="4" y="10.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_segapcm"><bounds x="4" y="13.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_rf5c68"><bounds x="4" y="16.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2203"><bounds x="4" y="19.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2608"><bounds x="4" y="22.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym2610"><bounds x="4" y="25.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym3812"><bounds x="4" y="28.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ym3526"><bounds x="4" y="31.2" width="10" height="1.6" /></cpanel>
<element ref="act_label_sn76496"><bounds x="4" y="1.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2413"><bounds x="4" y="4.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2612"><bounds x="4" y="7.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2151"><bounds x="4" y="10.2" width="10" height="1.6" /></element>
<element ref="act_label_segapcm"><bounds x="4" y="13.2" width="10" height="1.6" /></element>
<element ref="act_label_rf5c68"><bounds x="4" y="16.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2203"><bounds x="4" y="19.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2608"><bounds x="4" y="22.2" width="10" height="1.6" /></element>
<element ref="act_label_ym2610"><bounds x="4" y="25.2" width="10" height="1.6" /></element>
<element ref="act_label_ym3812"><bounds x="4" y="28.2" width="10" height="1.6" /></element>
<element ref="act_label_ym3526"><bounds x="4" y="31.2" width="10" height="1.6" /></element>
<cpanel element="act_label_y8950"><bounds x="19" y="1.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ymf262"><bounds x="19" y="4.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ymf278b"><bounds x="19" y="7.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ymf271"><bounds x="19" y="10.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ymz280b"><bounds x="19" y="13.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_rf5c164"><bounds x="19" y="16.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_pwm"><bounds x="19" y="19.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ay8910"><bounds x="19" y="22.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_gameboy"><bounds x="19" y="25.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_nesapu"><bounds x="19" y="28.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_multipcm"><bounds x="19" y="31.2" width="10" height="1.6" /></cpanel>
<element ref="act_label_y8950"><bounds x="19" y="1.2" width="10" height="1.6" /></element>
<element ref="act_label_ymf262"><bounds x="19" y="4.2" width="10" height="1.6" /></element>
<element ref="act_label_ymf278b"><bounds x="19" y="7.2" width="10" height="1.6" /></element>
<element ref="act_label_ymf271"><bounds x="19" y="10.2" width="10" height="1.6" /></element>
<element ref="act_label_ymz280b"><bounds x="19" y="13.2" width="10" height="1.6" /></element>
<element ref="act_label_rf5c164"><bounds x="19" y="16.2" width="10" height="1.6" /></element>
<element ref="act_label_pwm"><bounds x="19" y="19.2" width="10" height="1.6" /></element>
<element ref="act_label_ay8910"><bounds x="19" y="22.2" width="10" height="1.6" /></element>
<element ref="act_label_gameboy"><bounds x="19" y="25.2" width="10" height="1.6" /></element>
<element ref="act_label_nesapu"><bounds x="19" y="28.2" width="10" height="1.6" /></element>
<element ref="act_label_multipcm"><bounds x="19" y="31.2" width="10" height="1.6" /></element>
<cpanel element="act_label_upd7759"><bounds x="34" y="1.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_okim6258"><bounds x="34" y="4.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_okim6295"><bounds x="34" y="7.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_k051649"><bounds x="34" y="10.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_k054539"><bounds x="34" y="13.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_c6280"><bounds x="34" y="16.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_c140"><bounds x="34" y="19.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_k053260"><bounds x="34" y="22.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_pokey"><bounds x="34" y="25.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_qsound"><bounds x="34" y="28.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_scsp"><bounds x="34" y="31.2" width="10" height="1.6" /></cpanel>
<element ref="act_label_upd7759"><bounds x="34" y="1.2" width="10" height="1.6" /></element>
<element ref="act_label_okim6258"><bounds x="34" y="4.2" width="10" height="1.6" /></element>
<element ref="act_label_okim6295"><bounds x="34" y="7.2" width="10" height="1.6" /></element>
<element ref="act_label_k051649"><bounds x="34" y="10.2" width="10" height="1.6" /></element>
<element ref="act_label_k054539"><bounds x="34" y="13.2" width="10" height="1.6" /></element>
<element ref="act_label_c6280"><bounds x="34" y="16.2" width="10" height="1.6" /></element>
<element ref="act_label_c140"><bounds x="34" y="19.2" width="10" height="1.6" /></element>
<element ref="act_label_k053260"><bounds x="34" y="22.2" width="10" height="1.6" /></element>
<element ref="act_label_pokey"><bounds x="34" y="25.2" width="10" height="1.6" /></element>
<element ref="act_label_qsound"><bounds x="34" y="28.2" width="10" height="1.6" /></element>
<element ref="act_label_scsp"><bounds x="34" y="31.2" width="10" height="1.6" /></element>
<cpanel element="act_label_wswan"><bounds x="49" y="1.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_vsu_vue"><bounds x="49" y="4.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_saa1099"><bounds x="49" y="7.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_es5503"><bounds x="49" y="10.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_es5505"><bounds x="49" y="13.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_x1_010"><bounds x="49" y="16.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_c352"><bounds x="49" y="19.2" width="10" height="1.6" /></cpanel>
<cpanel element="act_label_ga20"><bounds x="49" y="22.2" width="10" height="1.6" /></cpanel>
<element ref="act_label_wswan"><bounds x="49" y="1.2" width="10" height="1.6" /></element>
<element ref="act_label_vsu_vue"><bounds x="49" y="4.2" width="10" height="1.6" /></element>
<element ref="act_label_saa1099"><bounds x="49" y="7.2" width="10" height="1.6" /></element>
<element ref="act_label_es5503"><bounds x="49" y="10.2" width="10" height="1.6" /></element>
<element ref="act_label_es5505"><bounds x="49" y="13.2" width="10" height="1.6" /></element>
<element ref="act_label_x1_010"><bounds x="49" y="16.2" width="10" height="1.6" /></element>
<element ref="act_label_c352"><bounds x="49" y="19.2" width="10" height="1.6" /></element>
<element ref="act_label_ga20"><bounds x="49" y="22.2" width="10" height="1.6" /></element>
</group>
<group name="lights">
<cpanel element="static_black2"><bounds x="0" y="4" width="11" height="5" /></cpanel>
<cpanel element="static_black2"><bounds x="12" y="4" width="11" height="5" /></cpanel>
<cpanel element="static_black2"><bounds x="24" y="4" width="11" height="5" /></cpanel>
<cpanel element="static_black2"><bounds x="36" y="4" width="11" height="5" /></cpanel>
<cpanel element="static_black2"><bounds x="48" y="4" width="11" height="5" /></cpanel>
<cpanel element="text_l1"><bounds x="0" y="5" width="11" height="3.5" /></cpanel>
<cpanel element="text_l2"><bounds x="12" y="5" width="11" height="3.5" /></cpanel>
<cpanel element="text_l3"><bounds x="24" y="5" width="11" height="3.5" /></cpanel>
<cpanel element="text_l4"><bounds x="36" y="5" width="11" height="3.5" /></cpanel>
<cpanel element="text_l5"><bounds x="48" y="5" width="11" height="3.5" /></cpanel>
<cpanel element="hl1" inputtag="CONTROLS" inputmask="0x0001"><bounds x="0" y="4" width="11" height="5" /><color alpha="0.15" /></cpanel>
<cpanel element="hl1" inputtag="CONTROLS" inputmask="0x0002"><bounds x="12" y="4" width="11" height="5" /><color alpha="0.15" /></cpanel>
<cpanel element="hl1" inputtag="CONTROLS" inputmask="0x0004"><bounds x="24" y="4" width="11" height="5" /><color alpha="0.15" /></cpanel>
<cpanel element="hl1" inputtag="CONTROLS" inputmask="0x0008"><bounds x="36" y="4" width="11" height="5" /><color alpha="0.15" /></cpanel>
<cpanel element="hl1" inputtag="CONTROLS" inputmask="0x0010"><bounds x="48" y="4" width="11" height="5" /><color alpha="0.15" /></cpanel>
<group ref="activity"><bounds x="0" y="21" width="60" height="34" /></group>
</group>
<view name="Full View">
<group ref="lights"><bounds x="0" y="0" width="60" height="55" /></group>
<screen index="0"><bounds x="60" y="0" width="60" height="55" /></screen>
</view>
<collection name="Controls">
<element ref="static_black2"><bounds x="0" y="4" width="11" height="5" /></element>
<element ref="static_black2"><bounds x="12" y="4" width="11" height="5" /></element>
<element ref="static_black2"><bounds x="24" y="4" width="11" height="5" /></element>
<element ref="static_black2"><bounds x="36" y="4" width="11" height="5" /></element>
<element ref="static_black2"><bounds x="48" y="4" width="11" height="5" /></element>
<view name="Lights + Controls">
<group ref="lights"><bounds x="0" y="0" width="60" height="55" /></group>
<element ref="text_l1"><bounds x="0" y="5" width="11" height="3.5" /></element>
<element ref="text_l2"><bounds x="12" y="5" width="11" height="3.5" /></element>
<element ref="text_l3"><bounds x="24" y="5" width="11" height="3.5" /></element>
<element ref="text_l4"><bounds x="36" y="5" width="11" height="3.5" /></element>
<element ref="text_l5"><bounds x="48" y="5" width="11" height="3.5" /></element>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0001"><bounds x="0" y="4" width="11" height="5" /><color alpha="0.15" /></element>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0002"><bounds x="12" y="4" width="11" height="5" /><color alpha="0.15" /></element>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0004"><bounds x="24" y="4" width="11" height="5" /><color alpha="0.15" /></element>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0008"><bounds x="36" y="4" width="11" height="5" /><color alpha="0.15" /></element>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0010"><bounds x="48" y="4" width="11" height="5" /><color alpha="0.15" /></element>
</collection>
<collection name="Activity Lights">
<group ref="activity"><bounds x="0" y="21" width="60" height="34" /></group>
</collection>
<collection name="Visualizer">
<screen index="0"><bounds x="60" y="0" width="60" height="55" /></screen>
<element ref="hl1" inputtag="CONTROLS" inputmask="0x0020"><bounds x="60" y="0" width="60" height="55" /><color alpha="0" /></element>
</collection>
</view>
</mamelayout>

View File

@ -110,28 +110,32 @@ license:CC0
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<overlay name="overlay" element="overlay">
<bounds left="0" top="0" right="4" bottom="3" />
</overlay>
<bezel name="lamp5" element="bet" inputtag="IN44" inputmask="0x10">
<bounds x="0.0" y="3.05" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp0" element="start" inputtag="IN42" inputmask="0x04">
<bounds x="0.4" y="3.05" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp1" element="card" inputtag="IN42" inputmask="0x08">
<bounds x="0.8" y="3.05" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp2" element="stop" inputtag="IN42" inputmask="0x10">
<bounds x="1.2" y="3.05" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp3" element="accept" inputtag="IN44" inputmask="0x40">
<bounds x="1.85" y="3.05" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="double" inputtag="IN44" inputmask="0x20">
<bounds x="2.25" y="3.05" width="0.35" height="0.24" />
</bezel>
<collection name="Overlay">
<element ref="overlay" blend="multiply">
<bounds left="0" top="0" right="4" bottom="3" />
</element>
</collection>
<collection name="Control Panel">
<element name="lamp5" ref="bet" inputtag="IN44" inputmask="0x10">
<bounds x="0.0" y="3.05" width="0.35" height="0.24" />
</element>
<element name="lamp0" ref="start" inputtag="IN42" inputmask="0x04">
<bounds x="0.4" y="3.05" width="0.35" height="0.24" />
</element>
<element name="lamp1" ref="card" inputtag="IN42" inputmask="0x08">
<bounds x="0.8" y="3.05" width="0.35" height="0.24" />
</element>
<element name="lamp2" ref="stop" inputtag="IN42" inputmask="0x10">
<bounds x="1.2" y="3.05" width="0.35" height="0.24" />
</element>
<element name="lamp3" ref="accept" inputtag="IN44" inputmask="0x40">
<bounds x="1.85" y="3.05" width="0.35" height="0.24" />
</element>
<element name="lamp4" ref="double" inputtag="IN44" inputmask="0x20">
<bounds x="2.25" y="3.05" width="0.35" height="0.24" />
</element>
</collection>
</view>
</mamelayout>

View File

@ -27,29 +27,29 @@ Simple layout for games running on Videos A A hardware
<text string="START"><color red="0.1" green="0.1" blue="0.1" /></text>
</element>
<view name="Buttons">
<backdrop element="background">
<element ref="background">
<bounds x="0" y="0" width="640" height="640" />
</backdrop>
</element>
<screen index="0">
<bounds left="0" top="0" right="640" bottom="480" />
</screen>
<cpanel name="lamp0" element="button" inputtag="in1" inputmask="0x01">
<element name="lamp0" ref="button" inputtag="in1" inputmask="0x01">
<bounds x="80" y="505" width="70" height="35" />
</cpanel>
<cpanel name="lamp1" element="button" inputtag="in1" inputmask="0x02">
</element>
<element name="lamp1" ref="button" inputtag="in1" inputmask="0x02">
<bounds x="180" y="505" width="70" height="35" />
</cpanel>
<cpanel name="lamp2" element="button" inputtag="in1" inputmask="0x04">
</element>
<element name="lamp2" ref="button" inputtag="in1" inputmask="0x04">
<bounds x="280" y="505" width="70" height="35" />
</cpanel>
<cpanel name="lamp3" element="button" inputtag="in1" inputmask="0x08">
</element>
<element name="lamp3" ref="button" inputtag="in1" inputmask="0x08">
<bounds x="380" y="505" width="70" height="35" />
</cpanel>
<cpanel name="lamp4" element="button" inputtag="in1" inputmask="0x10">
</element>
<element name="lamp4" ref="button" inputtag="in1" inputmask="0x10">
<bounds x="480" y="505" width="70" height="35" />
</cpanel>
<cpanel name="lamp5" element="start" inputtag="in1" inputmask="0x20">
</element>
<element name="lamp5" ref="start" inputtag="in1" inputmask="0x20">
<bounds x="250" y="565" width="130" height="35" />
</cpanel>
</element>
</view>
</mamelayout>

View File

@ -45,24 +45,24 @@ license:CC0
<color red="0" green="0" blue="0" />
</rect>
</element>
<view name="Color_Overlay">
<backdrop name="pit1" element="pit">
<view name="Backdrop">
<element ref="pit">
<bounds x="270" y="330" width="190" height="190" />
<color alpha=".8" />
</backdrop>
<backdrop name="pit2" element="pit">
</element>
<element ref="pit">
<bounds x="580" y="270" width="190" height="190" />
<color alpha=".8" />
</backdrop>
<backdrop name="p1start" element="p1start">
</element>
<element ref="p1start">
<bounds x="75" y="75" width="130" height="130" />
<color alpha=".4" />
</backdrop>
<backdrop name="p2start" element="p2start">
</element>
<element ref="p2start">
<bounds x="825" y="580" width="130" height="130" />
<color alpha=".4" />
</backdrop>
<screen index="0">
</element>
<screen index="0" blend="add">
<bounds x="0" y="0" width="1024" height="768" />
</screen>
</view>

View File

@ -61,9 +61,9 @@ license:CC0
<bounds left="0" top="0" right="400" bottom="300" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="-50" y="0" width="500" height="300" />
</overlay>
</element>
</view>
</mamelayout>

View File

@ -58,8 +58,8 @@ license:CC0
<screen index="0">
<bounds x="0" y="0" width="3" height="4" />
</screen>
<overlay element="overlay">
<element ref="overlay" blend="multiply">
<bounds x="0" y="0" width="3" height="4" />
</overlay>
</element>
</view>
</mamelayout>