summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/de2a3.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/de2a3.lay')
-rw-r--r--src/mame/layout/de2a3.lay137
1 files changed, 27 insertions, 110 deletions
diff --git a/src/mame/layout/de2a3.lay b/src/mame/layout/de2a3.lay
index f94ea1ef186..c220a85aa70 100644
--- a/src/mame/layout/de2a3.lay
+++ b/src/mame/layout/de2a3.lay
@@ -13,132 +13,49 @@ Data East Alphanumeric Display Type 3
<color red="1.0" green="0.0" blue="0.0" />
</led14segsc>
</element>
- <element name="ldigit" defstate="0">
- <led7seg>
- <color red="1.0" green="0.0" blue="0.0" />
- </led7seg>
- </element>
- <element name="diagled" defstate="0">
- <disk>
- <color red="1.0" green="0.0" blue="0.0" />
- </disk>
- </element>
<element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P4"><text string="Player 2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
- <view name="Default Layout">
+ <group name="score">
+ <repeat count="8">
+ <param name="n" start="~s~" increment="1" />
+ <param name="x" start="0" increment="24" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="24" height="39" />
+ </element>
+ </repeat>
+ </group>
- <!-- Background -->
- <bounds left="0" top="20" right="318" bottom="394" />
+ <view name="Default Layout">
+ <bounds left="0" top="20" right="400" bottom="149" />
<!-- LEDs -->
<!-- Player 1 Score -->
-
- <element name="digit0" ref="digit">
- <bounds left="10" top="45" right="30" bottom="84" />
- </element>
- <element name="digit1" ref="digit">
- <bounds left="34" top="45" right="54" bottom="84" />
- </element>
- <element name="digit2" ref="digit">
- <bounds left="58" top="45" right="78" bottom="84" />
- </element>
- <element name="digit3" ref="digit">
- <bounds left="82" top="45" right="102" bottom="84" />
- </element>
- <element name="digit4" ref="digit">
- <bounds left="106" top="45" right="126" bottom="84" />
- </element>
- <element name="digit5" ref="digit">
- <bounds left="130" top="45" right="150" bottom="84" />
- </element>
- <element name="digit6" ref="digit">
- <bounds left="154" top="45" right="174" bottom="84" />
- </element>
- <element name="digit7" ref="digit">
- <bounds left="178" top="45" right="198" bottom="84" />
- </element>
+ <param name="s" value="0" />
+ <group ref="score">
+ <bounds left="10" top="45" right="198" bottom="84" />
+ </group>
<!-- Player 2 Score -->
- <element name="digit8" ref="digit">
- <bounds left="202" top="45" right="222" bottom="84" />
- </element>
- <element name="digit9" ref="digit">
- <bounds left="226" top="45" right="246" bottom="84" />
- </element>
- <element name="digit10" ref="digit">
- <bounds left="250" top="45" right="270" bottom="84" />
- </element>
- <element name="digit11" ref="digit">
- <bounds left="274" top="45" right="294" bottom="84" />
- </element>
- <element name="digit12" ref="digit">
- <bounds left="298" top="45" right="318" bottom="84" />
- </element>
- <element name="digit13" ref="digit">
- <bounds left="322" top="45" right="342" bottom="84" />
- </element>
- <element name="digit14" ref="digit">
- <bounds left="346" top="45" right="366" bottom="84" />
- </element>
- <element name="digit15" ref="digit">
- <bounds left="370" top="45" right="390" bottom="84" />
- </element>
+ <param name="s" value="8" />
+ <group ref="score">
+ <bounds left="202" top="45" right="390" bottom="84" />
+ </group>
<!-- Player 3 Score -->
- <element name="digit16" ref="digit">
- <bounds left="10" top="100" right="30" bottom="139" />
- </element>
- <element name="digit17" ref="digit">
- <bounds left="34" top="100" right="54" bottom="139" />
- </element>
- <element name="digit18" ref="digit">
- <bounds left="58" top="100" right="78" bottom="139" />
- </element>
- <element name="digit19" ref="digit">
- <bounds left="82" top="100" right="102" bottom="139" />
- </element>
- <element name="digit20" ref="digit">
- <bounds left="106" top="100" right="126" bottom="139" />
- </element>
- <element name="digit21" ref="digit">
- <bounds left="130" top="100" right="150" bottom="139" />
- </element>
- <element name="digit22" ref="digit">
- <bounds left="154" top="100" right="174" bottom="139" />
- </element>
- <element name="digit23" ref="digit">
- <bounds left="178" top="100" right="198" bottom="139" />
- </element>
+ <param name="s" value="16" />
+ <group ref="score">
+ <bounds left="10" top="100" right="198" bottom="139" />
+ </group>
<!-- Player 4 Score -->
- <element name="digit24" ref="digit">
- <bounds left="202" top="100" right="222" bottom="139" />
- </element>
- <element name="digit25" ref="digit">
- <bounds left="226" top="100" right="246" bottom="139" />
- </element>
- <element name="digit26" ref="digit">
- <bounds left="250" top="100" right="270" bottom="139" />
- </element>
- <element name="digit27" ref="digit">
- <bounds left="274" top="100" right="294" bottom="139" />
- </element>
- <element name="digit28" ref="digit">
- <bounds left="298" top="100" right="318" bottom="139" />
- </element>
- <element name="digit29" ref="digit">
- <bounds left="322" top="100" right="342" bottom="139" />
- </element>
- <element name="digit30" ref="digit">
- <bounds left="346" top="100" right="366" bottom="139" />
- </element>
- <element name="digit31" ref="digit">
- <bounds left="370" top="100" right="390" bottom="139" />
- </element>
+ <param name="s" value="24" />
+ <group ref="score">
+ <bounds left="202" top="100" right="390" bottom="139" />
+ </group>
<element ref="P3"><bounds left="10" right="174" top="30" bottom="42" /></element>
<element ref="P4"><bounds left="190" right="354" top="30" bottom="42" /></element>