summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/layout/hh_cop400_test.lay
blob: 92fb5825644bc8e0b6ce27c5de0cfd1248e3ec22 (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 -->

	<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>

	<element name="led" defstate="0">
		<disk state="0"><color red="0.0" green="0.0" blue="0.0" /></disk>
		<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
	</element>


<!-- build screen -->

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

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

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

	</view>
</mamelayout>