mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-29 10:08:51 +01:00
110 lines
4.1 KiB
XML
110 lines
4.1 KiB
XML
<layout width="1600" height="1200" font="mamedfont.ttf" loadFontSize="64" fontColor="dedede">
|
|
|
|
|
|
<!-- Sounds -->
|
|
|
|
<sound type="load" src="load.wav" />
|
|
<sound type="unload" src="unload.wav" />
|
|
<sound type="highlight" src="highlight.wav" />
|
|
<sound type="select" src="select.wav" />
|
|
|
|
|
|
<!-- Background image -->
|
|
|
|
<image src="mamedbg.jpg" x="0" y="0" height="stretch" width="stretch" layer="0"/>
|
|
|
|
|
|
<!--Menu structure-->
|
|
|
|
<menu orientation="vertical" scrollTime=".24" scrollAcceleration=".04" algorithm="easeincircular" x="0" y="862" width="1600" height="245">
|
|
<itemDefaults x="center" height="35" xOrigin="800" width="333" maxWidth="1418" fontSize="35" alpha="0.5" layer="1">
|
|
<onMenuExit>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0.5" to="0" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuExit>
|
|
<onMenuEnter>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0" to="0.5" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuEnter>
|
|
</itemDefaults>
|
|
<item index="start" spacing="0" alpha="0" height="0"/>
|
|
<item index="end" spacing="0" alpha="0" height="0"/>
|
|
<item index="3" spacing="2" height="53" fontSize="53" alpha="1" selected="true">
|
|
<onMenuExit>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuExit>
|
|
<onMenuEnter>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0" to="1" algorithm="easeincircular"/>
|
|
</set>
|
|
</onMenuEnter>
|
|
</item>
|
|
</menu>
|
|
|
|
|
|
<!-- Reloadable items -->
|
|
|
|
<reloadableVideo imageType="screenshot" x="498" y="580" xOrigin="center" yOrigin="center" height="395" maxWidth="667" layer="2">
|
|
<onHighlightEnter>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0" to="1" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightEnter>
|
|
<onHighlightExit>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightExit>
|
|
</reloadableVideo>
|
|
|
|
<reloadableImage type="device" x="1227" y="655" xOrigin="center" yOrigin="bottom" height="540" maxWidth="535" layer="3">
|
|
<onHighlightEnter menuIndex="0">
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0" to="1" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightEnter>
|
|
<onHighlightExit menuIndex="0">
|
|
<set duration=".3">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightExit>
|
|
</reloadableImage>
|
|
<reloadableImage type="device" mode="system" x="1227" y="655" xOrigin="center" yOrigin="bottom" height="540" maxWidth="535" layer="3"/>
|
|
|
|
|
|
<reloadableImage type="logo" x="1227" y="120" xOrigin="center" yOrigin="top" height="170" maxWidth="535" layer="4">
|
|
<onHighlightEnter>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="0" to="1" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightEnter>
|
|
<onHighlightExit>
|
|
<set duration=".3">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onHighlightExit>
|
|
</reloadableImage>
|
|
<reloadableImage type="logo" x="498" y="390" xOrigin="center" yOrigin="bottom" height="60" maxWidth="300" layer="4" alpha="0">
|
|
<onIdle>
|
|
<set duration="1">
|
|
<animate type="alpha" from="0" to="1" algorithm="easeinquadratic"/>
|
|
</set>
|
|
<set duration="1">
|
|
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
|
</set>
|
|
</onIdle>
|
|
</reloadableImage>
|
|
|
|
<reloadableText type="year" x="1020" y="790" xOrigin="center" fontSize="48" maxWidth="168" layer="6"/>
|
|
|
|
<reloadableText type="manufacturer" x="1500" y="790" xOrigin="right" fontSize="48" maxWidth="350" layer="6"/>
|
|
|
|
<reloadableText type="genre" x="1258" y="730" xOrigin="center" fontSize="48" maxWidth="400" layer="6"/>
|
|
|
|
|
|
</layout>
|