-- ui/talisman.lua

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

CreateComp ("Label", "bg");
SetProperty ("position", -2, 6);
SetProperty ("label.bitmap", "MENU_BACKGROUND");

CreateComp ("Label", "bg_clone");
SetProperty ("position", 1, 457);
SetProperty ("label.bitmap", "ui/gfx/circle.png");

CreateComp ("Button", "Exit");
SetProperty ("position", 417, 519);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Exit");

CreateComp ("Label", "panel");
SetProperty ("position", 287, 91);

CreateComp ("Label", "t1");
SetProperty ("parent", "panel");
SetProperty ("position", 0, 100);

CreateComp ("Label", "t1part1");
SetProperty ("parent", "t1");
SetProperty ("position", -32, -20);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-part1.png");

CreateComp ("Label", "t1part2");
SetProperty ("parent", "t1");
SetProperty ("position", 14, -40);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-part2.png");

CreateComp ("Label", "t1part3");
SetProperty ("parent", "t1");
SetProperty ("position", 36, -1);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-part3.png");

CreateComp ("Label", "t1part4");
SetProperty ("parent", "t1");
SetProperty ("position", 27, 41);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-part4.png");

CreateComp ("Label", "t1part5");
SetProperty ("parent", "t1");
SetProperty ("position", -32, 40);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-part5.png");

CreateComp ("Label", "t1cracks");
SetProperty ("parent", "t1");
SetProperty ("position", 4, 0);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-cracks.png");

CreateComp ("Label", "t1complete");
SetProperty ("parent", "t1");
SetProperty ("position", 4, 0);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "talisman/t1-complete.png");

CreateComp ("Label", "t2");
SetProperty ("parent", "panel");
SetProperty ("position", 0, 300);

CreateComp ("Label", "relic");
SetProperty ("parent", "t2");
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic.png");

CreateComp ("Label", "gem1");
SetProperty ("parent", "t2");
SetProperty ("position", -3, -62);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem2");
SetProperty ("parent", "t2");
SetProperty ("position", 20, -59);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem3");
SetProperty ("parent", "t2");
SetProperty ("position", 38, -47);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem4");
SetProperty ("parent", "t2");
SetProperty ("position", 51, -30);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem5");
SetProperty ("parent", "t2");
SetProperty ("position", 56, -7);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem6");
SetProperty ("parent", "t2");
SetProperty ("position", 52, 14);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem7");
SetProperty ("parent", "t2");
SetProperty ("position", 39, 35);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem8");
SetProperty ("parent", "t2");
SetProperty ("position", 19, 47);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem9");
SetProperty ("parent", "t2");
SetProperty ("position", -2, 51);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem10");
SetProperty ("parent", "t2");
SetProperty ("position", -25, 49);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem11");
SetProperty ("parent", "t2");
SetProperty ("position", -44, 34);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem12");
SetProperty ("parent", "t2");
SetProperty ("position", -57, 15);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem13");
SetProperty ("parent", "t2");
SetProperty ("position", -62, -7);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem14");
SetProperty ("parent", "t2");
SetProperty ("position", -56, -27);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem15");
SetProperty ("parent", "t2");
SetProperty ("position", -43, -46);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem16");
SetProperty ("parent", "t2");
SetProperty ("position", -25, -59);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem17");
SetProperty ("parent", "t2");
SetProperty ("position", 4, -43);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem18");
SetProperty ("parent", "t2");
SetProperty ("position", 19, -38);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem19");
SetProperty ("parent", "t2");
SetProperty ("position", 30, -25);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem20");
SetProperty ("parent", "t2");
SetProperty ("position", 32, -10);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem21");
SetProperty ("parent", "t2");
SetProperty ("position", 30, 5);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem22");
SetProperty ("parent", "t2");
SetProperty ("position", 21, 18);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem23");
SetProperty ("parent", "t2");
SetProperty ("position", 6, 25);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem24");
SetProperty ("parent", "t2");
SetProperty ("position", -12, 25);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem25");
SetProperty ("parent", "t2");
SetProperty ("position", -26, 20);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem26");
SetProperty ("parent", "t2");
SetProperty ("position", -37, 8);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem27");
SetProperty ("parent", "t2");
SetProperty ("position", -41, -8);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem28");
SetProperty ("parent", "t2");
SetProperty ("position", -37, -24);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem29");
SetProperty ("parent", "t2");
SetProperty ("position", -27, -37);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Label", "gem30");
SetProperty ("parent", "t2");
SetProperty ("position", -13, -44);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "board/relic-gem-*.png");

CreateComp ("Button", "Anim");
SetProperty ("position", 647, 419);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Reset Anim");

