require( "scripts/style.lua" );

StandardButtonFontOK = {
  standardFont,
  18,
  BlackColor
};

vOkButtonGraphics = {
	"buttons/btn_a_normal", 
	"buttons/btn_a_down",
	"buttons/btn_a_over",
};


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

} -- MakeDialog
