<?xml version="1.0" encoding="UTF-8" ?>
<!--
autor.: Juliano Dorigão
email.: jdorigao@gmail.com
-->

<theme>
	<formatVersion>7</formatVersion>
	<include>./art/icons/menuicons.xml</include>
	<include>./art/menu/menu.xml</include>

	<view name="screen">
    	<text name="clock">
			<color>FFFFFF</color>
			<fontPath>./art/fonts/ds-digib.ttf</fontPath>
			<fontSize>0.04</fontSize>
			<pos>0.90 0.945</pos>
			<size>0.09 0.058</size>
			<verticalAlignment>center</verticalAlignment>
    	</text>
    
	  	<controllerActivity name="controllerActivity">
			<pos>0.83 0.96</pos>
			<size>0.085 0.025</size>
			<itemSpacing>0.003</itemSpacing>
			<imagePath>./art/icons/gamepad.svg</imagePath>
			<color>FFFFFF90</color>
			<activityColor>FFFFFF</activityColor>
			<hotkeyColor>FF9900</hotkeyColor>
			<verticalAlignment>center</verticalAlignment>
		</controllerActivity>		
	
		<batteryIndicator name="batteryIndicator">
			<pos>0.955 0.0125</pos>
			<size>0.033 0.033</size>
			<incharge>./art/battery/incharge.svg</incharge>
			<full>./art/battery/full.svg</full>
			<at75>./art/battery/75.svg</at75>
			<at50>./art/battery/50.svg</at50>
			<at25>./art/battery/25.svg</at25>
			<empty>./art/battery/empty.svg</empty>
			<color>FFFFFFA0</color>
		</batteryIndicator>
	
		<batteryIndicator name="batteryIndicator" tinyScreen="true">
			<pos>0.915 0.013</pos>
			<size>0.07 0.07</size>
		</batteryIndicator>
	</view>
	
	<view name="system, basic, detailed">
		<image name="logo">
			<path>./art/logos/${system.theme}.png</path>
			<path>./art/logos/${system.theme}.svg</path>
		</image>

		<image name="background" extra="true">
			<path>./art/background/${system.theme}.jpg</path>
			<pos>0 0</pos>
			<size>1 1</size>
		</image>

		<helpsystem name="help">
			<fontSize>0.03</fontSize>
			<pos>0.01 0.959</pos>
			<textColor>ececec</textColor>
			<iconColor>ff9900</iconColor>
		</helpsystem>

		<image name="footer" extra="true">
			<pos>0 1</pos>
			<origin>0 1</origin>
			<size>1 0.06</size>
			<path>./art/assets/footer.png</path>
		</image>
	</view>

	<view name="basic">
		<image name="back-logo" extra="true">
			<origin>0.5 0.5</origin>
			<pos>0.5 0.1</pos>
			<size>0.5 0.15</size>
			<path>./art/assets/header.png</path>
		</image>

		<image name="logo">
			<path>./art/logos/${system.theme}.png</path>
			<path>./art/logos/${system.theme}.svg</path>
			<origin>0.5 0.5</origin>
			<pos>0.5 0.1</pos>
			<maxSize>0.3 0.12</maxSize>
		</image>

		<image name="back-gamelist" extra="true">
			<pos>0.25 0.188</pos>
			<size>0.5 0.745</size>
			<path>./art/assets/back.png</path>
		</image>

		<textlist name="gamelist">
			<pos>0.25 0.212962962962963</pos>
			<size>0.5 0.7222222222222222</size>
			<selectorColor>ff9900</selectorColor> <!-- Selection bar -->
			<selectedColor>262626</selectedColor> <!-- Selection letters -->
			<primaryColor>ffffff</primaryColor> <!-- Letters -->
			<secondaryColor>9F9F9F</secondaryColor>
			<fontPath>./art/fonts/TitilliumWeb-SemiBold.ttf</fontPath>
			<fontSize>0.025</fontSize>
			<alignment>center</alignment>
			<horizontalMargin>0.01</horizontalMargin>
			<scrollSound>./art/sound/scroll.wav</scrollSound>
		</textlist>
	</view>

	<view name="detailed">
		<image name="back-logo" extra="true">
			<path>./art/assets/header.png</path>
		</image>

		<image name="logo">
			<path>./art/logos/${system.theme}.png</path>
			<path>./art/logos/${system.theme}.svg</path>
		</image>

		<video name="md_video">
      		<delay>0.8</delay>
			<showSnapshotNoVideo>true</showSnapshotNoVideo>
			<showSnapshotDelay>true</showSnapshotDelay>
			<loops>0</loops>
		</video>
	</view>

	<include subset="layout" name="default" displayName="Default">./art/layouts/default.xml</include>
	<include subset="layout" name="legacy" displayName="Legacy">./art/layouts/legacy.xml</include>
	<include subset="layout" name="odroidgoa" displayName="Odroid GO">./art/layouts/odroidgoa.xml</include>
	
</theme>