diff options
Diffstat (limited to 'src/mame/layout/mchess.lay')
-rw-r--r-- | src/mame/layout/mchess.lay | 160 |
1 files changed, 83 insertions, 77 deletions
diff --git a/src/mame/layout/mchess.lay b/src/mame/layout/mchess.lay index bcbeb011f48..aac18738a07 100644 --- a/src/mame/layout/mchess.lay +++ b/src/mame/layout/mchess.lay @@ -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> + <collection name="Bezel"> + <element ref="cb_border"><bounds left="-3" right="83" top="-3" bottom="91.434" /></element> + </collection> + <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> - - <repeat count="4"> - <param name="left" start="0" increment="20" /> - <param name="right" start="10" increment="20" /> + + <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> - - <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> - - <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> - - <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> - - <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> - - <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> - - <bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="25.5" y="29" width="7" height="5" /><color alpha="0.25" /></bezel> - - <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="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> + + <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> + + <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> + + <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> + + <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> + + <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> + + <element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="25.5" y="29" width="7" height="5" /><color alpha="0.25" /></element> + + <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)"> |