diff options
Diffstat (limited to 'src/mame/layout/funjacks.lay')
-rw-r--r-- | src/mame/layout/funjacks.lay | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/src/mame/layout/funjacks.lay b/src/mame/layout/funjacks.lay index db935ac2e09..687e40b7f14 100644 --- a/src/mame/layout/funjacks.lay +++ b/src/mame/layout/funjacks.lay @@ -6,8 +6,6 @@ license:CC0 <!-- define elements --> - <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element> - <element name="led" defstate="0"> <disk state="0"><color red="0.2" green="0.05" blue="0.06" /></disk> <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk> @@ -22,32 +20,37 @@ license:CC0 <disk state="1"><color red="0.25" green="0.25" blue="0.25" /></disk> </element> + <element name="switch" defstate="1"> + <rect><color red="0.12" green="0.12" blue="0.12" /></rect> + <text state="1" string="1" align="1"><color red="0.4" green="0.4" blue="0.42" /></text> + <text state="0" string="2" align="2"><color red="0.4" green="0.4" blue="0.42" /></text> + </element> + <!-- build screen --> <view name="Internal Layout"> <bounds left="0" right="11" top="0" bottom="11" /> - <element ref="static_black"> - <bounds left="0" right="11" top="0" bottom="11" /> - </element> - - <element name="3.0" ref="led"><bounds x="0.2" y="0.2" width="1" height="1" /></element> - <element name="3.1" ref="led"><bounds x="9.8" y="0.2" width="1" height="1" /></element> - <element name="2.1" ref="led"><bounds x="4" y="2" width="1" height="1" /></element> - <element name="2.0" ref="led"><bounds x="6" y="2" width="1" height="1" /></element> - <element name="1.0" ref="led"><bounds x="3" y="4" width="1" height="1" /></element> - <element name="0.0" ref="led"><bounds x="7" y="4" width="1" height="1" /></element> - <element name="1.1" ref="led"><bounds x="4" y="6" width="1" height="1" /></element> - <element name="0.1" ref="led"><bounds x="6" y="6" width="1" height="1" /></element> - - <element ref="butr" inputtag="IN.2" inputmask="0x10"><bounds x="3.3" y="0.4" width="1.2" height="1.2" /></element> - <element ref="butr" inputtag="IN.2" inputmask="0x20"><bounds x="6.5" y="0.4" width="1.2" height="1.2" /></element> - <element ref="butr" inputtag="IN.1" inputmask="0x20"><bounds x="1.3" y="3.9" width="1.2" height="1.2" /></element> - <element ref="butr" inputtag="IN.0" inputmask="0x20"><bounds x="8.5" y="3.9" width="1.2" height="1.2" /></element> - <element ref="butr" inputtag="IN.1" inputmask="0x10"><bounds x="3.3" y="7.4" width="1.2" height="1.2" /></element> - <element ref="butr" inputtag="IN.0" inputmask="0x10"><bounds x="6.5" y="7.4" width="1.2" height="1.2" /></element> + + <element name="3.1" ref="led"><bounds x="0.2" y="0.2" width="1" height="1" /></element> + <element name="3.0" ref="led"><bounds x="9.8" y="0.2" width="1" height="1" /></element> + <element name="2.0" ref="led"><bounds x="4" y="2" width="1" height="1" /></element> + <element name="2.1" ref="led"><bounds x="6" y="2" width="1" height="1" /></element> + <element name="1.1" ref="led"><bounds x="3" y="4" width="1" height="1" /></element> + <element name="0.1" ref="led"><bounds x="7" y="4" width="1" height="1" /></element> + <element name="1.0" ref="led"><bounds x="4" y="6" width="1" height="1" /></element> + <element name="0.0" ref="led"><bounds x="6" y="6" width="1" height="1" /></element> + + <element ref="butr" inputtag="IN.2" inputmask="0x20"><bounds x="3.3" y="0.4" width="1.2" height="1.2" /></element> + <element ref="butr" inputtag="IN.2" inputmask="0x10"><bounds x="6.5" y="0.4" width="1.2" height="1.2" /></element> + <element ref="butr" inputtag="IN.1" inputmask="0x10"><bounds x="1.3" y="3.9" width="1.2" height="1.2" /></element> + <element ref="butr" inputtag="IN.0" inputmask="0x10"><bounds x="8.5" y="3.9" width="1.2" height="1.2" /></element> + <element ref="butr" inputtag="IN.1" inputmask="0x20"><bounds x="3.3" y="7.4" width="1.2" height="1.2" /></element> + <element ref="butr" inputtag="IN.0" inputmask="0x20"><bounds x="6.5" y="7.4" width="1.2" height="1.2" /></element> <element ref="butd" inputtag="IN.3" inputmask="0x04"><bounds x="4.8" y="9.2" width="1.4" height="1.4" /></element> + <element ref="switch" inputtag="IN.3" inputmask="0x08" inputraw="yes"><bounds x="8.5" y="10.0" width="1.2" height="0.6" /></element> + </view> </mamelayout> |