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

<objects>
	<script file="gui/common/functions_global_object.js"/>
	<script file="gui/splashscreen/splashscreen.js"/>

	<!-- Add a translucent black background to fade out the menu page -->
	<object type="image" z="0" style="TranslucentPanel"/>

	<object type="image" style="StoneDialog" size="50%-274 50%-200 50%+274 50%+200">
		<object type="text" style="TitleText" size="50%-128 0%-16 50%+128 16">Welcome to 0 A.D. !</object>

			<object type="image" sprite="BackgroundTranslucent" size="20 20 100%-20 100%-52">
				<object name="mainText" type="text" style="textPanel"/>
				<object size="8 100%-60 100% 100%">
					<object size="0 20 100% 100%">
						<object name="displaySplashScreenText" size="20 0 100% 100%" type="text" style="LeftLabelText">Show this message in the future</object>
						<object name="displaySplashScreen" checked="true" size="0 50%-8 16 50%+8" type="checkbox" style="StoneCrossBox"/>
					</object>
				</object>
			</object>
		<object name="btnOK" type="button" style="StoneButton" tooltip_style="snToolTip" size="24 100%-52 188 100%-24">
			OK
			<action on="Press"><![CDATA[
			Engine.SetSplashScreenEnabled(getGUIObjectByName("displaySplashScreen").checked);
			Engine.PopGuiPage();
			]]></action>
		</object>
		<object type="button" style="StoneButton" size="192 100%-52 356 100%-24">
			Known issues (web)
			<action on="Press"><![CDATA[
				var url = "http://www.wildfiregames.com/forum/index.php?showtopic=15796";
				Engine.OpenURL(url);
				messageBox(600, 200, "Opening "+url+"\n in default web browser. Please wait...", "Opening page", 2);
				]]></action>
		</object>
	</object>
	
</objects>
