-- ui/game.lua

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

CreateComp ("Label", "frames");

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

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

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

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

CreateComp ("Label", "GameBar");

CreateComp ("Label", "board");
SetProperty ("position", 92, 27);

CreateComp ("Label", "bar");
SetProperty ("parent", "GameBar");
SetProperty ("position", 154, 515);

CreateComp ("Label", "horbox");
SetProperty ("parent", "GameBar");
SetProperty ("position", 0, 543);
SetProperty ("label.bitmap", "ui/gfx/horbox.png");

CreateComp ("Label", "circle1");
SetProperty ("parent", "GameBar");
SetProperty ("position", 627, 436);
SetProperty ("label.bitmap", "ui/gfx/circle.png");

CreateComp ("Label", "circle2");
SetProperty ("parent", "GameBar");
SetProperty ("position", -20, 438);
SetProperty ("label.bitmap", "ui/gfx/circle.png");

CreateComp ("Label", "ShamanSet");

CreateComp ("Label", "powermeter");
SetProperty ("parent", "ShamanSet");
SetProperty ("position", 713, 145);

CreateComp ("Label", "arcright");
SetProperty ("parent", "GameBar");
SetProperty ("position", 531, 466);

CreateComp ("Label", "arcleft");
SetProperty ("parent", "GameBar");
SetProperty ("position", 5, 439);

CreateComp ("Label", "talisman");
SetProperty ("position", 77, 527);

CreateComp ("Label", "survival_stars");
SetProperty ("parent", "arcleft");
SetProperty ("position", 72, 93);

CreateComp ("Label", "talisman_p0");
SetProperty ("parent", "arcleft");
SetProperty ("position", 72, 88);

CreateComp ("Label", "time");
SetProperty ("parent", "GameBar");
SetProperty ("position", 624, 429);

CreateComp ("Label", "power1");
SetProperty ("parent", "ShamanSet");
SetProperty ("position", 18, 17);
SetProperty ("label.bitmap", "board/powerup-slot.png");

CreateComp ("Label", "power2");
SetProperty ("parent", "ShamanSet");
SetProperty ("position", -162, -55);
SetProperty ("label.bitmap", "board/powerup-slot.png");

CreateComp ("Label", "power3");
SetProperty ("parent", "ShamanSet");
SetProperty ("position", -161, -56);
SetProperty ("label.bitmap", "board/powerup-slot.png");

CreateComp ("Button", "Menu");
SetProperty ("inherit", "SmallButton");
SetProperty ("position", 687, 0);
SetProperty ("button.text", "Menu");

CreateComp ("Label", "level_number");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "GameBar");
SetProperty ("position", 399, 568);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Week 1, Day 3: Me And My Yak");

CreateComp ("Label", "timeprogress");
SetProperty ("visible", 0);
SetProperty ("parent", "GameBar");
SetProperty ("position", 145, 566);

