require( "scripts/style.lua" );



MakeDialog
{
    Bitmap
    {
        name="yesnobackground",
		image="backgrounds/dialog",
		x=kCenter,
		y=kCenter,
        
        Button
        {
			font = StandardButtonFont,
			graphics = StandardButtonGraphics,
            close = true,
            flags = 5,
            label = "ok",
            name = "ok",
			rolloversound = "assets/audio/sfx/dialog_roll.ogg",
			sound = "assets/audio/sfx/dialog_click.ogg",
            x = kCenter,
            y = 360,
        },
        
        Text
		{
			font = DialogTitleFont,
			name = "oktitle",
			x=12, y=152,
			w=kMax,h=40,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.title,
		};
		
		Text
		{
			font = DialogBodyFont,
			name = "okbody",
			x=12,y=35,
			w=kMax-12,h=kMax-70,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.body,
		};
    },

} -- MakeDialog
