windowDef Desktop
{
	menugui	1
	rect	0,0,640,480	

	/*
	onTime 500 {
		runScript "interactionSystem::getMouseCoords" ;
		set	"cmd" "exec 'say hello' ; runScript interactionSystem::getMouseCoords" ;
		transition "world_window::backcolor" "1 1 1 1" "0,0,0,0" "500" ;
		runScript "interactionSystem::getMouseCoords" ;
		showcursor "1" ;
		resetTime 0;
	}
	*/

	windowDef Main
	{
		rect	0,374,640,106
		visible	1
		backcolor	0.25098041,0,0,0.25
		bordersize	2
		bordercolor	1,0,0,0.25

		onMouseEnter {
			transition backcolor "0.25098041 0 0 0.25" "0.25098041 0 0 0.75" "250" ;
			transition bordercolor "1 0 0 0.25" "1 0 0 0.75" "250"
		}

		onMouseExit {
			transition backcolor "0.25098041 0 0 0.75" "0.25098041 0 0 0.25" "250" ;
			transition bordercolor "1 0 0 0.75" "1 0 0 0.25" "250"
		}

	}
	windowDef Look_button
	{
		rect	20,393,65,25
		visible	1
		backcolor	0,0,0.627451,1
		bordersize	2
		bordercolor	0.75294125,0.75294125,0.75294125,1
		forecolor	1,1,1,1
		text	"LOOK"
		textscale	0.25
		textalign	1
		font	"fonts/english"

		onAction {
			transition backcolor "1 1 1 1" "0 0 0.627451 1" "500" ;
			set "cmd" "play guisounds_click"
		}

	}
	windowDef Open_button
	{
		rect	20,439,65,25
		visible	1
		backcolor	0,0,0.627451,1
		bordersize	2
		bordercolor	0.75294125,0.75294125,0.75294125,1
		forecolor	1,1,1,1
		text	"OPEN"
		textscale	0.25
		textalign	1
		font	"fonts/english"

		onAction {
			transition backcolor "1 1 1 1" "0,0,0.627451,1" "500" ;
			set "cmd" "play guisounds_click" ;
		}

	}
	windowDef Use_button
	{
		rect	121,393,65,25
		visible	1
		backcolor	0,0,0.627451,1
		bordersize	2
		bordercolor	0.75294125,0.75294125,0.75294125,1
		forecolor	1,1,1,1
		text	"USE"
		textscale	0.25
		textalign	1
		font	"fonts/english"

		onAction {
			transition backcolor "1 1 1 1" "0,0,0.627451,1" "500" ;
			set "cmd" "play guisounds_click" ;
		}

	}
	windowDef Exit_button
	{
		rect	553,439,65,25
		visible	1
		backcolor	0,0,0.627451,1
		bordersize	2
		bordercolor	0.75294125,0.75294125,0.75294125,1
		forecolor	1,1,1,1
		text	"EXIT"
		textscale	0.25
		textalign	1
		font	"fonts/english"

		onAction {
			transition backcolor "1 1 1 1" "0,0,0.627451,1" "500" ;
			set "cmd" "play guisounds_click" ;
		}

	}
	windowDef world_window
	{
		rect	0,0,639,374
		visible	1
		forecolor	1,0,0,1
		text		"gui::mousex"
		textscale	2
		textalign	1
		font	"fonts/english"

		onAction {
			//set	"cmd" "exec 'say hello' ; runScript interactionSystem::getMouseCoords" ;
			//runScript "interactionSystem::getMouseCoords" ;
			transition backcolor "1 1 1 1" "0,0,0,0" "500" ;
			//set "cmd" "script interactionSystem::getMouseCoords()";
			//set 	"cmd" "exec 'map jer/menuTest'";
			//set 	"cmd" "exec 'say hello'";
			//set "cmd" "script 'interactionSystem::getMouseCoords()'"
			//set "cmd" "script "interactionSystem::getMouseCoords()"" ;
			set "gui::getMouseCoords" "1"
		}
	}
}
