<?xml version="1.0" encoding="utf-8"?>

<!--
==========================================
- LOADING SCREEN -
==========================================
-->
<objects>

	<script file="gui/loading/loading.js"/>
	<script file="gui/common/functions_utility_error.js"/>

	<!-- LOADING SCREEN BACKGROUND -->
	<object type="image" sprite="loadingBackground"/>
	
	<object size="50%-400 30 50%+400 150">
		<object name="loadingMapName" size="0 0 100% 32" type="text" style="loadingPageTitleText"/>
			
		<!-- LOADING SCREEN progressbar -->
		<object size="50%-256 48 50%+256 80" type="image" sprite="loadingProgressBarBackground">
			<object name="progressbar"
				type="progressbar"
				style="loadingProgressbar"
				size="56 5 456 100%-5"
			>
				<object name="progressbar_left" size="0%-12 0 0 100%" type="image" sprite="loadingProgressbar_left"/>
				<object name="progressbar_right" size="0 0 12 100%" type="image" sprite="loadingProgressbar_right"/>
				<action on="Progress">displayProgress();</action>
			</object>
		</object>
			
		<!-- LOADING SCREEN TEXT -->
		<object name="progressText" size="0 64 100% 100%" type="text" style="loadingBarText"/>
	</object>
		
	<!-- LOADING SCREEN TIP IMAGE-->
	<object size="50%-452 50%-196 50%+68 50%+196" type="image" sprite="loadingTipImage">
		<object name="tipImage" size="4 4 516 516" type="image">
			<object name="tipImageCover" size="0 0 100% 100%" type="image" sprite="loadingTipImageCover"/>
		</object>
	</object>

	<!-- LOADING SCREEN TIP TEXT-->
	<object size="50%+128 50%-193 50%+448 50%+193" type="image" sprite="loadingTipText">
		<object name="tipTitle" size="30 30 100% 50" type="text" style="loadingTipTitleText"/>
		<object name="tipText" size="30 50 100%-30 100%" type="text" style="loadingTipText"/>
	</object>

	<!-- LOADING SCREEN QUOTE (needs increased z value to overcome the transparent area of the tip image above it -->
	<object size="50%-448 50%+230 50%+448 100%-16" z="20">
		<object name="quoteTitleText" size="0 0 100% 30" type="text" style="loadingTitleText">Quote of the Day:</object>
		<object name="quoteText" size="0 30 100% 100%" type="text" style="loadingText"></object>
	</object>

</objects>
