summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/chqflag.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/chqflag.lay')
-rw-r--r--src/mame/layout/chqflag.lay127
1 files changed, 81 insertions, 46 deletions
diff --git a/src/mame/layout/chqflag.lay b/src/mame/layout/chqflag.lay
index 7e1ba875b1f..e995dd325d9 100644
--- a/src/mame/layout/chqflag.lay
+++ b/src/mame/layout/chqflag.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,54 +54,86 @@ license:CC0
</disk>
</element>
- <view name="Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="446" y="574" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <view name="Shifter-L">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="2" y="574" width="32" height="64" />
- <color alpha="0.6" />
- </element>
- </view>
- <view name="Widescreen Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="496" y="574" width="32" height="64" />
- </element>
- </view>
- <view name="Widescreen Shifter-L">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="-48" y="574" width="32" height="64" />
- </element>
- </view>
- <view name="Vertical Widescreen Shifter-R">
- <screen index="0">
- <bounds x="0" y="0" width="480" height="640" />
- </screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="446" y="648" width="32" height="64" />
- </element>
- </view>
- <view name="Vertical Widescreen Shifter-L">
+
+<!-- build screen -->
+
+ <view name="Shifter">
<screen index="0">
<bounds x="0" y="0" width="480" height="640" />
</screen>
- <element ref="shifter" inputtag="IN2" inputmask="0x01">
- <bounds x="2" y="648" width="32" height="64" />
- </element>
+
+ <!-- shifter options -->
+ <collection name="Shifter-R Overlay" visible="yes">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="446" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="446" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen H" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="488" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="488" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-R Off-screen V" visible="no"><!-- TATE -->
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="446" y="648" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="446" y="648" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Overlay" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="2" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="2" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen H" visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="-40" y="574" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="-40" y="574" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
+
+ <collection name="Shifter-L Off-screen V" visible="no"><!-- TATE -->
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="2" y="648" width="32" height="64" />
+ <color alpha="0.6" />
+ </element>
+ <collection name="Opaque Shifter " visible="no">
+ <element ref="shifter" inputtag="IN2" inputmask="0x01">
+ <bounds x="2" y="648" width="32" height="64" />
+ </element>
+ </collection>
+ </collection>
</view>
+
</mamelayout>