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

                     
               
           




                        






                                                                                                 
                                                                           


                                                                                 



                                                                              
















                                                                                                              


































                                                                                                                            
 





                                                                       

 
                      
 
                           
                                                                       
 




























































                                                                                                             




                                                                                                          





































































                                                                                                                                            



                     
 



                                                                                                 
               





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

<!-- define elements -->

	<element name="black"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="white"><rect><color red="1" green="1" blue="1" /></rect></element>
	<element name="whitea"><rect><color red="0.1" green="0.1" blue="0.1" /></rect></element>
	<element name="whitem"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="orange"><rect><color red="0.8" green="0.5" blue="0.05" /></rect></element>

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

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

	<element name="text_1"><text string="1"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_2"><text string="2"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_3"><text string="3"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_4"><text string="4"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_5"><text string="5"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_6"><text string="6"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_7"><text string="7"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_8"><text string="8"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_a"><text string="A"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_b"><text string="B"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_c"><text string="C"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_d"><text string="D"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_e"><text string="E"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_f"><text string="F"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_g"><text string="G"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_h"><text string="H"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_le00"><text string="RESET"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le02"><text string="LEVEL"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le03"><text string="NEW GAME"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_le11"><text string="MODE"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le12"><text string="C/SQUARE"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le13"><text string="C/BOARD"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le14"><text string="PLACE"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le15"><text string="FIND"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le16"><text string="NEXT BEST"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_le21"><text string="RECORD"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le22"><text string="FLASH"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le23"><text string="TAKE BACK"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le24"><text string="STEP"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le25"><text string="CLEAR"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_le26"><text string="ENTER"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_lg00"><text string="START"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg02"><text string="SPIELSTÄRKE"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg03"><text string="NEUE PARTIE"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_lg11"><text string="MODUS"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg12"><text string="FELD FREI"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg13"><text string="BRETT FREI"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg14"><text string="SETZEN"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg15"><text string="CHECK"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg16"><text string="ALTERN"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_lg21"><text string="SPEICHERN"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg22"><text string="FLASH"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg23"><text string="ZURÜCK"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg24"><text string="VOR"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg25"><text string="LÖSCHEN"><color red="0.66" green="0.66" blue="0.66" /></text></element>
	<element name="text_lg26"><text string="EINGABE"><color red="0.66" green="0.66" blue="0.66" /></text></element>

	<element name="text_p1"><image file="chess/bp.svg" /></element>
	<element name="text_p2"><image file="chess/bn.svg" /></element>
	<element name="text_p3"><image file="chess/bb.svg" /></element>
	<element name="text_p4"><image file="chess/br.svg" /></element>
	<element name="text_p5"><image file="chess/bq.svg" /></element>
	<element name="text_p6"><image file="chess/bk.svg" /></element>


<!-- chesscomputer -->

	<group name="main">
		<bounds left="-2" right="48" top="46.5" bottom="124" />

		<!-- labels (common) -->
		<element ref="text_a"><bounds x="0"  y="114.5" width="4" height="1.9" /></element>
		<element ref="text_b"><bounds x="6"  y="114.5" width="4" height="1.9" /></element>
		<element ref="text_c"><bounds x="12" y="114.5" width="4" height="1.9" /></element>
		<element ref="text_d"><bounds x="18" y="114.5" width="4" height="1.9" /></element>
		<element ref="text_e"><bounds x="24" y="114.5" width="4" height="1.9" /></element>
		<element ref="text_f"><bounds x="30" y="114.5" width="4" height="1.9" /></element>
		<element ref="text_g"><bounds x="36" y="114.5" width="4" height="1.9" /></element>
		<element ref="text_h"><bounds x="42" y="114.5" width="4" height="1.9" /></element>

		<element ref="text_1"><bounds x="0"  y="121.4" width="4" height="1.9" /></element>
		<element ref="text_2"><bounds x="6"  y="121.4" width="4" height="1.9" /></element>
		<element ref="text_3"><bounds x="12" y="121.4" width="4" height="1.9" /></element>
		<element ref="text_4"><bounds x="18" y="121.4" width="4" height="1.9" /></element>
		<element ref="text_5"><bounds x="24" y="121.4" width="4" height="1.9" /></element>
		<element ref="text_6"><bounds x="30" y="121.4" width="4" height="1.9" /></element>
		<element ref="text_7"><bounds x="36" y="121.4" width="4" height="1.9" /></element>
		<element ref="text_8"><bounds x="42" y="121.4" width="4" height="1.9" /></element>

		<element ref="text_le00"><bounds x="40" y="88.5" width="8" height="1.1" /></element>
		<element ref="text_le02"><bounds x="4"  y="97.3" width="8" height="1.1" /></element>
		<element ref="text_le03"><bounds x="16" y="97.3" width="8" height="1.1" /></element>

		<element ref="text_le11"><bounds x="-2" y="98.5" width="8" height="1.1" /></element>
		<element ref="text_le12"><bounds x="4"  y="98.5" width="8" height="1.1" /></element>
		<element ref="text_le13"><bounds x="16" y="98.5" width="8" height="1.1" /></element>
		<element ref="text_le14"><bounds x="22" y="98.5" width="8" height="1.1" /></element>
		<element ref="text_le15"><bounds x="34" y="98.5" width="8" height="1.1" /></element>
		<element ref="text_le16"><bounds x="40" y="98.5" width="8" height="1.1" /></element>

		<element ref="text_le21"><bounds x="-2" y="105.5" width="8" height="1.1" /></element>
		<element ref="text_le22"><bounds x="4"  y="105.5" width="8" height="1.1" /></element>
		<element ref="text_le23"><bounds x="16" y="105.5" width="8" height="1.1" /></element>
		<element ref="text_le24"><bounds x="22" y="105.5" width="8" height="1.1" /></element>
		<element ref="text_le25"><bounds x="34" y="105.5" width="8" height="1.1" /></element>
		<element ref="text_le26"><bounds x="40" y="105.5" width="8" height="1.1" /></element>

		<!-- labels (German) -->
		<collection name="German Labels" visible="no">
			<element ref="black"><bounds x="-2" y="80" width="50" height="30" /></element>

			<element ref="text_lg00"><bounds x="40" y="88.5" width="8" height="1.1" /></element>
			<element ref="text_lg02"><bounds x="4"  y="97.3" width="8" height="1.1" /></element>
			<element ref="text_lg03"><bounds x="16" y="97.3" width="8" height="1.1" /></element>

			<element ref="text_lg11"><bounds x="-2" y="98.5" width="8" height="1.1" /></element>
			<element ref="text_lg12"><bounds x="4"  y="98.5" width="8" height="1.1" /></element>
			<element ref="text_lg13"><bounds x="16" y="98.5" width="8" height="1.1" /></element>
			<element ref="text_lg14"><bounds x="22" y="98.5" width="8" height="1.1" /></element>
			<element ref="text_lg15"><bounds x="34" y="98.5" width="8" height="1.1" /></element>
			<element ref="text_lg16"><bounds x="40" y="98.5" width="8" height="1.1" /></element>

			<element ref="text_lg21"><bounds x="-2" y="105.5" width="8" height="1.1" /></element>
			<element ref="text_lg22"><bounds x="4"  y="105.5" width="8" height="1.1" /></element>
			<element ref="text_lg23"><bounds x="16" y="105.5" width="8" height="1.1" /></element>
			<element ref="text_lg24"><bounds x="22" y="105.5" width="8" height="1.1" /></element>
			<element ref="text_lg25"><bounds x="34" y="105.5" width="8" height="1.1" /></element>
			<element ref="text_lg26"><bounds x="40" y="105.5" width="8" height="1.1" /></element>
		</collection>

		<!-- 7seg panel -->
		<element name="digit0" ref="digit"><bounds x="15" y="88" width="4" height="6" /></element>
		<element name="digit1" ref="digit"><bounds x="19" y="88" width="4" height="6" /></element>
		<element name="digit2" ref="digit"><bounds x="23" y="88" width="4" height="6" /></element>
		<element name="digit3" ref="digit"><bounds x="27" y="88" width="4" height="6" /></element>

		<!-- buttons -->
		<element ref="orange"><bounds x="0"  y="100" width="4" height="4" /></element>
		<element ref="orange"><bounds x="6"  y="100" width="4" height="4" /></element>
		<element ref="orange"><bounds x="18" y="100" width="4" height="4" /></element>
		<element ref="orange"><bounds x="24" y="100" width="4" height="4" /></element>
		<element ref="orange"><bounds x="36" y="100" width="4" height="4" /></element>
		<element ref="orange"><bounds x="42" y="100" width="4" height="4" /></element>

		<element ref="orange"><bounds x="0"  y="107" width="4" height="4" /></element>
		<element ref="orange"><bounds x="6"  y="107" width="4" height="4" /></element>
		<element ref="orange"><bounds x="18" y="107" width="4" height="4" /></element>
		<element ref="orange"><bounds x="24" y="107" width="4" height="4" /></element>
		<element ref="orange"><bounds x="36" y="107" width="4" height="4" /></element>
		<element ref="orange"><bounds x="42" y="107" width="4" height="4" /></element>

		<element ref="white"><bounds x="0"  y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="6"  y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="12" y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="18" y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="24" y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="30" y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="36" y="117" width="4" height="4" /></element>
		<element ref="white"><bounds x="42" y="117" width="4" height="4" /></element>

		<element ref="text_p1"><bounds x="0.4"  y="117.4" width="3.2" height="3.2" /></element>
		<element ref="text_p2"><bounds x="6.4"  y="117.4" width="3.2" height="3.2" /></element>
		<element ref="text_p3"><bounds x="12.4" y="117.4" width="3.2" height="3.2" /></element>
		<element ref="text_p4"><bounds x="18.4" y="117.4" width="3.2" height="3.2" /></element>
		<element ref="text_p5"><bounds x="24.4" y="117.4" width="3.2" height="3.2" /></element>
		<element ref="text_p6"><bounds x="30.4" y="117.4" width="3.2" height="3.2" /></element>
		<element ref="black"><bounds x="36.8" y="117.8" width="2.4" height="2.4" /></element>
		<element ref="white"><bounds x="37.2" y="118.2" width="1.6" height="1.6" /></element>
		<element ref="black"><bounds x="42.8" y="117.8" width="2.4" height="2.4" /></element>

		<element ref="whitea" blend="add"><bounds x="0"  y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="6"  y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="12" y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="18" y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="24" y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="30" y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="36" y="117" width="4" height="4" /></element>
		<element ref="whitea" blend="add"><bounds x="42" y="117" width="4" height="4" /></element>

		<element ref="whitem" blend="multiply"><bounds x="-1" y="116" width="50" height="6" /></element>

		<element ref="hl" blend="multiply" inputtag="X3" inputmask="0x04"><bounds x="0"  y="100" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X1" inputmask="0x04"><bounds x="6"  y="100" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X2" inputmask="0x04"><bounds x="18" y="100" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X4" inputmask="0x08"><bounds x="24" y="100" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X3" inputmask="0x08"><bounds x="36" y="100" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X3" inputmask="0x10"><bounds x="42" y="100" width="4" height="4" /></element>

		<element ref="hl" blend="multiply" inputtag="X4" inputmask="0x04"><bounds x="0"  y="107" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X1" inputmask="0x10"><bounds x="6"  y="107" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X2" inputmask="0x10"><bounds x="18" y="107" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X4" inputmask="0x10"><bounds x="24" y="107" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X1" inputmask="0x08"><bounds x="36" y="107" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X2" inputmask="0x08"><bounds x="42" y="107" width="4" height="4" /></element>

		<element ref="hl" blend="multiply" inputtag="X1" inputmask="0x01"><bounds x="0"  y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X2" inputmask="0x01"><bounds x="6"  y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X3" inputmask="0x01"><bounds x="12" y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X4" inputmask="0x01"><bounds x="18" y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X1" inputmask="0x02"><bounds x="24" y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X2" inputmask="0x02"><bounds x="30" y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X3" inputmask="0x02"><bounds x="36" y="117" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="X4" inputmask="0x02"><bounds x="42" y="117" width="4" height="4" /></element>

		<element ref="whitem"><bounds x="42" y="90" width="4" height="4" /></element>
		<element ref="hl" blend="multiply" inputtag="RESET" inputmask="0x01"><bounds x="42" y="90" width="4" height="4" /></element>
	</group>


<!-- build screen -->

	<view name="Internal Layout (Full)">
		<bounds left="-2" right="48" top="46.5" bottom="124" />
		<group ref="main"><bounds left="-2" right="48" top="46.5" bottom="124" /></group>
		<screen index="0"><bounds x="-2" y="46.5" width="50" height="37.5" /></screen>
	</view>

	<view name="Internal Layout (Main Unit)">
		<bounds left="-2" right="48" top="87" bottom="124" />
		<group ref="main"><bounds left="-2" right="48" top="46.5" bottom="124" /></group>
	</view>

</mamelayout>