require( "scripts/style.lua" );



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

		Bitmap
		{
			image="backgrounds/header_hint",
			x=20,
			y=28
		};
		
        Button
        {
			font = StandardButtonFont,
			graphics = StandardButtonGraphics,
			sound = kDefaultButtonSound,
            close = true,
			cancel = true,
            flags = 5,
            label = "ok",
            name = "ok",
            x = kCenter,
            y = 225,
        },

        Text
		{
			font = DialogTitleFont,
			name = "oktitle",
			x=30, y=20,
			w=kMax-30,h=40,
			flags = kVAlignCenter + kHAlignLeft,
			label= gDialogTable.title,
		};

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

} -- MakeDialog
