summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/snmath.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/snmath.lay')
-rw-r--r--src/mame/layout/snmath.lay68
1 files changed, 36 insertions, 32 deletions
diff --git a/src/mame/layout/snmath.lay b/src/mame/layout/snmath.lay
index dd314e6f11e..b85578a1d58 100644
--- a/src/mame/layout/snmath.lay
+++ b/src/mame/layout/snmath.lay
@@ -1,14 +1,18 @@
<?xml version="1.0"?>
+<!--
+license:CC0-1.0
+authors:hap
+-->
<mamelayout version="2">
-<!-- define elements -->
+ <!-- define elements -->
<element name="digit" defstate="0">
<led14seg><color red="0.2" green="1.0" blue="0.85" /></led14seg>
</element>
-<!-- add our own for DP(display point) and the CT(comma tail) segments -->
-<!-- MAME led16segsc won't do, since this one has them on the left side -->
+ <!-- add our own for DP(display point) and the CT(comma tail) segments -->
+ <!-- MAME led16segsc won't do, since this one has them on the left side -->
<element name="lamp_dp" defstate="0">
<disk state="0"><color red="0.0235" green="0.1255" blue="0.1059" /></disk>
@@ -20,48 +24,48 @@
</element>
-<!-- build screen -->
+ <!-- build screen -->
<view name="Internal Layout">
<bounds left="-1.5" right="99" top="0" bottom="15" />
- <!-- 9 digits -->
+ <!-- 9 digits -->
- <bezel name="digit0" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel>
- <bezel name="0.14" element="lamp_dp"><bounds x="-1.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="0.15" element="lamp_ct"><bounds x="-0.8" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit0" ref="digit"><bounds x="0" y="0" width="10" height="15" /></element>
+ <element name="0.14" ref="lamp_dp"><bounds x="-1.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="0.15" ref="lamp_ct"><bounds x="-0.8" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit1" element="digit"><bounds x="11" y="0" width="10" height="15" /></bezel>
- <bezel name="1.14" element="lamp_dp"><bounds x="9.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="1.15" element="lamp_ct"><bounds x="10.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit1" ref="digit"><bounds x="11" y="0" width="10" height="15" /></element>
+ <element name="1.14" ref="lamp_dp"><bounds x="9.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="1.15" ref="lamp_ct"><bounds x="10.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit2" element="digit"><bounds x="22" y="0" width="10" height="15" /></bezel>
- <bezel name="2.14" element="lamp_dp"><bounds x="20.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="2.15" element="lamp_ct"><bounds x="21.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit2" ref="digit"><bounds x="22" y="0" width="10" height="15" /></element>
+ <element name="2.14" ref="lamp_dp"><bounds x="20.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="2.15" ref="lamp_ct"><bounds x="21.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit3" element="digit"><bounds x="33" y="0" width="10" height="15" /></bezel>
- <bezel name="3.14" element="lamp_dp"><bounds x="31.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="3.15" element="lamp_ct"><bounds x="32.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit3" ref="digit"><bounds x="33" y="0" width="10" height="15" /></element>
+ <element name="3.14" ref="lamp_dp"><bounds x="31.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="3.15" ref="lamp_ct"><bounds x="32.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit4" element="digit"><bounds x="44" y="0" width="10" height="15" /></bezel>
- <bezel name="4.14" element="lamp_dp"><bounds x="42.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="4.15" element="lamp_ct"><bounds x="43.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit4" ref="digit"><bounds x="44" y="0" width="10" height="15" /></element>
+ <element name="4.14" ref="lamp_dp"><bounds x="42.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="4.15" ref="lamp_ct"><bounds x="43.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit5" element="digit"><bounds x="55" y="0" width="10" height="15" /></bezel>
- <bezel name="5.14" element="lamp_dp"><bounds x="53.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="5.15" element="lamp_ct"><bounds x="54.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit5" ref="digit"><bounds x="55" y="0" width="10" height="15" /></element>
+ <element name="5.14" ref="lamp_dp"><bounds x="53.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="5.15" ref="lamp_ct"><bounds x="54.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit6" element="digit"><bounds x="66" y="0" width="10" height="15" /></bezel>
- <bezel name="6.14" element="lamp_dp"><bounds x="64.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="6.15" element="lamp_ct"><bounds x="65.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit6" ref="digit"><bounds x="66" y="0" width="10" height="15" /></element>
+ <element name="6.14" ref="lamp_dp"><bounds x="64.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="6.15" ref="lamp_ct"><bounds x="65.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit7" element="digit"><bounds x="77" y="0" width="10" height="15" /></bezel>
- <bezel name="7.14" element="lamp_dp"><bounds x="75.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="7.15" element="lamp_ct"><bounds x="76.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit7" ref="digit"><bounds x="77" y="0" width="10" height="15" /></element>
+ <element name="7.14" ref="lamp_dp"><bounds x="75.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="7.15" ref="lamp_ct"><bounds x="76.2" y="13.5" width="0.75" height="1.5" /></element>
- <bezel name="digit8" element="digit"><bounds x="88" y="0" width="10" height="15" /></bezel>
- <bezel name="8.14" element="lamp_dp"><bounds x="86.5" y="11" width="1.5" height="1.5" /></bezel>
- <bezel name="8.15" element="lamp_ct"><bounds x="87.2" y="13.5" width="0.75" height="1.5" /></bezel>
+ <element name="digit8" ref="digit"><bounds x="88" y="0" width="10" height="15" /></element>
+ <element name="8.14" ref="lamp_dp"><bounds x="86.5" y="11" width="1.5" height="1.5" /></element>
+ <element name="8.15" ref="lamp_ct"><bounds x="87.2" y="13.5" width="0.75" height="1.5" /></element>
</view>
</mamelayout>