-- ui/trophy-awarded.lua

UIEvents ("ui/trophy-awarded-Events.lua");

CreateComp ("Label", "fader");
SetProperty ("inherit", "FaderLabel");
SetProperty ("color.r", 0);
SetProperty ("color.g", 0);
SetProperty ("color.b", 0);
SetProperty ("color.a", 1);

CreateComp ("Label", "panel");

CreateComp ("Button", "Ok");
SetProperty ("parent", "panel");
SetProperty ("position", 395, 466);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

CreateComp ("Label", "trophy_star");
SetProperty ("parent", "panel");
SetProperty ("position", 398, 228);
SetProperty ("angle", 11.2699);
SetProperty ("scale", 1.05);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "fxs/star.png");

CreateComp ("Label", "trophy_star2");
SetProperty ("parent", "panel");
SetProperty ("position", 398, 228);
SetProperty ("angle", -0.962603);
SetProperty ("scale", 0.84);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "fxs/star.png");

CreateComp ("Label", "trophy_bm");
SetProperty ("parent", "panel");
SetProperty ("position", 395, 225);
SetProperty ("scale", 1);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/trophies/t1-image.png");

CreateComp ("Label", "trophy_name");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 394, 354);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Chain Wizard");

CreateComp ("Label", "trophy_desc");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 392, 403);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "326");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "You stringed together 12 or more tiles.");

CreateComp ("Label", "title");
SetProperty ("inherit", "BigLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 398, 46);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Trophy Awarded!");

