-- ui/loading.lua

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

CreateComp ("Label", "bg");
SetProperty ("label.bitmap", "worldmap/backgrounds/bg-0007.jpg");

CreateComp ("Label", "bg");
SetProperty ("position", 0, 114);
SetProperty ("label.bitmap", "ui/gfx/blackstrip.png");

CreateComp ("Label", "title");
SetProperty ("position", 387, 42);
SetProperty ("align", "HCENTER");
SetProperty ("label.bitmap", "ui/gfx/azkend-logo.png");

CreateComp ("Label", "story");
SetProperty ("inherit", "BigLabel");
SetProperty ("position", 681, -1);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Alpha Version");

CreateComp ("Label", "progress");
SetProperty ("position", 302, 359);

CreateComp ("Label", "mythpeoplelogo");
SetProperty ("position", 19, 494);
SetProperty ("label.bitmap", "mythpeople/mythpeople-logo.png");

CreateComp ("Label", "distributorlogo");
SetProperty ("position", 786, 583);
SetProperty ("align", "BOTTOMRIGHT");
SetProperty ("label.bitmap", "logos/optional-small-distr-logo.png");

CreateComp ("Label", "story_clone");
SetProperty ("inherit", "SmallLabel");
SetProperty ("position", 409, -200);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "700");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "You knew you needed to get back there as soon as possible. Your friends' lives depended on it.");

CreateComp ("Label", "loading_text");
SetProperty ("inherit", "SmallLabel");
SetProperty ("position", 400, 541);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Loading, please wait...");

CreateComp ("Label", "story_clone_clone");
SetProperty ("inherit", "SmallLabel");
SetProperty ("position", 409, -100);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "700");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Toinen versio, epämääräisempi:");

CreateComp ("Button", "Start");
SetProperty ("inherit", "BigButton");
SetProperty ("position", 402, 459);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Start");

CreateComp ("Label", "story_clone");
SetProperty ("inherit", "SmallLabel");
SetProperty ("position", 417, 212);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "700");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "You were part of an archaeological team in far Asia. The team found an ancient ruin and an intriguing artifact in surprisingly good condition. On return home, your team is celebrated. However, there is a price to pay...");

CreateComp ("Path", "testpath");
SetProperty ("position", 42, 146);
SetProperty ("path.point", -19, -114);
SetProperty ("path.point", 32, 46);
SetProperty ("path.point", 181, 126);
SetProperty ("path.point", 340, 27);
SetProperty ("path.point", 449, 82);
SetProperty ("path.point", 541, 390);
SetProperty ("path.point", 691, 387);

CreateComp ("Button", "Log");
SetProperty ("inherit", "BigButton");
SetProperty ("position", 175, 343);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Log Test");

