require( "screens/style.lua" )

MyFont = {
  standardFont,
  20,
  YellowColor
};

SaveFont = {
  standardFont,
  16,
  YellowColor
};

MakeDialog
{
	Bitmap
	{ 
		image="backgrounds/small_dialog.jpg",	
		x=kCenter,
		y=kCenter,
		
		
		
		Text
		{
			font = MyFont,
			name = "playername",
			x=25,y=25,w=230 ,h=25,
			flags = kHAlignCenter + kVAlignTop,
			label = "name"
		};
		
		
		Text
		{
			font = MyFont,
			name = "warning",
			x=25,y=50,w=230 ,h=50,
			flags = kHAlignCenter + kVAlignTop,
			label = "deletewarning"
		};
		



		TriclopsButton
		{
			x=50,
			y=130,
			Button{
				font = NormalButtonFont,
				graphics = NormalButtonGraphics,
				name="deleteyes",
				label="yes",
				type = kPush,
				scale = 0.5,
				command=				
					function()
						PopModal();			
						PostMessage(CreateNamedMessage( 1008, "deleteyes" ));		
						
					end
			};
		},
		
		TriclopsButton
		{
			x=175,
			y=130,
			Button{
				font = NormalButtonFont,
				graphics = NormalButtonGraphics,
				name="deleteno",
				close=true,
				label="no",
				type = kPush,
				scale = 0.5
			};
		}
	}
}



