-- ui/level-failed.lua

UIEvents ("ui/level-failed-Events.lua");

CreateComp ("Label", "panel");
SetProperty ("position", 181, 69);
SetProperty ("label.bitmap", "ui/gfx/panel-medium.png");

CreateComp ("Label", "panel_clone_clone");
SetProperty ("parent", "panel");
SetProperty ("position", 30, 257);
SetProperty ("label.bitmap", "ui/gfx/pergament1.png");

CreateComp ("Label", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 218, 207);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Time ran out!");

CreateComp ("Label", "text");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 221, 277);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "340");
SetProperty ("label.text", "I think next time the odds will be on my side!");

CreateComp ("Button", "Replay");
SetProperty ("parent", "panel");
SetProperty ("position", 44, 410);
SetProperty ("button.text", "Try Again");

CreateComp ("Button", "WorldMap");
SetProperty ("parent", "panel");
SetProperty ("position", 233, 410);
SetProperty ("button.text", "Map");

CreateComp ("Label", "panel_clone");
SetProperty ("parent", "panel");
SetProperty ("position", 77, 41);
SetProperty ("label.bitmap", "ui/gfx/play-none.png");

