require( "scripts/style.lua" );

HeaderFont = {
  bigButtonFont,
  50,
  DarkRedColor
};


MakeDialog
{
    Bitmap
    {
        name="grayimage",
        image="backgrounds/shadow.png",
        alpha=true,
        x=0,
        y=0
    };
    Bitmap
    {
        name="yesnobackground",
		image="backgrounds/submit_hs",
		x=kCenter,
		y=kCenter,
        
        Text
        {
            font = HeaderFont,
			name = "oktitle",
            x=0,y=5,w=kMax,h=kMax,
            flags = kHAlignCenter + kVAlignTop,
            label = gDialogTable.title,
        };
		Text
		{
            font = { standardFont, 24, BlackColor };
			name = "okbody",
			x=125,y=46,
			w=kMax-135,h=kMax-70,
			flags = kVAlignCenter + kHAlignCenter,
			label= gDialogTable.body,
		};
    },
    Button
    {
        font = StandardButtonFont,
        graphics = StandardButtonGraphics,
        close = true,
        flags = 5,
        label = "ok",
        name = "ok",
        x=326, y=404,
        graphics = StButtonGraphicsSm,
        font = MenuButtonFont;
    },

} -- MakeDialog

SetImageAlpha("grayimage",0.4);
