require( "scripts/style.lua" );



MakeDialog
{
    Bitmap
    {
        name="yesnobackground",
		image="backgrounds/popup",
		x=kCenter,
		y=kCenter,
        
        Button
        {
			font = StandardButtonFont,
			graphics = StandardButtonGraphics,
            close = true,
            flags = 5,
            label = "ok",
            name = "ok",
            default = true,
            x = kCenter,
            y = 250,
        },
        
        Text
		{
			font = DialogTitleFont,
			name = "oktitle",
			x=12, y=8,
			w=kMax,h=40,
			flags = kVAlignCenter + kHAlignLeft,
			label= gDialogTable.title,
		};
		
		Text
		{
			font = DialogBodyFont,
			name = "okbody",
			x=20,y=46,
			w=kMax-20,h=kMax-70,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.body,
		};
    },

} -- MakeDialog
