summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/instruct.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/instruct.lay')
-rw-r--r--src/mame/layout/instruct.lay78
1 files changed, 15 insertions, 63 deletions
diff --git a/src/mame/layout/instruct.lay b/src/mame/layout/instruct.lay
index 0d9d61c56cf..308287bf402 100644
--- a/src/mame/layout/instruct.lay
+++ b/src/mame/layout/instruct.lay
@@ -17,71 +17,23 @@ copyright-holders:Robbbert
</disk>
</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="135" />
- </backdrop>
+ <bounds left="0" top="0" right="362" bottom="135" />
<!-- LEDs -->
- <bezel name="digit0" element="digit">
- <bounds left="10" top="10" right="44" bottom="59" />
- </bezel>
- <bezel name="digit1" element="digit">
- <bounds left="54" top="10" right="88" bottom="59" />
- </bezel>
- <bezel name="digit2" element="digit">
- <bounds left="98" top="10" right="132" bottom="59" />
- </bezel>
- <bezel name="digit3" element="digit">
- <bounds left="142" top="10" right="176" bottom="59" />
- </bezel>
- <bezel name="digit4" element="digit">
- <bounds left="186" top="10" right="220" bottom="59" />
- </bezel>
- <bezel name="digit5" element="digit">
- <bounds left="230" top="10" right="264" bottom="59" />
- </bezel>
- <bezel name="digit6" element="digit">
- <bounds left="274" top="10" right="308" bottom="59" />
- </bezel>
- <bezel name="digit7" element="digit">
- <bounds left="318" top="10" right="352" bottom="59" />
- </bezel>
- <bezel name="led0" element="red_led">
- <bounds left="20" right="35" top="80" bottom="95" />
- </bezel>
- <bezel name="led1" element="red_led">
- <bounds left="64" right="79" top="80" bottom="95" />
- </bezel>
- <bezel name="led2" element="red_led">
- <bounds left="108" right="123" top="80" bottom="95" />
- </bezel>
- <bezel name="led3" element="red_led">
- <bounds left="152" right="167" top="80" bottom="95" />
- </bezel>
- <bezel name="led4" element="red_led">
- <bounds left="196" right="211" top="80" bottom="95" />
- </bezel>
- <bezel name="led5" element="red_led">
- <bounds left="240" right="255" top="80" bottom="95" />
- </bezel>
- <bezel name="led6" element="red_led">
- <bounds left="284" right="299" top="80" bottom="95" />
- </bezel>
- <bezel name="led7" element="red_led">
- <bounds left="328" right="343" top="80" bottom="95" />
- </bezel>
- <bezel name="led8" element="red_led">
- <bounds left="20" right="35" top="110" bottom="125" />
- </bezel>
+ <repeat count="8">
+ <param name="n" start="0" increment="1" />
+ <param name="x" start="10" increment="44" />
+ <element name="digit~n~" ref="digit">
+ <bounds x="~x~" y="10" width="34" height="49" />
+ </element>
+ </repeat>
+ <repeat count="8">
+ <param name="n" start="0" increment="1" />
+ <param name="x" start="20" increment="44" />
+ <element name="led~n~" ref="red_led">
+ <bounds x="~x~" width="15" y="80" height="15" />
+ </element>
+ </repeat>
</view>
</mamelayout>