-- ui/gamecomplete.lua

UIEvents ("ui/gamecomplete-Events.lua");

CreateComp ("Label", "bg");
SetProperty ("label.bitmap", "MENU_BACKGROUND");

CreateComp ("Label", "top");
SetProperty ("parent", "bg");
SetProperty ("label.bitmap", "ui/gfx/screenborder-top.png");

CreateComp ("Label", "left");
SetProperty ("parent", "bg");
SetProperty ("label.bitmap", "ui/gfx/screenborder-left.png");

CreateComp ("Label", "right");
SetProperty ("parent", "bg");
SetProperty ("position", 768, 1);
SetProperty ("label.bitmap", "ui/gfx/screenborder-right.png");

CreateComp ("Label", "bottom");
SetProperty ("parent", "bg");
SetProperty ("position", 1, 566);
SetProperty ("label.bitmap", "ui/gfx/screenborder-bottom.png");

CreateComp ("Label", "pergament");
SetProperty ("position", 145, 391);
SetProperty ("label.bitmap", "ui/gfx/shamantalk.png");

CreateComp ("Label", "story_text");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "pergament");
SetProperty ("position", 255, 26);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "432");
SetProperty ("label.text", "We want to warmly congratulate you for showing exceptional skill and determination on your journey!");

CreateComp ("Label", "title1");
SetProperty ("parent", "bg");
SetProperty ("position", 404, 30);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "You Have Completed");

CreateComp ("Button", "Ok");
SetProperty ("parent", "bg");
SetProperty ("position", 393, 521);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Ok");

CreateComp ("Button", "reset");
SetProperty ("visible", 0);
SetProperty ("parent", "bg");
SetProperty ("position", 719, -1);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Reset");

CreateComp ("Label", "logo");
SetProperty ("position", 179, 77);
SetProperty ("label.bitmap", "ui/gfx/azkend-logo.png");

CreateComp ("Label", "title2");
SetProperty ("parent", "bg");
SetProperty ("position", 402, 242);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Congratulations!");

CreateComp ("Label", "info");
SetProperty ("visible", 0);
SetProperty ("position", 37, 540);
SetProperty ("label.text", "Phase: 9");

