require( "scripts/style.lua" );


MakeDialog
{
	-- Remember, this is like saying table['name']=name, so it works.
        name="YesNoModal", 


    	Bitmap
    	{
		image="backgrounds/yes_no",
		x=kCenter,
		y=kCenter,

		--SetStyle(DialogBodyText),
		Text
		{
			parent=DefaultStyle,
			font = DialogBodyFont,
			flags = kVAlignCenter + kHAlignCenter,
			x=35,y=26,w=kMax-50,h=kMax-100,
			name = "yesnobody",
			label= gDialogTable.body,
		};
		
		YesNo{	
			name="YesNo",
			x=0,y=0,w=kMax,h=kMax,
			yesbutt ="b_yes;150,330,93,63;fonts/arial.mvec;128,128,128,255;255,255,255,255;23;buttons/b_yes;buttons/b_yes_pressed;buttons/b_yes_mouseover",
			nobutt ="b_no;310,330,93,63;fonts/arial.mvec;128,128,128,255;255,255,255,255;23;buttons/b_no;buttons/b_no_pressed;buttons/b_no_mouseover",
			shadow ="backgrounds/sh1;0,0,1024,768;0.3;0.8",
		},
    	},



} -- MakeDialog
