summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/layout/saitek_minichess.lay
blob: b6ce76d29a87b473d731f4ff19fdfa3d74241c5e (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="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="gray"><rect><color red="0.25" green="0.25" blue="0.25" /></rect></element>
	<element name="lcdm"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>

	<element name="button" defstate="0">
		<rect state="0"><color red="0.8" green="0.8" blue="0.8" /></rect>
		<rect state="1"><color red="0.6" green="0.6" blue="0.6" /></rect>
	</element>
	<element name="switch" defstate="0">
		<text string=" "><bounds x="0" y="0" width="2" height="1" /></text>
		<rect state="0">
			<bounds x="0" y="0" width="1" height="1" />
			<color red="0.8" green="0.8" blue="0.8" />
		</rect>
		<rect state="1">
			<bounds x="1" y="0" width="1" height="1" />
			<color red="0.8" green="0.8" blue="0.8" />
		</rect>
	</element>

	<element name="text_l00a"><text string="OFF" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l00b"><text string="ON" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l01a"><text string="A" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l01b"><text string="1" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l01x"><text string="1" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l02a"><text string="B" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l02b"><text string="2" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l03a"><text string="C" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l03b"><text string="3" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l04a"><text string="D" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l04b"><text string="4" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l05a"><text string="E" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l05b"><text string="5" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l06a"><text string="F" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l06b"><text string="6" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l07a"><text string="G" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l07b"><text string="7" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l08a"><text string="H" align="1"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l08b"><text string="8" align="2"><color red="0.8" green="0.8" blue="0.8" /></text></element>

	<element name="text_l09"><text string="FP"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l10a"><text string="NEW"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l10b"><text string="GAME"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l11"><text string="CE"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l12"><text string="ENTER"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l13"><text string="LEVEL"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_l14"><text string="MM"><color red="0.8" green="0.8" blue="0.8" /></text></element>

	<element name="text_p1"><image file="chess/wk.svg"><color alpha="0.87" /></image></element>
	<element name="text_p2"><image file="chess/wq.svg"><color alpha="0.87" /></image></element>
	<element name="text_p3"><image file="chess/wr.svg"><color alpha="0.87" /></image></element>
	<element name="text_p4"><image file="chess/wb.svg"><color alpha="0.87" /></image></element>
	<element name="text_p5"><image file="chess/wn.svg"><color alpha="0.87" /></image></element>
	<element name="text_p6"><image file="chess/wp.svg"><color alpha="0.87" /></image></element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="8" right="27.6" top="15" bottom="46.9" />

		<screen index="0"><bounds x="8" y="15" width="19.6" height="5.788" /></screen>
		<element ref="lcdm" blend="multiply"><bounds x="7.5" y="14.5" width="21" height="7" /></element>

		<!-- buttons -->
		<element ref="gray"><bounds x="10.02" y="24.975" width="3.56" height="0.95" /></element>
		<element ref="switch" inputtag="IN.4" inputmask="0x01"><bounds x="10" y="24.5" width="3.6" height="1.9" /></element>
		<element ref="text_l13"><bounds x="10" y="23" width="3.6" height="1.3" /></element>
		<element ref="text_l01x"><bounds x="10" y="26.5" width="3.6" height="1.3" /></element>
		<element ref="text_l02b"><bounds x="10" y="26.5" width="3.6" height="1.3" /></element>

		<element ref="gray"><bounds x="16.02" y="24.975" width="3.56" height="0.95" /></element>
		<element ref="switch" inputtag="IN.4" inputmask="0x04"><bounds x="16" y="24.5" width="3.6" height="1.9" /></element>
		<element ref="text_l14"><bounds x="16" y="23" width="3.6" height="1.3" /></element>
		<element ref="text_l00a"><bounds x="16" y="26.5" width="3.6" height="1.3" /></element>
		<element ref="text_l00b"><bounds x="16" y="26.5" width="3.6" height="1.3" /></element>

		<element ref="text_p6"><bounds x="10.925" y="31.85" width="1.75" height="1.75" /></element>
		<element ref="text_p5"><bounds x="16.925" y="31.85" width="1.75" height="1.75" /></element>
		<element ref="text_p4"><bounds x="22.925" y="31.85" width="1.75" height="1.75" /></element>
		<element ref="text_p3"><bounds x="10.925" y="35.85" width="1.75" height="1.75" /></element>
		<element ref="text_p2"><bounds x="16.925" y="35.85" width="1.75" height="1.75" /></element>
		<element ref="text_p1"><bounds x="22.925" y="35.85" width="1.75" height="1.75" /></element>

		<element ref="button" inputtag="IN.0" inputmask="0x01"><bounds x="10" y="30" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.0" inputmask="0x02"><bounds x="16" y="30" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.0" inputmask="0x04"><bounds x="22" y="30" width="3.6" height="1.9" /></element>

		<element ref="button" inputtag="IN.1" inputmask="0x01"><bounds x="10" y="34" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.1" inputmask="0x02"><bounds x="16" y="34" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.1" inputmask="0x04"><bounds x="22" y="34" width="3.6" height="1.9" /></element>

		<element ref="button" inputtag="IN.2" inputmask="0x01"><bounds x="10" y="38" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.2" inputmask="0x02"><bounds x="16" y="38" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.2" inputmask="0x04"><bounds x="22" y="38" width="3.6" height="1.9" /></element>

		<element ref="button" inputtag="IN.3" inputmask="0x01"><bounds x="10" y="42" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.3" inputmask="0x02"><bounds x="16" y="42" width="3.6" height="1.9" /></element>
		<element ref="button" inputtag="IN.3" inputmask="0x04"><bounds x="22" y="42" width="3.6" height="1.9" /></element>

		<element ref="text_l01a"><bounds x="10" y="32" width="3.6" height="1.3" /></element>
		<element ref="text_l01b"><bounds x="10" y="32" width="3.6" height="1.3" /></element>
		<element ref="text_l02a"><bounds x="16" y="32" width="3.6" height="1.3" /></element>
		<element ref="text_l02b"><bounds x="16" y="32" width="3.6" height="1.3" /></element>
		<element ref="text_l03a"><bounds x="22" y="32" width="3.6" height="1.3" /></element>
		<element ref="text_l03b"><bounds x="22" y="32" width="3.6" height="1.3" /></element>

		<element ref="text_l04a"><bounds x="10" y="36" width="3.6" height="1.3" /></element>
		<element ref="text_l04b"><bounds x="10" y="36" width="3.6" height="1.3" /></element>
		<element ref="text_l05a"><bounds x="16" y="36" width="3.6" height="1.3" /></element>
		<element ref="text_l05b"><bounds x="16" y="36" width="3.6" height="1.3" /></element>
		<element ref="text_l06a"><bounds x="22" y="36" width="3.6" height="1.3" /></element>
		<element ref="text_l06b"><bounds x="22" y="36" width="3.6" height="1.3" /></element>

		<element ref="text_l07a"><bounds x="10" y="40" width="3.6" height="1.3" /></element>
		<element ref="text_l07b"><bounds x="10" y="40" width="3.6" height="1.3" /></element>
		<element ref="text_l08a"><bounds x="16" y="40" width="3.6" height="1.3" /></element>
		<element ref="text_l08b"><bounds x="16" y="40" width="3.6" height="1.3" /></element>
		<element ref="text_l09"><bounds x="22" y="40" width="3.6" height="1.3" /></element>

		<element ref="text_l10a"><bounds x="10" y="44" width="3.6" height="1.3" /></element>
		<element ref="text_l10b"><bounds x="10" y="45.2" width="3.6" height="1.3" /></element>
		<element ref="text_l11"><bounds x="16" y="44" width="3.6" height="1.3" /></element>
		<element ref="text_l12"><bounds x="22" y="44" width="3.6" height="1.3" /></element>

		<element ref="white"><bounds x="11.35" y="40.25" width="0.9" height="0.9" /></element>
		<element ref="white"><bounds x="17.35" y="40.25" width="0.9" height="0.9" /></element>
		<element ref="blackb"><bounds x="17.5" y="40.4" width="0.6" height="0.6" /></element>
	</view>

</mamelayout>