summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/layout/hh_sm510_test.lay
blob: e20476c845abef3b9f0b2b168b6a20d2543cf202 (plain) (tree)
1
2
3
4
5
6
7
8
                     
    
               
           
   

                        
                        



                                                                                                                               

                                                                                           
                                                                                       


                  
                     

                                 
                                                                  
                                            
                                                                          
                          
 
                                          






                                                                          
                                                                                                                                 





                                                                          
                                                                                                                                 





                                                                           
                                                                                                                                 





                                                                           
                                                                                                                                 

                                 


               
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">

<!-- define elements -->

	<!-- not really black, and not really leds either, but let's just keep the same naming as the other hh test layouts -->
	<element name="static_black"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element>

	<element name="led" defstate="0">
		<disk state="0"><color red="0.5412" green="0.57255" blue="0.5804" /></disk>
		<disk state="1"><color red="0.361" green="0.326" blue="0.346" /></disk>
	</element>


<!-- build screen -->

	<view name="Test Layout">
		<bounds left="0" right="20" top="0" bottom="16" />
		<element ref="static_black">
			<bounds left="0" right="20" top="0" bottom="16" />
		</element>

		<!-- max 4*16*4 matrix -->
		<repeat count="16">
			<param name="y" start="0" increment="1" />

			<!-- a -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="0" increment="1" />
				<element name="0.~y~.~x~" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
			</repeat>

			<!-- b -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="5" increment="1" />
				<element name="1.~y~.~x~" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
			</repeat>

			<!-- bs -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="10" increment="1" />
				<element name="2.~y~.~x~" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
			</repeat>

			<!-- c -->
			<repeat count="4">
				<param name="x" start="0" increment="1" />
				<param name="p" start="15" increment="1" />
				<element name="3.~y~.~x~" ref="led"><bounds x="~p~" y="~y~" width="0.5" height="0.5" /></element>
			</repeat>
		</repeat>

	</view>
</mamelayout>