diff options
Diffstat (limited to 'src/mame/layout/novag_savant.lay')
-rw-r--r-- | src/mame/layout/novag_savant.lay | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/mame/layout/novag_savant.lay b/src/mame/layout/novag_savant.lay new file mode 100644 index 00000000000..c484f3768b6 --- /dev/null +++ b/src/mame/layout/novag_savant.lay @@ -0,0 +1,75 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element> + <element name="cb_green"><rect><color red="0.3" green="0.8" blue="0.75" /></rect></element> + <element name="cb_light" defstate="1"> + <rect state="0"><color red="0.33" green="0.3" blue="0.15" /></rect> + <rect state="1"><color red="1.0" green="0.79" blue="0.38" /></rect> + </element> + + <element name="hl" defstate="0"> + <text string=" "><bounds x="0" y="0" width="1" height="1.0034" /></text> + <disk state="1"> + <bounds x="0.12" y="0.1217" width="0.76" height="0.7634" /> + <color red="1" green="1" blue="1" /> + </disk> + </element> + + +<!-- display --> + + <group name="display"> + <bounds x="0" y="0" width="101" height="114" /> + <screen index="0"><bounds x="0.5" y="0.5" width="100" height="112.735" /></screen> + + <!-- squares --> + <repeat count="4"> + <param name="y" start="10" increment="23.56" /> + <repeat count="4"> + <param name="x" start="14.84" increment="23.48" /> + <overlay element="cb_green"><bounds x="~x~" y="~y~" width="11.74" height="11.78" /></overlay> + </repeat> + </repeat> + <repeat count="4"> + <param name="y" start="21.78" increment="23.56" /> + <repeat count="4"> + <param name="x" start="3.1" increment="23.48" /> + <overlay element="cb_green"><bounds x="~x~" y="~y~" width="11.74" height="11.78" /></overlay> + </repeat> + </repeat> + + <overlay name="backlight" element="cb_light"><bounds x="0" y="0" width="101" height="114" /></overlay> + + <!-- sensors --> + <repeat count="8"> + <param name="y" start="10" increment="11.78" /> + <param name="i" start="8" increment="-1" /> + <repeat count="8"> + <param name="x" start="3.1" increment="11.74" /> + <param name="mask" start="0x01" lshift="1" /> + <bezel element="hl" inputtag="board:RANK.~i~" inputmask="~mask~"><bounds x="~x~" y="~y~" width="11.74" height="11.78" /><color alpha="0.15" /></bezel> + </repeat> + </repeat> + + <!-- mask edges --> + <bezel element="blackb"><bounds x="0" y="0" width="101" height="2" /></bezel> + <bezel element="blackb"><bounds x="0" y="8.2" width="101" height="1" /></bezel> + <bezel element="blackb"><bounds x="0" y="104.9" width="101" height="1" /></bezel> + <bezel element="blackb"><bounds x="0" y="111.7" width="101" height="2" /></bezel> + + <bezel element="blackb"><bounds x="0" y="0" width="1.5" height="114" /></bezel> + <bezel element="blackb"><bounds x="98.7" y="0" width="2" height="114" /></bezel> + </group> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="1.5" right="98.7" top="2" bottom="111.7" /> + <group ref="display"><bounds x="0" y="0" width="101" height="114" /></group> + </view> + +</mamelayout> |