-- ui/continue-old-game.lua

UIEvents ("ui/continue-old-game-Events.lua");

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

CreateComp ("LABEL", "panel");
SetProperty ("position", 174, 81);
SetProperty ("label.bitmap", "ui/gfx/panel-medium.png");

CreateComp ("LABEL", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 217, 36);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Continue?");

CreateComp ("LABEL", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 90);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "You have an old game in progress");

CreateComp ("LABEL", "desc");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 217, 130);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Level: 1-3 - Tokens: 3390");

CreateComp ("BUTTON", "Continue");
SetProperty ("inherit", "BigButton");
SetProperty ("parent", "panel");
SetProperty ("position", 218, 180);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

CreateComp ("BUTTON", "NewGame");
SetProperty ("parent", "panel");
SetProperty ("position", 218, 287);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "New Game");

CreateComp ("BUTTON", "Cancel");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 411);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Cancel");

