-- ui/new-game-confirmation.lua

UIEvents ("ui/new-game-confirmation-Events.lua");

CreateComp ("Label", "fader");
SetProperty ("inherit", "FaderLabel");

CreateComp ("Label", "panel");
SetProperty ("position", 183, 94);
SetProperty ("label.bitmap", "ui/gfx/panel-small.png");

CreateComp ("Label", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 210, 45);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Are you sure?");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 210, 108);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Your old game will be lost.");

CreateComp ("Button", "NewGame");
SetProperty ("parent", "panel");
SetProperty ("position", 209, 149);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "New Game");

CreateComp ("Button", "Cancel");
SetProperty ("parent", "panel");
SetProperty ("position", 209, 221);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Cancel");

