require "scripts/style"
HeaderFont = {
  titleFont,
  30,
  RedColor
};


MakeDialog
{
    Bitmap
    {
        name="yesnobackground",
		image="backgrounds/confirm",
		x=kCenter,
		y=kCenter,

        Button
        {
			font = StandardButtonFont,
			graphics = StandardButtonGraphics,
            close = true,
			cancel = true,
            flags = 5,
            label = "ok",
            name = "ok",
            x = kCenter-1,
            y = 121,
        },

        Text
		{
			font = HeaderFont,
			name = "oktitle",
			x=7, y=32,
			w=kMax,h=40,
			flags = kHAlignCenter + kVAlignCenter,
			label= gDialogTable.title,
		};

		Text
		{
			font = DialogBodyFont,
			name = "okbody",
			x=12,y=50,
			w=kMax-12,h=kMax-0,
			flags = kHAlignCenter + kVAlignCenter,
			label= gDialogTable.body,
		};
    },

} -- MakeDialog
