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

                                             

                        


                                                                                                   
 
                                           
                                                                         
                  
 
                                         
                                                                                 
                                                                                  








                                                                           



                                                                  


                                                                                                                               






                                                                                                                
 















                                                                                                                 
 



                            
                                                                
 


































































                                                                                                                                                      

                
 

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

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

<!-- define elements -->

	<element name="black"><rect><color red="0.22" green="0.21" blue="0.20" /></rect></element>
	<element name="black2"><rect><color red="0.02" green="0.02" blue="0.02" /></rect></element>
	<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>

	<element name="digit" defstate="0">
		<led7seg><color red="0.4" green="1" blue="0" /></led7seg>
	</element>

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

	<element name="hl" defstate="0">
		<text string=" ">
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color red="0.0" green="0.0" blue="0.0" />
		</text>
		<rect state="1">
			<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
			<color red="0.0" green="0.0" blue="0.0" />
		</rect>
	</element>

	<element name="text_schach"><text string="SCHACH" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_matt"><text string="MATT" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>

	<element name="text_b01"><text string="R"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b02"><text string="K"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b03"><text string="W"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b04"><text string="P"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b05"><text string="T"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b06"><text string="L"><color red="0.82" green="0.82" blue="0.82" /></text></element>
	<element name="text_b07"><text string="Q"><color red="0.82" green="0.82" blue="0.82" /></text></element>

	<element name="text_b08a"><text string="A"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b08b"><text string="1"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b09a"><text string="B"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b09b"><text string="2"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b10a"><text string="C"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b10b"><text string="3"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b11a"><text string="D"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b11b"><text string="4"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b12a"><text string="E"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b12b"><text string="5"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b13a"><text string="F"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b13b"><text string="6"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b14a"><text string="G"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b14b"><text string="7"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b15a"><text string="H"><color red="0.08" green="0.08" blue="0.08" /></text></element>
	<element name="text_b15b"><text string="8"><color red="0.08" green="0.08" blue="0.08" /></text></element>


<!-- display, buttons -->

	<group name="panel">
		<bounds x="5" y="15" width="270" height="370" />

		<element name="digit0" ref="digit"><bounds x="10" y="15" width="50" height="75" /></element>
		<element name="digit1" ref="digit"><bounds x="70" y="15" width="50" height="75" /></element>
		<element name="digit2" ref="digit"><bounds x="150" y="15" width="50" height="75" /></element>
		<element name="digit3" ref="digit"><bounds x="210" y="15" width="50" height="75" /></element>

		<element name="0.7" ref="led"><bounds x="12.5" y="152.5" width="20" height="20" /></element>
		<element name="1.7" ref="led"><bounds x="237.5" y="152.5" width="20" height="20" /></element>

		<element ref="text_schach"><bounds x="5" y="110" width="100" height="20" /></element>
		<element ref="text_matt"><bounds x="165" y="110" width="100" height="20" /></element>

		<element ref="black"><bounds x="42.5"  y="135" width="55" height="55" /></element>
		<element ref="black"><bounds x="107.5" y="135" width="55" height="55" /></element>
		<element ref="black"><bounds x="172.5" y="135" width="55" height="55" /></element>
		<element ref="black"><bounds x="10"    y="200" width="55" height="55" /></element>
		<element ref="black"><bounds x="75"    y="200" width="55" height="55" /></element>
		<element ref="black"><bounds x="140"   y="200" width="55" height="55" /></element>
		<element ref="black"><bounds x="205"   y="200" width="55" height="55" /></element>
		<element ref="white"><bounds x="10"    y="265" width="55" height="55" /></element>
		<element ref="white"><bounds x="75"    y="265" width="55" height="55" /></element>
		<element ref="white"><bounds x="140"   y="265" width="55" height="55" /></element>
		<element ref="white"><bounds x="205"   y="265" width="55" height="55" /></element>
		<element ref="white"><bounds x="10"    y="330" width="55" height="55" /></element>
		<element ref="white"><bounds x="75"    y="330" width="55" height="55" /></element>
		<element ref="white"><bounds x="140"   y="330" width="55" height="55" /></element>
		<element ref="white"><bounds x="205"   y="330" width="55" height="55" /></element>

		<element ref="text_b01"><bounds x="45" y="145" width="50" height="33" /></element>
		<element ref="text_b02"><bounds x="110" y="145" width="50" height="33" /></element>
		<element ref="text_b03"><bounds x="175" y="145" width="50" height="33" /></element>
		<element ref="text_b04"><bounds x="12.5" y="210" width="50" height="33" /></element>
		<element ref="text_b05"><bounds x="77.5" y="210" width="50" height="33" /></element>
		<element ref="text_b06"><bounds x="142.5" y="210" width="50" height="33" /></element>
		<element ref="text_b07"><bounds x="207.5" y="210" width="50" height="33" /></element>

		<element ref="text_b08a"><bounds x="12.5" y="267.5" width="50" height="25" /></element>
		<element ref="text_b08b"><bounds x="12.5" y="292.5" width="50" height="25" /></element>
		<element ref="text_b09a"><bounds x="77.5" y="267.5" width="50" height="25" /></element>
		<element ref="text_b09b"><bounds x="77.5" y="292.5" width="50" height="25" /></element>
		<element ref="text_b10a"><bounds x="142.5" y="267.5" width="50" height="25" /></element>
		<element ref="text_b10b"><bounds x="142.5" y="292.5" width="50" height="25" /></element>
		<element ref="text_b11a"><bounds x="207.5" y="267.5" width="50" height="25" /></element>
		<element ref="text_b11b"><bounds x="207.5" y="292.5" width="50" height="25" /></element>
		<element ref="text_b12a"><bounds x="12.5" y="332.5" width="50" height="25" /></element>
		<element ref="text_b12b"><bounds x="12.5" y="357.5" width="50" height="25" /></element>
		<element ref="text_b13a"><bounds x="77.5" y="332.5" width="50" height="25" /></element>
		<element ref="text_b13b"><bounds x="77.5" y="357.5" width="50" height="25" /></element>
		<element ref="text_b14a"><bounds x="142.5" y="332.5" width="50" height="25" /></element>
		<element ref="text_b14b"><bounds x="142.5" y="357.5" width="50" height="25" /></element>
		<element ref="text_b15a"><bounds x="207.5" y="332.5" width="50" height="25" /></element>
		<element ref="text_b15b"><bounds x="207.5" y="357.5" width="50" height="25" /></element>

		<element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="42.5"  y="135" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="107.5" y="135" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="172.5" y="135" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="10"    y="200" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="75"    y="200" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="140"   y="200" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="205"   y="200" width="55" height="55" /><color alpha="0.22" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="10"    y="265" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="75"    y="265" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="140"   y="265" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="205"   y="265" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="10"    y="330" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="75"    y="330" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="140"   y="330" width="55" height="55" /><color alpha="0.25" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="205"   y="330" width="55" height="55" /><color alpha="0.25" /></element>
	</group>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="0" right="270" top="0" bottom="390" />
		<group ref="panel"><bounds x="5" y="10" width="270" height="370" /></group>
	</view>

</mamelayout>