diff options
Diffstat (limited to 'src/mame/layout/tx1.lay')
-rw-r--r-- | src/mame/layout/tx1.lay | 138 |
1 files changed, 104 insertions, 34 deletions
diff --git a/src/mame/layout/tx1.lay b/src/mame/layout/tx1.lay index cd5b9339000..c32cd7ca432 100644 --- a/src/mame/layout/tx1.lay +++ b/src/mame/layout/tx1.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,23 +54,10 @@ license:CC0 </disk> </element> - <view name="Triple-Screen Shifter-R"> - <screen index="0"> - <bounds x="0" y="0" width="640" height="480" /> - </screen> - <screen index="1"> - <bounds x="640" y="0" width="640" height="480" /> - </screen> - <screen index="2"> - <bounds x="1280" y="0" width="640" height="480" /> - </screen> - <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> - <bounds x="1886" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Triple-Screen Shifter-L"> +<!-- build screen --> + + <view name="Triple-Screen"> <screen index="0"> <bounds x="0" y="0" width="640" height="480" /> </screen> @@ -78,29 +68,109 @@ license:CC0 <bounds x="1280" y="0" width="640" height="480" /> </screen> - <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> - <bounds x="2" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> - </view> - <view name="Single-Screen Shifter-R"> - <screen index="1"> - <bounds x="0" y="0" width="640" height="480" /> - </screen> + <!-- shifter options --> + <collection name="Shifter-R Overlay" visible="yes"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="1886" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="1886" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-R Off-screen" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="1928" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="1928" y="414" width="32" height="64" /> + </element> + </collection> + </collection> - <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> - <bounds x="606" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> + <collection name="Shifter-L Overlay" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="2" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="2" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Off-screen" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="-40" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="-40" y="414" width="32" height="64" /> + </element> + </collection> + </collection> </view> - <view name="Single-Screen Shifter-L"> + + <view name="Single-Screen"> <screen index="1"> <bounds x="0" y="0" width="640" height="480" /> </screen> - <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> - <bounds x="2" y="414" width="32" height="64" /> - <color alpha="0.6" /> - </element> + <!-- shifter options --> + <collection name="Shifter-R Overlay" visible="yes"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="606" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="606" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-R Off-screen" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="648" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="648" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Overlay" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="2" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="2" y="414" width="32" height="64" /> + </element> + </collection> + </collection> + + <collection name="Shifter-L Off-screen" visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="-40" y="414" width="32" height="64" /> + <color alpha="0.6" /> + </element> + <collection name="Opaque Shifter " visible="no"> + <element ref="shifter" inputtag="soundbrd:PPI_PORTC" inputmask="0x08"> + <bounds x="-40" y="414" width="32" height="64" /> + </element> + </collection> + </collection> </view> + </mamelayout> |