-- ui/level-completed.lua

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

CreateComp ("Label", "panel");
SetProperty ("position", 401, 271);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "ui/gfx/panel-medium.png");

CreateComp ("Label", "talisman");
SetProperty ("position", 396, 279);

CreateComp ("Label", "star2");
SetProperty ("parent", "panel");
SetProperty ("position", -31, 24);
SetProperty ("angle", 0.999239);
SetProperty ("label.bitmap", "fxs/star.png");

CreateComp ("Label", "time");
SetProperty ("parent", "panel");
SetProperty ("position", 218, 19);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Survived");

CreateComp ("Label", "desc");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 216, 334);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Talisman of Extinction");

CreateComp ("Label", "level_long_name");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 218, 59);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Upwards");

CreateComp ("Button", "Ok");
SetProperty ("parent", "panel");
SetProperty ("position", 811, 496);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "old Continue");

CreateComp ("Button", "reset");
SetProperty ("parent", "panel");
SetProperty ("position", 809, 347);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "reset");

CreateComp ("Button", "add");
SetProperty ("parent", "panel");
SetProperty ("position", 810, 419);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "add");

CreateComp ("Label", "pergament1");
SetProperty ("parent", "panel");
SetProperty ("position", 24, 437);
SetProperty ("label.bitmap", "ui/gfx/pergament1.png");

CreateComp ("Label", "tip");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "pergament1");
SetProperty ("position", 192, 48);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "342");
SetProperty ("label.text", "Avoid making matches that have only tiles with blue background. It will discharge the Thunder Meter.");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "pergament1");
SetProperty ("position", 148, 18);
SetProperty ("label.text", "-Wisdom-");

CreateComp ("Label", "rank");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 223, 124);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Rank: Expert");

CreateComp ("Slider", "timeslider");
SetProperty ("inherit", "ProgressSlider");
SetProperty ("active", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 212, 104);
SetProperty ("align", "CENTER");

CreateComp ("Label", "time_left");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 209, 93);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Time left: 98%");

CreateComp ("Label", "rankstar0");
SetProperty ("parent", "panel");
SetProperty ("position", 318, 80);
SetProperty ("label.bitmap", "ui/gfx/starbig-on.png");

CreateComp ("Button", "color");
SetProperty ("parent", "panel");
SetProperty ("position", 212, 412);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "Continue");

