require( "scripts/style.lua" );



MakeDialog
{
    Bitmap
    {
        name="yesnobackground",
		image = "backgrounds/popup_bg",
		x=311,
		y=266,
		
        --SetStyle(ButtonStyle),
        SetStyle( MenuButtonStyle ),
        Button
        {
			--font = StandardButtonFont,
			graphics = MediumButton1Graphics,
			MenuButtonLabel(0,0,143,32, "ok", oldsansblackFont, 20, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
            --close = true,
            flags = 5,
            --label = "ok",
            name = "ok",
            x = kCenter,
            y = 180,
            command = gDialogTable.action,
        },
        
        Text
		{
			font = DialogTitleFont,
			name = "oktitle",
			x=55, y=45,
			w=kMax,h=40,
			flags = kVAlignCenter + kHAlignLeft,
			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
