diff options
Diffstat (limited to 'src/mame/layout/dblaxle.lay')
-rw-r--r-- | src/mame/layout/dblaxle.lay | 87 |
1 files changed, 57 insertions, 30 deletions
diff --git a/src/mame/layout/dblaxle.lay b/src/mame/layout/dblaxle.lay index 0da0a093c2a..c102026af92 100644 --- a/src/mame/layout/dblaxle.lay +++ b/src/mame/layout/dblaxle.lay @@ -3,6 +3,9 @@ license:CC0 --> <mamelayout version="2"> + +<!-- define elements --> + <element name="shifter" defstate="0"> <rect> <bounds left="0" right="32" top="0" bottom="64" /> @@ -51,38 +54,62 @@ license:CC0 </disk> </element> - <view name="Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="640" height="480" /> - </screen> - <element ref="shifter" inputtag="IN0" inputmask="0x02"> - <bounds x="606" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Shifter-L"> - <screen index="0"> - <bounds x="0" y="0" width="640" height="480" /> - </screen> - <element ref="shifter" inputtag="IN0" inputmask="0x02"> - <bounds x="2" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Widescreen Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="640" height="480" /> - </screen> - <element ref="shifter" inputtag="IN0" inputmask="0x02"> - <bounds x="648" y="414" width="32" height="64" /> - </element> - </view> - <view name="Widescreen Shifter-L"> + +<!-- build screen --> + + <view name="Shifter"> <screen index="0"> <bounds x="0" y="0" width="640" height="480" /> </screen> - <element ref="shifter" inputtag="IN0" inputmask="0x02"> - <bounds x="-40" y="414" width="32" height="64" /> - </element> + + <!-- shifter options --> + <collection name="Shifter-R Overlay" visible="yes"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="606" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter" visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="606" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-R Off-screen" visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="648" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="648" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Overlay" visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="2" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="2" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Off-screen" visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="-40" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="IN0" inputmask="0x02"> + <bounds x="-40" y="414" width="32" height="64" /> + </element> + </collection> + </collection> </view> + </mamelayout> |