﻿<!-- Theme by pajarorrojo-->
<theme>
	<formatVersion>7</formatVersion>
	<include>./theme.xml</include>
	<include>./_theme_lang/default_en.xml</include>
	<include lang="es">./_theme_lang/es.xml</include>
	<include lang="fr">./_theme_lang/fr.xml</include>
	<include lang="pt">./_theme_lang/pt.xml</include>
	<include lang="it">./_theme_lang/it.xml</include>


	<view name="splash">

		<image name="background">
			<linearSmooth>true</linearSmooth>
			<path ifSubset="colorset:blue">./_theme_options/colorsets/blue/background.jpg</path>
			<path ifSubset="colorset:black">./_theme_options/colorsets/black/background.jpg</path>
			<origin>0 0</origin>
			<pos>0 0</pos>
			<size>1 1</size>
			<zIndex>00</zIndex>
		</image>


		<text name="region" extra="true">
			<origin>0 0</origin>
			<pos>-0.02 0.945</pos>
			<size>1 0.05</size>
			<color>ffffff</color>
			<fontPath>./_theme_inc/fonts/SST Roman.ttf</fontPath>
			<fontSize>0.026</fontSize>
			<fontSize tinyScreen="true">0.031</fontSize>

			<alignment>right</alignment>
			<glowColor>00000035</glowColor>
			<glowSize>1</glowSize>
			<glowOffset>3 2</glowOffset>
			<zIndex>60</zIndex>
			<backgroundColor>ff000000</backgroundColor>
		</text>
		<text name="region" extra="true" region="eu">
			<text>Region: Europe</text>
		</text>
		<text name="region" extra="true" region="jp">
			<text>Region: Japan</text>
		</text>
		<text name="region" extra="true" region="us">
			<text>Region: America</text>
		</text>


		<image name="logo-splash" extra="true">
			<origin>0 0</origin>
			<pos>0.03 0.05</pos>
			<maxSize>0.25 0.25</maxSize>
			<maxSize ifSubset="aspect-ratio:4-3">0.2 0.2</maxSize>
			<path ifSubset="frontend:batocera">./_theme_inc/images/batocera-logo-splash.svg</path>
			<path ifSubset="frontend:retrobat">./_theme_inc/images/retrobat-logo.png</path>
			<path ifSubset="frontend:batocera-plus">./_theme_inc/images/batocera_plus_logo.png</path>
			<path ifSubset="frontend:emuelec">./_theme_inc/images/emuelec-logo-splash.png</path>
			<linearSmooth>true</linearSmooth>
		</image>

		<image name="info-ico-ratio" extra="true">
			<path ifSubset="aspect-ratio:16-9">./_theme_inc/images/16-9.svg</path>
			<path ifSubset="aspect-ratio:4-3">./_theme_inc/images/4-3.svg</path>
			<path ifSubset="aspect-ratio:16-10">./_theme_inc/images/16-10.svg</path>
			<path ifSubset="aspect-ratio:3-2">./_theme_inc/images/3-2.svg</path>
			<path ifSubset="aspect-ratio:5-3">./_theme_inc/images/5-3.svg</path>

			<origin>0 0</origin>
			<linearSmooth>true</linearSmooth>
			<maxSize>0.08 0.08</maxSize>
			<maxSize tinyScreen="true">0.12 0.12</maxSize>
			<pos>0.9 0.83</pos>
			<pos tinyScreen="true">0.87 0.78</pos>
			<color>ffffff40</color>
		</image>

		<text name="welcome" extra="true">
			<text ifSubset="frontend:batocera">${theme.welcome} Batocera</text>
			<text ifSubset="frontend:retrobat">${theme.welcome} Retrobat</text>
			<text ifSubset="frontend:batocera-plus">${theme.welcome} Batocera Plus</text>
			<text ifSubset="frontend:emuelec">${theme.welcome} EmuElec</text>
			<text ifSubset="frontend:no-frontend">${theme.welcome} EmulationStation</text>
			<origin>0 0</origin>
			<pos>0 0.2</pos>
			<size>1 0.05</size>
			<color>ffffff</color>
			<fontPath>./_theme_inc/fonts/SST Light.ttf</fontPath>
			<fontSize>0.04</fontSize>
			<fontSize ifSubset="aspect-ratio:4-3">0.038</fontSize>
			<fontSize ifSubset="aspect-ratio:4-3" tinyScreen="true">0.03</fontSize>
			<alignment>center</alignment>
			<glowColor>00000035</glowColor>
			<glowSize>1</glowSize>
			<glowOffset>3 2</glowOffset>
			<zIndex>60</zIndex>
			<backgroundColor>ff000000</backgroundColor>
		</text>

		<image name="avatar" extra="true">
			<origin>0.5 0</origin>
			<pos>0.5 0.341</pos>
			<maxSize>0.222 0.222</maxSize>
			<backgroundColor>ff000000</backgroundColor>
			<linearSmooth>true</linearSmooth>
			<zIndex>10</zIndex>
		</image>

		<image name="avatarFrame" extra="true">
			<origin>0.5 0</origin>
			<path>./_theme_inc/images/frame-splash.png</path>
			<pos>0.5 0.326</pos>
			<maxSize>0.255 0.255</maxSize>
			<verticalAlignment>middle</verticalAlignment>
			<alignment>center</alignment>
			<linearSmooth>true</linearSmooth>
			<zIndex>9</zIndex>
		</image>


		<text name="username" extra="true">
			<text>${theme.nick}</text>
			<text ifSubset="system-username:custom">${custom.nick}</text>
			<pos>0 0.58</pos>
			<size>1 0.034</size>
			<color>ffffff</color>
			<fontPath>./_theme_inc/fonts/SST Light.ttf</fontPath>
			<fontSize>0.038</fontSize>
			<alignment>center</alignment>
			<glowColor>00000035</glowColor>
			<glowSize>1</glowSize>
			<glowOffset>3 2</glowOffset>
			<zIndex>99</zIndex>
			<backgroundColor>ff000000</backgroundColor>
		</text>


		<text name="label">
			<fontPath>./_theme_inc/fonts/SST Light.ttf</fontPath>
			<pos>0 0.703</pos>
			<color>${splash.labelColor}</color>
			<fontSize>0.030</fontSize>
			<fontSize ifSubset="aspect-ratio:4-3" tinyScreen="true">0.023</fontSize>

			<alignment>center</alignment>
			<glowColor>00000035</glowColor>
			<glowSize>1</glowSize>
			<glowOffset>3 2</glowOffset>
		</text>

		<image name="progressbar">
			<origin>0 0</origin>
			<pos>0.250 0.703</pos>
			<size>0.5 0.04</size>
			<rotation>0</rotation>
			<rotationOrigin>1.1 1.6</rotationOrigin>
			<color>${splash.progressbar}</color>
		</image>

		<image name="progressbar:active">
			<pos>0.250 0.700</pos>
			<size>-0.08 -0.386</size>
			<rotation>0</rotation>
			<rotationOrigin>1.1 1.6</rotationOrigin>
			<color>${splash.progressbarActive}</color>
		</image>

		<image name="linea-inferior" extra="true">
			<path>./_theme_inc/images/pixel-blanco.png</path>
			<pos>0 0.935</pos>
			<size>1 0.0011</size>

			<size tinyScreen="true">1 0.005</size>
			<backgroundColor>ff000000</backgroundColor>
			<verticalAlignment>top</verticalAlignment>
			<alignment>left</alignment>
			<linearSmooth>true</linearSmooth>
			<zIndex>99</zIndex>
		</image>

		<!-- listado de avatares-->
		<image name="avatar" extra="true">
			<path>./_theme_options/avatars/${image.avatar}</path>
			<path ifSubset="system-avatar:custom">./custom-avatar.png</path>

		</image>
	</view>
	<include>./custom-username.xml</include>
	<include>./_theme_options/usernames.xml</include>
	<include>./_theme_options/avatars.xml</include>


</theme>