require( "scripts/style" );



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

        Button
        {
			close = true,
			cancel = true,
            flags = 5,
            name = "ok",
            x = kCenter+90,
            y = 146,
            graphics={
				"buttons/button_nextup",
				"buttons/button_nextdown",
				"buttons/button_nextover",
			}
        },

		Text
		{
			font = DialogTitleShadowFont,
			name = "oktitle",
			x=kCenter-1, y=9,
			w=kMax,h=40,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.title,
		};
        Text
		{
			font = DialogTitleFont,
			name = "oktitle",
			x=kCenter, y=8,
			w=kMax,h=40,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.title,
		};

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

} -- MakeDialog
