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

                        
                                             
 











                                                                                                   

                                                                           



















                                                                                                                
































                                                                                                                 






                                                                           
                                                                                               
 



                                                                                                                     
 



                                                                                                                                      
 
                                     















                                                                                             
 







                                                                                                      
 







                                                                                                      
 







                                                                                                      
 







                                                                                                      
 















                                                                                                                                               


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

<!-- NOTE: no chesspieces simulation here -->

<!-- define elements -->

	<element name="black"><rect><color red="0.12" green="0.12" blue="0.12" /></rect></element>
	<element name="black2"><rect><color red="0.16" green="0.16" blue="0.16" /></rect></element>
	<element name="white1"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="white2"><rect><color red="0.82" green="0.82" blue="0.62" /></rect></element>

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

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

	<element name="reset" defstate="0">
		<text string=" ">
			<bounds x="0.0" y="0.0" width="1.8" height="3.7" />
			<color red="0.0" green="0.0" blue="0.0" />
		</text>
		<disk state="0">
			<bounds x="0.0" y="0.0" width="1.8" height="1.8" />
			<color red="0.4" green="0.4" blue="0.4" />
		</disk>
		<disk state="1">
			<bounds x="0.0" y="1.9" width="1.8" height="1.8" />
			<color red="0.4" green="0.4" blue="0.4" />
		</disk>
	</element>

	<element name="text_r1"><text string="RUN"><color red="0.3" green="0.3" blue="0.3" /></text></element>
	<element name="text_r2"><text string="RESET"><color red="0.3" green="0.3" blue="0.3" /></text></element>

	<element name="text_b01a"><text string="A"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b01b"><text string="wk"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b02a"><text string="B"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b02b"><text string="wq"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b03a"><text string="C"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b03b"><text string="wb"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b05a"><text string="E"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b05b"><text string="wn"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b06a"><text string="F"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b06b"><text string="wr"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b07a"><text string="G"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b07b"><text string="wp"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b09a"><text string="1"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b09b"><text string="bk"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b10a"><text string="2"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b10b"><text string="bq"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b11a"><text string="3"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b11b"><text string="bb"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b13a"><text string="5"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b13b"><text string="bn"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b14a"><text string="6"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b14b"><text string="br"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b15a"><text string="7"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b15b"><text string="bp"><color red="0.1" green="0.1" blue="0.1" /></text></element>

	<element name="text_b04a"><text string="D"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b04b"><text string="play"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b08a"><text string="H"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b08b"><text string="md"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b12a"><text string="4"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b12b"><text string="fp"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b16a"><text string="8"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b16b"><text string="ep"><color red="0.1" green="0.1" blue="0.1" /></text></element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="8.5" right="56.5" top="11.5" bottom="76.5" />

		<element ref="black2"><bounds x="8.5" y="26" width="48" height="1" /></element>

		<element name="digit0" ref="digit"><bounds x="19" y="13" width="6.75" height="10.125" /></element>
		<element name="digit1" ref="digit"><bounds x="25.75" y="13" width="6.75" height="10.125" /></element>
		<element name="digit2" ref="digit"><bounds x="32.5" y="13" width="6.75" height="10.125" /></element>
		<element name="digit3" ref="digit"><bounds x="39.25" y="13" width="6.75" height="10.125" /></element>

		<element ref="black"><bounds x="12.5" y="16.5" width="1.4" height="3.5" /></element>
		<element ref="text_r1"><bounds x="10.5" y="14" width="5.4" height="2" /></element>
		<element ref="text_r2"><bounds x="10.5" y="20.5" width="5.4" height="2" /></element>
		<element ref="reset" inputtag="RESET" inputmask="0x01"><bounds x="12.3" y="16.4" width="1.8" height="3.7" /></element>

		<!-- button panel -->
		<element ref="white1"><bounds x="10" y="30" width="9" height="9" /></element>
		<element ref="white1"><bounds x="22" y="30" width="9" height="9" /></element>
		<element ref="white1"><bounds x="34" y="30" width="9" height="9" /></element>
		<element ref="white2"><bounds x="46" y="30" width="9" height="9" /></element>
		<element ref="white1"><bounds x="10" y="42" width="9" height="9" /></element>
		<element ref="white1"><bounds x="22" y="42" width="9" height="9" /></element>
		<element ref="white1"><bounds x="34" y="42" width="9" height="9" /></element>
		<element ref="white2"><bounds x="46" y="42" width="9" height="9" /></element>
		<element ref="white1"><bounds x="10" y="54" width="9" height="9" /></element>
		<element ref="white1"><bounds x="22" y="54" width="9" height="9" /></element>
		<element ref="white1"><bounds x="34" y="54" width="9" height="9" /></element>
		<element ref="white2"><bounds x="46" y="54" width="9" height="9" /></element>
		<element ref="white1"><bounds x="10" y="66" width="9" height="9" /></element>
		<element ref="white1"><bounds x="22" y="66" width="9" height="9" /></element>
		<element ref="white1"><bounds x="34" y="66" width="9" height="9" /></element>
		<element ref="white2"><bounds x="46" y="66" width="9" height="9" /></element>

		<element ref="text_b01a"><bounds x="10.1" y="30.5" width="8.8" height="5" /></element>
		<element ref="text_b01b"><bounds x="10.1" y="35.3" width="8.8" height="3" /></element>
		<element ref="text_b02a"><bounds x="22.1" y="30.5" width="8.8" height="5" /></element>
		<element ref="text_b02b"><bounds x="22.1" y="35.3" width="8.8" height="3" /></element>
		<element ref="text_b03a"><bounds x="34.1" y="30.5" width="8.8" height="5" /></element>
		<element ref="text_b03b"><bounds x="34.1" y="35.3" width="8.8" height="3" /></element>
		<element ref="text_b04a"><bounds x="46.1" y="30.5" width="8.8" height="5" /></element>
		<element ref="text_b04b"><bounds x="46.1" y="35.3" width="8.8" height="3" /></element>

		<element ref="text_b05a"><bounds x="10.1" y="42.5" width="8.8" height="5" /></element>
		<element ref="text_b05b"><bounds x="10.1" y="47.3" width="8.8" height="3" /></element>
		<element ref="text_b06a"><bounds x="22.1" y="42.5" width="8.8" height="5" /></element>
		<element ref="text_b06b"><bounds x="22.1" y="47.3" width="8.8" height="3" /></element>
		<element ref="text_b07a"><bounds x="34.1" y="42.5" width="8.8" height="5" /></element>
		<element ref="text_b07b"><bounds x="34.1" y="47.3" width="8.8" height="3" /></element>
		<element ref="text_b08a"><bounds x="46.1" y="42.5" width="8.8" height="5" /></element>
		<element ref="text_b08b"><bounds x="46.1" y="47.3" width="8.8" height="3" /></element>

		<element ref="text_b09a"><bounds x="10.1" y="54.5" width="8.8" height="5" /></element>
		<element ref="text_b09b"><bounds x="10.1" y="59.3" width="8.8" height="3" /></element>
		<element ref="text_b10a"><bounds x="22.1" y="54.5" width="8.8" height="5" /></element>
		<element ref="text_b10b"><bounds x="22.1" y="59.3" width="8.8" height="3" /></element>
		<element ref="text_b11a"><bounds x="34.1" y="54.5" width="8.8" height="5" /></element>
		<element ref="text_b11b"><bounds x="34.1" y="59.3" width="8.8" height="3" /></element>
		<element ref="text_b12a"><bounds x="46.1" y="54.5" width="8.8" height="5" /></element>
		<element ref="text_b12b"><bounds x="46.1" y="59.3" width="8.8" height="3" /></element>

		<element ref="text_b13a"><bounds x="10.1" y="66.5" width="8.8" height="5" /></element>
		<element ref="text_b13b"><bounds x="10.1" y="71.3" width="8.8" height="3" /></element>
		<element ref="text_b14a"><bounds x="22.1" y="66.5" width="8.8" height="5" /></element>
		<element ref="text_b14b"><bounds x="22.1" y="71.3" width="8.8" height="3" /></element>
		<element ref="text_b15a"><bounds x="34.1" y="66.5" width="8.8" height="5" /></element>
		<element ref="text_b15b"><bounds x="34.1" y="71.3" width="8.8" height="3" /></element>
		<element ref="text_b16a"><bounds x="46.1" y="66.5" width="8.8" height="5" /></element>
		<element ref="text_b16b"><bounds x="46.1" y="71.3" width="8.8" height="3" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="10" y="30" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="22" y="30" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="34" y="30" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="46" y="30" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="10" y="42" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="22" y="42" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="34" y="42" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="46" y="42" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="10" y="54" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="22" y="54" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="34" y="54" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="46" y="54" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="10" y="66" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="22" y="66" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="34" y="66" width="9" height="9" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="46" y="66" width="9" height="9" /><color alpha="0.2" /></element>

	</view>
</mamelayout>