summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/layout/sc2_vid.lay
blob: a028e84409583dc2e231dc966b2e324d1677134a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                     
    
               
   


                                   


                                                                  


                                                                  












                                                                       
                            
                                                                
                             

                  















                                                                                
                                  
                                                                       
                         















                                                                                                       
               

                                   

               
<?xml version="1.0"?>
<!--
license:CC0-1.0
-->
<mamelayout version="2">
	<element name="matrixlamp">
		<rect state ="0">
			<color red="0.7" green="0.7" blue="0.7" />
		</rect>
		<rect state ="1">
			<color red="0.0" green="0.0" blue="1.0" />
		</rect>
		<rect state ="2">
			<color red="0.0" green="1.0" blue="0.0" />
		</rect>
	</element>
	<element name="door0" defstate="1">
		<rect state="0">
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
		<text string="DOOR OPEN" state="0">
			<color red="1.0" green="1.0" blue="1.0" />
			<bounds x="0" y="0.1" width="1" height="0.8" />
		</text>
	</element>
	<element name="vfd0">
		<led14segsc>
			<color red="0" green="0.6" blue="1.0" />
		</led14segsc>
	</element>

	<group name="vfd">
		<repeat count="16">
			<param name="n" start="0" increment="1" />
			<param name="x" start="0" increment="9" />
			<element name="vfd~n~" ref="vfd0" state="0">
				<bounds x="~x~" y="0" width="9" height="14" />
			</element>
		</repeat>
	</group>

	<view name="Adder, VFD and Lamp Matrix">
		<collection name="VFD">
			<group ref="vfd">
				<bounds x="0" y="280" width="144" height="14" />
			</group>
		</collection>
		<screen index="0">
			<bounds x="0" y="0" width="400" height="280" />
		</screen>
		<element name="door" ref="door0">
			<bounds x="370" y="270" width="30" height="10" />
		</element>
		<collection name="Lamp Matrix">
			<repeat count="16">
				<param name="s" start="0" increment="16" />
				<param name="y" start="0" increment="8" />
				<repeat count="16">
					<param name="n" start="~s~" increment="1" />
					<param name="x" start="0" increment="8" />
					<element name="lamp~n~" ref="matrixlamp" state="0" blend="add">
						<bounds x="~x~" y="~y~" width="7" height="7"/>
					</element>
				</repeat>
			</repeat>
		</collection>
	</view>
	<view name="VFD Only">
		<group ref="vfd" />
	</view>
</mamelayout>