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

<objects>

	<script directory="gui/common/"/>
	<script directory="gui/modmod/help/"/>

	<!-- Add a translucent black background to fade out the menu page -->
	<object type="image" sprite="ModernFade"/>

	<object type="image" style="ModernDialog" size="50%-340 50%-275 50%+340 50%+275">
		<object name="title" style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14">
			<translatableAttribute id="caption">Pyrogenesis Mod Selector</translatableAttribute>
		</object>

		<object type="image" sprite="ModernFade" size="20 20 100%-20 100%-58">
			<object name="mainText" type="text" style="ModernTextPanel"/>
		</object>

		<object name="closeButton" type="button" style="ModernButtonRed" tooltip_style="snToolTip" size="0%+24 100%-52 33%-4 100%-24" hotkey="cancel">
			<translatableAttribute id="caption">Close</translatableAttribute>
		</object>
		<object type="button" style="ModernButtonRed" size="33%+4 100%-52 66%-4 100%-24">
			<translatableAttribute id="caption">Modding Guide</translatableAttribute>
			<action on="Press">Engine.OpenURL("https://gitea.wildfiregames.com/0ad/0ad/wiki/Modding_Guide");</action>
		</object>
		<object type="button" style="ModernButtonRed" size="66%+4 100%-52 100%-24 100%-24">
			<translatableAttribute id="caption">Visit mod.io</translatableAttribute>
			<action on="Press">Engine.OpenURL("https://mod.io");</action>
		</object>
	</object>

</objects>
