screen VerifyQuit
{
	onaction escape "event EscapeVerifyQuit"
	
	widget Label Frame
	{
		mins 220,124
		size 360,360

		texture "data/gfx/ui/banner/banner_Wing.png"
	}

	
	widget EffectEmitter lightning_orb
	{
		mins 400, 231
	
		effectName "HUD_lightning_orb_small_01"
		
		EventToStartEffectsOn "UIStartQuitLabelEffect"
		EventToStopEffectsOn "UIStopQuitLabelEffect"
		//StartOn
	}
	
	widget Label WishToQuit
	{
		mins 240, 255
		size 320, 50
		text "#WishToQuit"
		textVerticalAlignment "top"
		textAlignment "center"
		wordWrap		
		style "DisplayText"
	}
	
	widget Button Ok
	{
		onaction enter "quit"

		mins 366, 310
		size 64, 26

		text "#Yes"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
	}
	
	widget Button back
	{
		onaction enter "popdialog"

		mins 366, 360
		size 64, 26

		text "#No"
		textAlignment "center"
		textVerticalAlignment "top"
		style "Luxor2Style03"
		
		EventToExecuteActionOn "EscapeVerifyQuit" 
	}
	
	animation In
	{
		init screen color=(255,255,255,0)
		at 0 ms colorScreen from (255,255,255,0) to (255,255,255,255) over 300ms speed=Cosine
		at 0 ms consoleCommand		"event UIStartQuitLabelEffect"
	}
	
	animation Out
	{
		init screen color=(255,255,255,255)
		at 0 ms colorScreen from (255,255,255,255) to (255,255,255,0) over 300ms speed=Cosine
		at 0 ms consoleCommand		"event UIStopQuitLabelEffect"
	}
}

