summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/sdk86.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/sdk86.lay')
-rw-r--r--src/mame/layout/sdk86.lay69
1 files changed, 20 insertions, 49 deletions
diff --git a/src/mame/layout/sdk86.lay b/src/mame/layout/sdk86.lay
index 8f6e757af1e..f535f45d1f1 100644
--- a/src/mame/layout/sdk86.lay
+++ b/src/mame/layout/sdk86.lay
@@ -1,7 +1,8 @@
<?xml version="1.0"?>
-<!-- sdk86.lay -->
-
-<!-- 2011-06-23: Initial version. [Robbbert] -->
+<!--
+license:CC0-1.0
+copyright-holders:Robbbert
+-->
<mamelayout version="2">
@@ -11,52 +12,22 @@
</led7seg>
</element>
- <element name="background">
- <rect>
- <bounds left="0" top="0" right="1" bottom="1" />
- <color red="0.0" green="0.0" blue="0.0" />
- </rect>
- </element>
-
- <view name="Default Layout">
-
- <!-- Background -->
- <backdrop element="background">
- <bounds left="0" top="0" right="362" bottom="69" />
- </backdrop>
-
- <!-- LEDs -->
- <bezel name="digit7" element="digit">
- <bounds left="10" top="10" right="44" bottom="59" />
- </bezel>
- <bezel name="digit6" element="digit">
- <bounds left="54" top="10" right="88" bottom="59" />
- </bezel>
- <bezel name="digit5" element="digit">
- <bounds left="98" top="10" right="132" bottom="59" />
- </bezel>
- <bezel name="digit4" element="digit">
- <bounds left="142" top="10" right="176" bottom="59" />
- </bezel>
- <bezel name="digit3" element="digit">
- <bounds left="186" top="10" right="220" bottom="59" />
- </bezel>
- <bezel name="digit2" element="digit">
- <bounds left="230" top="10" right="264" bottom="59" />
- </bezel>
- <bezel name="digit1" element="digit">
- <bounds left="274" top="10" right="308" bottom="59" />
- </bezel>
- <bezel name="digit0" element="digit">
- <bounds left="318" top="10" right="352" bottom="59" />
- </bezel>
-
- </view>
-
- <view name="Terminal">
- <screen index="0">
- <bounds left="0" top="0" right="4" bottom="3" />
- </screen>
+ <group name="leds">
+ <repeat count="8">
+ <param name="n" start="7" increment="-1" />
+ <param name="x" start="0" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="0" width="34" height="49" />
+ </element>
+ </repeat>
+ </group>
+
+ <view name="LED Displays">
+ <bounds left="0" top="0" right="362" bottom="69" />
+
+ <group ref="leds">
+ <bounds left="10" top="10" right="352" bottom="59" />
+ </group>
</view>
</mamelayout>