﻿<?xml version="1.0" encoding="UTF-8"?>
<theme>
	<formatVersion>7</formatVersion>
	<view name="system">
		<video name="randomVideo" extra="true">
			<linearSmooth>true</linearSmooth>
			<default>./parts/noise.mp4</default>
			<default ifSubset="randomVideos:inFrame">./parts/default.mp4</default>
			<path>{random}</path>
			<path ifSubset="allowSystemVideoCustom:yes">./../_rcbxCustom/videos/${system.theme}.mp4</path>
			<path ifSubset="allowSystemVideoCustom:yes" ifArch="windows">./../../../../../_rcbxCustom/videos/${system.theme}.mp4</path>
			<path ifSubset="allowSystemVideoCustom:yes" ifNotArch="windows">./../../../_rcbxCustom/videos/${system.theme}.mp4</path>
			<delay>0.3</delay>
		</video>
		<!--only audio-->
		<video name="randomVideo" extra="true" ifSubset="randomVideos:onlyAudio">
			<zIndex>0</zIndex>
			<size>0 0</size>
			<opacity>0</opacity>			
			<delay tinyScreen="true" ifSubset="tiny:handheld">1</delay>
		</video>
		<!--in frame-->
		<video name="randomVideo" extra="true" ifSubset="randomVideos:inFrame">
			<zIndex>2000</zIndex>
			<maxSize>0.25 0.25</maxSize>
			<maxSize ifSubset="carousel:bottom">0.31 0.31</maxSize>
			<maxSize tinyScreen="true" ifSubset="carousel:bottom,tiny:handheld">0.53 0.53</maxSize>
			<maxSize tinyScreen="true" ifSubset="carousel:legacy,tiny:handheld">0.32 0.32</maxSize>
			<maxSize tinyScreen="true" ifSubset="carousel:vertical|wheel,tiny:handheld">0.35 0.35</maxSize>
			<opacity>1</opacity>
			<effect>fade</effect>
			<origin>0.5 0.5</origin>
			<pos>0.5 0.2</pos>
			<pos ifSubset="carousel:bottom">0.5 0.23</pos>
			<pos tinyScreen="true" ifSubset="carousel:bottom,tiny:handheld">0.5 0.32</pos>
			<roundCorners>0.018</roundCorners>
			<roundCorners tinyScreen="true" ifSubset="carousel:bottom,tiny:handheld">0.018</roundCorners>
			<color ifSubset="randomShader:no">cccccc</color>
			<!--carousel vertical-->
			<pos ifSubset="carousel:vertical|wheel">0.61 0.2</pos>
			<pos tinyScreen="true" ifSubset="carousel:vertical|wheel,tiny:handheld">0.61 0.27</pos>
			<x ifSubset="carousel:vertical|wheel,bands:no">0.7098958333333333</x>
			<delay tinyScreen="true" ifSubset="tiny:handheld">1</delay>
			<storyboard>
				<animation property="scale" from="0" to="0" mode="linear" duration="350"/>
				<animation property="scale" from="0" to="1" mode="linear" duration="150" begin="350"/>
			</storyboard>			
		</video>
		<!--as paint-->
		<video name="randomVideo" extra="true" ifSubset="randomVideos:asPaint">
			<zIndex>99</zIndex>
			<size>1 1</size>
			<opacity>0.9</opacity>
			<saturation>1.1</saturation>
			<color>ffffff</color>
			<delay>0.6</delay>
			<delay tinyScreen="true" ifSubset="tiny:handheld">1</delay>
			<effect>none</effect>
			<origin>0.5 0.5</origin>
			<pos>0.5 0.5</pos>
			<storyboard>
				<animation property="opacity" from="0" mode="easeInCubic" duration="180"/>
			</storyboard>			
		</video>
		<!--on wall-->
		<video name="randomVideo" extra="true" ifSubset="randomVideos:onWall">
			<zIndex>200</zIndex>
			<size>1 1</size>
			<opacity>1</opacity>
			<saturation>1.2</saturation>
			<color>808080</color>
			<effect>none</effect>
			<origin>0.5 0.5</origin>
			<pos>0.5 0.5</pos>
			<delay tinyScreen="true" ifSubset="tiny:handheld">1</delay>
			<storyboard>
				<animation property="w" from="0" to="0" mode="linear" duration="500"/>
				<animation property="w" from="0" to="1" mode="easeInCubic" duration="180" begin="500"/>
				<animation property="scale" from="0" to="0" mode="linear" duration="500"/>
				<animation property="scale" from="0" to="1" mode="easeOut" duration="80" begin="500"/>
			</storyboard>			
		</video>
		<!--full screen-->
		<video name="randomVideo" extra="true" ifSubset="randomVideos:fullScreen">
			<zIndex>1100</zIndex>
			<size>1 1</size>
			<opacity>1</opacity>
			<effect>none</effect>
			<origin>0.5 0.5</origin>
			<pos>0.5 0.5</pos>
			<color>efefef</color>
			<delay>0.3</delay>
			<storyboard>
				<animation property="offsetY" from="-1" to="-1" mode="linear" duration="300"/>
				<animation property="offsetY" from="-1" to="0" mode="easeOut" duration="200" begin="300"/>
				<animation property="scale" from="0" to="1.2" mode="easeInCubic" duration="200" begin="300"/>
				<animation property="roundCorners" from="0.4" to="0" mode="easeInCubic" duration="200" begin="300"/>
				<animation property="scale" from="1.2" to="1" mode="bump" duration="150" begin="550"/>
			</storyboard>			
		</video>
		<video name="randomVideo" extra="true" ifSubset="randomVideosAudio:on">
			<audio>true</audio>
		</video>
		<video name="randomVideo" extra="true" ifSubset="randomVideosAudio:off">
			<audio>false</audio>
		</video>
		<video name="randomVideo" extra="true" ifSubset="randomVideos:onlyAudio">
			<audio>true</audio>
		</video>
		<video name="randomVideo" extra="true">
			<saturation ifSubset="randomVideosSaturation:75%">0.75</saturation>
			<saturation ifSubset="randomVideosSaturation:50%">0.50</saturation>
			<saturation ifSubset="randomVideosSaturation:25%">0.25</saturation>
			<saturation ifSubset="randomVideosSaturation:0%">0</saturation>
			<color ifSubset="randomVideosSaturation:75%|50%|25%|0%">ffffff</color>
		</video>
	</view>
</theme>
