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





                                                                                                  

                                                                                                  






















                                                                                    
                                                                  


                                                                       
                                                                  


                                                                   
                                                                  








                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  








                                                                   
                                                                  


                                                                       
                                                                  


                                                                   
                                                                  








                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  








                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  








                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  


                                                                   
                                                                  


                       



























                                                                                                                         

















                                                                                                              















                                                                                                  





                                                      
 





                                                       

                                        





                                                                                   
 





                                                                                   





                                                             






































































                                                                                               





                                                                   
















                                                                                                                                                                       












                                                                                                                        

                                                                                                                     

                                                                                                                     
                                                                                                                      
                                                                                                                    





                                                                                                                          




                                                                    







                                                                    




                                                                                               

                              


                                                                                                
 

                                                                                                    
 

                                                                                                                                                          

                              




























                                                                                                                                                          

                             


                                                                                                              
 


                                                                                                                                                         

                             

















                                                                                                                                                           


                
                
 
                              






                                                                                                                





                                                                                                
 
                              


















































                                                                                                       

                                                                                                 



























                                                                                                                                                     



































































                                                                                                        


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

<!-- define elements -->

	<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="black"><rect><color red="0.21" green="0.17" blue="0.17" /></rect></element>
	<element name="whited"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
	<element name="gold"><rect><color red="0.8" green="0.7" blue="0.5" /></rect></element>

	<element name="digit" defstate="0">
		<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
	</element>

	<element name="led" defstate="0">
		<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
		<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
	</element>

	<element name="hl" defstate="0">
		<text string=" "/>
		<rect state="1"><color red="1" green="1" blue="1" /></rect>
	</element>

	<!-- chess symbols are in 7seg style -->
	<element name="piece_1">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="2.5" width="1" height="2.5" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="2.5" width="1" height="2.5" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>
	<element name="piece_2">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="0" width="1" height="3" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="2" width="1" height="3" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="2" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>
	<element name="piece_3">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="0" width="1" height="6" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="2.5" width="1" height="2.5" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>
	<element name="piece_4">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="2" width="1" height="3" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="2" width="1" height="3" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="2" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>
	<element name="piece_5">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="0" width="1" height="6" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="0" width="1" height="6" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>
	<element name="piece_6">
		<text string=" ">
			<bounds x="0" y="0" width="6" height="6" />
			<color red="0" green="0" blue="0" />
		</text>
		<rect>
			<bounds x="0" y="0" width="1" height="6" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="5" y="0" width="1" height="6" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="2" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
		<rect>
			<bounds x="0" y="5" width="6" height="1" />
			<color red="0.8" green="0.7" blue="0.5" />
		</rect>
	</element>

	<element name="text_restore"><text string="RESTORE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_halt"><text string="HALT"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_hint"><text string="HINT"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_audio"><text string="AUDIO"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_ce"><text string="CE"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_g7"><text string="G  7"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_h8"><text string="H  8"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_time"><text string="TIME"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_number"><text string="NUMBER"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_level"><text string="LEVEL"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_d4"><text string="D  4"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_e5"><text string="E  5"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_f6"><text string="F  6"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_change"><text string="CHANGE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_board"><text string="BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_a1"><text string="A  1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_b2"><text string="B  2"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_c3"><text string="C  3"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_verify"><text string="VERIFY"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_go"><text string="GO"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_black"><text string="BLACK"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_white"><text string="WHITE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_enter"><text string="ENTER"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<!-- chessboard coords should actually be gold color, but that's hard to see -->
	<element name="text_a"><text string="A"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_b"><text string="B"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_c"><text string="C"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_d"><text string="D"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_e"><text string="E"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_f"><text string="F"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_g"><text string="G"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_h"><text string="H"><color red="0.21" green="0.17" blue="0.17" /></text></element>

	<element name="text_1"><text string="1"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_2"><text string="2"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_3"><text string="3"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_4"><text string="4"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_5"><text string="5"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_6"><text string="6"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_7"><text string="7"><color red="0.21" green="0.17" blue="0.17" /></text></element>
	<element name="text_8"><text string="8"><color red="0.21" green="0.17" blue="0.17" /></text></element>


<!-- sb board -->

	<element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element>
	<element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>

	<element name="hlbb" defstate="0">
		<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
		<disk state="1">
			<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
			<color red="0" green="0" blue="0" />
		</disk>
	</element>

	<element name="piece" defstate="0">
		<image file="chess/wp.svg" state="1"/>
		<image file="chess/wn.svg" state="2"/>
		<image file="chess/wb.svg" state="3"/>
		<image file="chess/wr.svg" state="4"/>
		<image file="chess/wq.svg" state="5"/>
		<image file="chess/wk.svg" state="6"/>

		<image file="chess/bp.svg" state="7"/>
		<image file="chess/bn.svg" state="8"/>
		<image file="chess/bb.svg" state="9"/>
		<image file="chess/br.svg" state="10"/>
		<image file="chess/bq.svg" state="11"/>
		<image file="chess/bk.svg" state="12"/>

		<!-- selected pieces -->
		<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
		<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
		<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
		<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
		<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
		<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>

		<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
		<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
		<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
		<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
		<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
		<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
	</element>

	<group name="sb_board">
		<bounds x="0" y="0" width="80" height="80" />

		<!-- squares (avoid seams) -->
		<element ref="cwhite"><bounds x="0"  y="0" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>

		<element ref="cblack"><bounds x="0"  y="10" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>

		<element ref="cwhite"><bounds x="0"  y="20" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>

		<element ref="cblack"><bounds x="0"  y="30" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>

		<element ref="cwhite"><bounds x="0"  y="40" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>

		<element ref="cblack"><bounds x="0"  y="50" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>

		<element ref="cwhite"><bounds x="0"  y="60" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
		<element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
		<element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>

		<element ref="cblack"><bounds x="0"  y="70" width="11" height="10" /></element>
		<element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
		<element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
		<element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
		<element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
		<element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
		<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
		<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>

		<!-- sensors, pieces -->
		<repeat count="8">
			<param name="y" start="0" increment="10" />
			<param name="i" start="8" increment="-1" />

			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0"  y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
			<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>

			<element name="piece_a~i~" ref="piece"><bounds x="0"  y="~y~" width="10" height="10" /></element>
			<element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
			<element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
			<element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
			<element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
			<element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
			<element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
			<element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
		</repeat>
	</group>


<!-- sb ui -->

	<element name="hlub" defstate="0">
		<rect state="1"><color red="0" green="0" blue="0" /></rect>
	</element>

	<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uib2"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uib3"><text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uih2"><text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
	<element name="text_uiu2a"><text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uiu2b"><text string=" &lt;  "><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uiu2c"><text string="   &gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uiu2d"><text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
	<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>

	<element name="text_uiu3a" defstate="0">
		<simplecounter maxstate="999" digits="1" align="2">
			<color red="0.81" green="0.8" blue="0.79" />
		</simplecounter>
	</element>
	<element name="text_uiu3c" defstate="0">
		<simplecounter maxstate="999" digits="1" align="1">
			<color red="0.81" green="0.8" blue="0.79" />
		</simplecounter>
	</element>

	<group name="sb_ui">
		<bounds x="0" y="0" width="10" height="80" />
		<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
		<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
		<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
		<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
		<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>

		<!-- board -->
		<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
		<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
		<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>

		<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
		<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>

		<element ref="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>

		<!-- spawn -->
		<element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
		<element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
		<element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>

		<element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
		<element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
		<element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
		<element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
		<element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
		<element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
		<element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
		<element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
		<element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
		<element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
		<element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
		<element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>

		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>

		<!-- hand -->
		<element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
		<element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
		<element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>

		<element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
		<element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
		<element ref="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>

		<!-- undo -->
		<element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
		<element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
		<element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
		<element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
		<element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
		<element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
		<element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
		<element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
		<element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>

		<element ref="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
		<element ref="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>

		<element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
		<element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
		<element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
	</group>


<!-- display -->

	<group name="display">
		<element ref="gold"><bounds x="471" y="197" width="303" height="121" /></element>
		<element ref="black"><bounds x="474" y="200" width="297" height="115" /></element>
		<element ref="blackb"><bounds x="523.5" y="210" width="198" height="49" /></element>
		<element name="digit0" ref="digit"><bounds x="542.5" y="215" width="26" height="39" /></element>
		<element name="digit1" ref="digit"><bounds x="587.5" y="215" width="26" height="39" /></element>
		<element name="digit2" ref="digit"><bounds x="631.5" y="215" width="26" height="39" /></element>
		<element name="digit3" ref="digit"><bounds x="676.5" y="215" width="26" height="39" /></element>
		<element ref="black"><bounds x="618" y="202" width="3" height="111" /></element>
		<element ref="black"><bounds x="624" y="202" width="3" height="111" /></element>
	</group>


<!-- buttons -->

	<group name="buttons">
		<element ref="gold"><bounds x="471" y="328" width="303" height="273" /></element>

		<element ref="black"><bounds x="474" y="331" width="72" height="51" /></element>
		<element ref="black"><bounds x="474" y="385" width="72" height="51" /></element>
		<element ref="black"><bounds x="474" y="439" width="72" height="51" /></element>
		<element ref="black"><bounds x="474" y="493" width="72" height="51" /></element>
		<element ref="black"><bounds x="474" y="547" width="72" height="51" /></element>
		<element ref="black"><bounds x="549" y="331" width="72" height="51" /></element>
		<element ref="black"><bounds x="549" y="385" width="72" height="51" /></element>
		<element ref="black"><bounds x="549" y="439" width="72" height="51" /></element>
		<element ref="black"><bounds x="549" y="493" width="72" height="51" /></element>
		<element ref="black"><bounds x="549" y="547" width="72" height="51" /></element>
		<element ref="black"><bounds x="624" y="331" width="72" height="51" /></element>
		<element ref="black"><bounds x="624" y="385" width="72" height="51" /></element>
		<element ref="black"><bounds x="624" y="439" width="72" height="51" /></element>
		<element ref="black"><bounds x="624" y="493" width="72" height="51" /></element>
		<element ref="black"><bounds x="624" y="547" width="72" height="51" /></element>
		<element ref="black"><bounds x="699" y="331" width="72" height="51" /></element>
		<element ref="black"><bounds x="699" y="385" width="72" height="51" /></element>
		<element ref="black"><bounds x="699" y="439" width="72" height="51" /></element>
		<element ref="black"><bounds x="699" y="493" width="72" height="51" /></element>
		<element ref="black"><bounds x="699" y="547" width="72" height="51" /></element>

		<element ref="text_restore"><bounds x="475" y="347" width="70" height="18" /></element>
		<element ref="text_halt"><bounds x="550" y="335" width="70" height="18" /></element>
		<element ref="text_hint"><bounds x="550" y="359" width="70" height="18" /></element>
		<element ref="text_audio"><bounds x="625" y="347" width="70" height="18" /></element>
		<element ref="text_ce"><bounds x="700" y="347" width="70" height="18" /></element>

		<element ref="text_g7"><bounds x="475" y="401" width="70" height="18" /></element>
		<element ref="text_h8"><bounds x="550" y="401" width="70" height="18" /></element>
		<element ref="text_time"><bounds x="625" y="389" width="70" height="18" /></element>
		<element ref="text_number"><bounds x="625" y="413" width="70" height="18" /></element>
		<element ref="text_level"><bounds x="700" y="401" width="70" height="18" /></element>

		<element ref="text_d4"><bounds x="475" y="443" width="70" height="18" /></element>
		<element ref="text_e5"><bounds x="550" y="443" width="70" height="18" /></element>
		<element ref="text_f6"><bounds x="625" y="443" width="70" height="18" /></element>
		<element ref="text_change"><bounds x="700" y="446" width="70" height="18" /></element>
		<element ref="text_board"><bounds x="700" y="464" width="70" height="18" /></element>

		<element ref="text_a1"><bounds x="475" y="497" width="70" height="18" /></element>
		<element ref="text_b2"><bounds x="550" y="497" width="70" height="18" /></element>
		<element ref="text_c3"><bounds x="625" y="497" width="70" height="18" /></element>
		<element ref="text_verify"><bounds x="700" y="509" width="70" height="18" /></element>

		<element ref="text_go"><bounds x="475" y="560" width="70" height="24" /></element>
		<element ref="text_black"><bounds x="550" y="563" width="70" height="18" /></element>
		<element ref="text_white"><bounds x="625" y="563" width="70" height="18" /></element>
		<element ref="text_enter"><bounds x="700" y="563" width="70" height="18" /></element>

		<element ref="whited"><bounds x="582.5" y="354" width="5" height="5" /></element>
		<element ref="whited"><bounds x="657.5" y="408" width="5" height="5" /></element>

		<element ref="piece_1"><bounds x="500" y="519" width="20" height="20" /></element>
		<element ref="piece_2"><bounds x="575" y="519" width="20" height="20" /></element>
		<element ref="piece_3"><bounds x="650" y="519" width="20" height="20" /></element>
		<element ref="piece_4"><bounds x="500" y="465" width="20" height="20" /></element>
		<element ref="piece_5"><bounds x="575" y="465" width="20" height="20" /></element>
		<element ref="piece_6"><bounds x="650" y="465" width="20" height="20" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x010"><bounds x="474" y="331" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x008"><bounds x="474" y="385" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x004"><bounds x="474" y="439" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x002"><bounds x="474" y="493" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x001"><bounds x="474" y="547" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x010"><bounds x="549" y="331" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x008"><bounds x="549" y="385" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x004"><bounds x="549" y="439" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x002"><bounds x="549" y="493" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x001"><bounds x="549" y="547" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x020"><bounds x="624" y="331" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x040"><bounds x="624" y="385" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x080"><bounds x="624" y="439" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x100"><bounds x="624" y="493" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x200"><bounds x="624" y="547" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x020"><bounds x="699" y="331" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x040"><bounds x="699" y="385" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x080"><bounds x="699" y="439" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x100"><bounds x="699" y="493" width="72" height="51" /><color alpha="0.15" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x200"><bounds x="699" y="547" width="72" height="51" /><color alpha="0.15" /></element>
	</group>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-15" top="-2" right="156" bottom="90" />

		<group ref="sb_ui"><bounds x="-13.5" y="4" width="10" height="80" /></group>
		<element ref="cwhite"><bounds x="-2" y="-2" width="158" height="92" /></element>

		<group ref="display"><bounds x="89.7" y="3.7" width="60.6" height="24.2" /></group>
		<group ref="buttons"><bounds x="89.7" y="29.7" width="60.6" height="54.6" /></group>

		<!-- chessboard -->
		<element ref="gold"><bounds x="2" y="2" width="84" height="84" /></element>
		<group ref="sb_board"><bounds x="4" y="4" width="80" height="80" /></group>

		<repeat count="9">
			<param name="x" start="3.7" increment="10" />
			<param name="y" start="3.7" increment="10" />

			<element ref="gold"><bounds x="3.7" y="~y~" width="82" height="0.6" /></element>
			<element ref="gold"><bounds x="~x~" y="3.7" width="0.6" height="82" /></element>
		</repeat>

		<element ref="cwhite"><bounds x="1" y="1" width="86" height="2.7" /></element>
		<element ref="cwhite"><bounds x="1" y="84.3" width="86" height="2.7" /></element>
		<element ref="cwhite"><bounds x="1" y="1" width="2.7" height="86" /></element>
		<element ref="cwhite"><bounds x="84.3" y="1" width="2.7" height="86" /></element>

		<!-- chessboard coords -->
		<element ref="text_a"><bounds xc="9"  y="84.3" width="5" height="2.5" /></element>
		<element ref="text_b"><bounds xc="19" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_c"><bounds xc="29" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_d"><bounds xc="39" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_e"><bounds xc="49" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_f"><bounds xc="59" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_g"><bounds xc="69" y="84.3" width="5" height="2.5" /></element>
		<element ref="text_h"><bounds xc="79" y="84.3" width="5" height="2.5" /></element>

		<element ref="text_8"><bounds x="0.2" yc="9"  width="5" height="2.5" /></element>
		<element ref="text_7"><bounds x="0.2" yc="19" width="5" height="2.5" /></element>
		<element ref="text_6"><bounds x="0.2" yc="29" width="5" height="2.5" /></element>
		<element ref="text_5"><bounds x="0.2" yc="39" width="5" height="2.5" /></element>
		<element ref="text_4"><bounds x="0.2" yc="49" width="5" height="2.5" /></element>
		<element ref="text_3"><bounds x="0.2" yc="59" width="5" height="2.5" /></element>
		<element ref="text_2"><bounds x="0.2" yc="69" width="5" height="2.5" /></element>
		<element ref="text_1"><bounds x="0.2" yc="79" width="5" height="2.5" /></element>

		<!-- chessboard leds -->
		<element name="4.0" ref="led"><bounds xc="9"  y="87" width="2" height="2" /></element>
		<element name="4.1" ref="led"><bounds xc="19" y="87" width="2" height="2" /></element>
		<element name="4.2" ref="led"><bounds xc="29" y="87" width="2" height="2" /></element>
		<element name="4.3" ref="led"><bounds xc="39" y="87" width="2" height="2" /></element>
		<element name="4.4" ref="led"><bounds xc="49" y="87" width="2" height="2" /></element>
		<element name="4.5" ref="led"><bounds xc="59" y="87" width="2" height="2" /></element>
		<element name="4.6" ref="led"><bounds xc="69" y="87" width="2" height="2" /></element>
		<element name="4.7" ref="led"><bounds xc="79" y="87" width="2" height="2" /></element>

		<element name="5.7" ref="led"><bounds x="-0.5" yc="9"  width="2" height="2" /></element>
		<element name="5.6" ref="led"><bounds x="-0.5" yc="19" width="2" height="2" /></element>
		<element name="5.5" ref="led"><bounds x="-0.5" yc="29" width="2" height="2" /></element>
		<element name="5.4" ref="led"><bounds x="-0.5" yc="39" width="2" height="2" /></element>
		<element name="5.3" ref="led"><bounds x="-0.5" yc="49" width="2" height="2" /></element>
		<element name="5.2" ref="led"><bounds x="-0.5" yc="59" width="2" height="2" /></element>
		<element name="5.1" ref="led"><bounds x="-0.5" yc="69" width="2" height="2" /></element>
		<element name="5.0" ref="led"><bounds x="-0.5" yc="79" width="2" height="2" /></element>

	</view>
</mamelayout>