<?xml version="1.0" encoding="UTF-8"?>
<app name="Speedtest" version="0.3" icon="images/icon.png">
	<resources>
		<module src="modules/app_speedtest.klf" />
		<font src="fonts/dinnext.ttf" type="ttf" size="24" name="dinnext" />
		<surface width="640" height="480" name="back">
			<blit surface="../../gui/back/nautilus.jpg" />
		</surface>
		<image src="images/hdd.png" name="hdd" />
		<image src="images/hdd_high.png" name="hdd_h" />
		<image src="images/hdd_disable.png" name="hdd_d" />
		<image src="images/sd.png" name="sd" />
		<image src="images/sd_high.png" name="sd_h" />
		<image src="images/sd_disable.png" name="sd_d" />
		<image src="images/cd.png" name="cd" />
		<image src="images/cd_high.png" name="cd_h" />
		<image src="images/cd_disable.png" name="cd_d" />
		<image src="images/pc.png" name="pc" />
		<image src="images/pc_high.png" name="pc_h" />
		<image src="images/pc_disable.png" name="pc_d" />
		<image src="../../gui/icons/normal/button_cancel.png" name="iExitNorm" />
		<image src="../../gui/icons/highlight/button_cancel.png" name="iExitHigh" />
	</resources>
	<body width="100%" height="100%" background="back" onload="export:Speedtest_Init()">
		<panel x="5%" y="60" width="90%" height="128">
			<panel width="25%">
				<input type="button"
						normal="sd"
						highlight="sd_h"
						pressed="sd"
						disabled="sd_d"
						onclick="export:Speedtest_Run()"
						width="128"
						align="center"
						valign="center"
						name="/sd" />
			</panel>
			<panel width="25%">
				<input type="button"
						normal="hdd"
						highlight="hdd_h"
						pressed="hdd"
						disabled="hdd_d"
						onclick="export:Speedtest_Run()"
						width="128"
						align="center"
						valign="center"
						name="/ide" />
			</panel>
			<panel width="25%">
				<input type="button"
						normal="pc"
						highlight="pc_h"
						pressed="pc"
						disabled="pc_d"
						onclick="export:Speedtest_Run()" 
						width="128"
						align="center"
						valign="center"
						name="/pc" />
			</panel>
			<panel width="25%">
				<input type="button"
						normal="cd"
						highlight="cd_h"
						pressed="cd"
						disabled="cd_d"
						onclick="export:Speedtest_Run()"
						width="128"
						align="center"
						valign="center"
						name="/cd" />
			</panel>
		</panel>
		<panel y="250" height="50">
			<label height="40" font="dinnext" color="#1ce346" name="speedw_text" />
		</panel>
		<panel height="60">
			<label height="40" font="dinnext" color="#1ce346" name="speedr_text" />
		</panel>
		<panel height="50">
			<label height="40" font="dinnext" color="#1ce346" text="Select a device" name="status_text" />
		</panel>
		<input type="button" 
				normal="iExitNorm" 
				highlight="iExitHigh" 
				pressed="iExitNorm" 
				disabled="iExitNorm"  
				onclick="console:app -o -n Main"
				x="92%" y="88%" width="48" height="48" />
	</body>
</app>
