<!--
HEXA Theme for Retrobat 4+ / Batocera v32+
By Helmic
-->

<?xml version="1.0" encoding="UTF-8"?>
<theme>
<formatVersion>7</formatVersion>

    <subset name="carouselWallPaint" displayName="${lowSpecs}${lowSpecsPi}${lang.carouselWallPaint}">
        <include name="no" displayName="${lang.no}"/>
		<include name="yesBw" displayName="${lang.yesBw}"/>
		<include name="yesColor" displayName="${lang.yesColor}"/>
		<include name="custom" displayName="${lang.custom}"/>
    </subset>

	<view name="system">

		<image name="logoPaint" extra="true" ifSubset="carouselWallPaint:yesColor|yesBw|custom,fullHexa:yes">
			<saturation>1.4</saturation>
			<saturation ifSubset="carouselWallPaint:yesBw">0</saturation>
            <linearSmooth>true</linearSmooth>
            <path>./../../default/color.png</path>
            <path>./../../default/color-${lang}.png</path>
            <path>./../../${system.theme}/color.png</path>
            <path>./../../${system.theme}/color-${lang}.png</path>
            <path region="us">./../../${system.theme}/us/color.png</path>
            <path region="jp">./../../${system.theme}/jp/color.png</path>
            <path ifSubset="carouselWallPaint:custom">./../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom">./../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifArch="windows">./../../../../../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifNotArch="windows">./../../../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifArch="windows">./../../../../../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifNotArch="windows">./../../../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
			<maxSize>1.3 99</maxSize>
			<maxSize ifSubset="carouselWallPaint:custom">99 1</maxSize>
			<pos>0.5 0.5</pos>
			<origin>0.5 0.7</origin>
            <zIndex>1</zIndex>
			<gradientType>vertical</gradientType>			
			<color>ffffffdf</color>
			<colorEnd>ffffff80</colorEnd>
			<color ifSubset="wall:wallDark">ffffff8c</color>
			<colorEnd ifSubset="wall:wallDark|wallLight">ffffff4d</colorEnd>
			<opacity>0.5</opacity>			
			<visible ifSubset="carouselWallPaint:no">false</visible>			
		</image>

		<image name="logoPaintFix" extra="true" ifSubset="ambiance:randomVideosAudioOn|randomVideosAudioOff,carouselWallPaint:yesColor|yesBw|custom,fullHexa:yes">
			<saturation>1.4</saturation>
			<saturation ifSubset="carouselWallPaint:yesBw">0</saturation>
            <linearSmooth>true</linearSmooth>
            <path>./../../default/color.png</path>
            <path>./../../default/color-${lang}.png</path>
            <path>./../../${system.theme}/color.png</path>
            <path>./../../${system.theme}/color-${lang}.png</path>
            <path region="us">./../../${system.theme}/us/color.png</path>
            <path region="jp">./../../${system.theme}/jp/color.png</path>
            <path ifSubset="carouselWallPaint:custom">./../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom">./../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifArch="windows">./../../../../../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifNotArch="windows">./../../../../_hexaCustom/wallpapers/custom.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifArch="windows">./../../../../../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
            <path ifSubset="carouselWallPaint:custom" ifNotArch="windows">./../../../../_hexaCustom/wallpapers/${system.theme}.jpg</path>
			<maxSize>1.3 99</maxSize>
			<maxSize ifSubset="carouselWallPaint:custom">99 1</maxSize>
			<pos>0.5 0.5</pos>
			<origin>0.5 0.7</origin>
            <zIndex>8</zIndex>
			<gradientType>vertical</gradientType>			
			<color>ffffffdf</color>
			<colorEnd>ffffff80</colorEnd>
			<color ifSubset="wall:wallDark">ffffff8c</color>
			<colorEnd ifSubset="wall:wallDark|wallLight">ffffff4d</colorEnd>
			<visible ifSubset="carouselWallPaint:no">false</visible>			
            <storyboard>
                <animation property="opacity" from="0.5" to="0.5" duration="3000" mode="linear"/>
                <animation property="opacity" from="0.5" to="0" duration="150" mode="linear" begin="3000"/>
            </storyboard>
 		</image>

	</view>

</theme>