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

	<script directory="gui/common/"/>
	<script directory="gui/termsdialog/"/>

	<object type="image" sprite="ModernFade"/>

	<object type="image" style="ModernDialog" size="50%-360 50%-290 50%+360 50%+290">

		<object name="title" style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14"/>

		<object size="25 18 100%-25 50">
			<object type="text" name="languageLabel" style="ModernLabelText">
				<translatableAttribute id="caption">Language</translatableAttribute>
			</object>
			<object type="dropdown" name="languageDropdown" style="ModernDropDown"/>
		</object>

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

		<object size="25 100%-45 100% 100%-16">

			<object size="0 0 160 100%" type="button" name="button[0]" style="ModernButtonRed" hidden="true"/>
			<object size="170 0 330 100%" type="button" name="button[1]" style="ModernButtonRed" hidden="true"/>

			<object size="100%-355 0 100% 100%">
				<object type="button" style="ModernButtonRed" size="0 0 160 100%" hotkey="cancel">
					<translatableAttribute id="caption">Decline</translatableAttribute>
					<action on="Press">closeTerms(false);</action>
				</object>

				<object name="connectButton" type="button" style="ModernButtonRed" size="170 0 330 100%">
					<translatableAttribute id="caption">Accept</translatableAttribute>
					<action on="Press">closeTerms(true);</action>
				</object>
			</object>
		</object>

	</object>

</objects>
