-- ui/hidden-object-completed.lua

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

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

CreateComp ("Label", "bg");

CreateComp ("Label", "bgimage2");
SetProperty ("label.bitmap", "MENU_BACKGROUND");

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", "panel");
SetProperty ("position", 109, 89);

CreateComp ("Label", "story_paper");
SetProperty ("parent", "panel");
SetProperty ("position", 308, 339);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "ui/gfx/pergament-story.png");

CreateComp ("Label", "pic");
SetProperty ("parent", "panel");
SetProperty ("position", 300, 79);
SetProperty ("angle", 5.9952e-015);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "story/storycard-7-elephant.png");

CreateComp ("Label", "story_paper_clone");
SetProperty ("parent", "story_paper");
SetProperty ("position", 265, -2);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "ui/gfx/pergament-small.png");

CreateComp ("Label", "title");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "story_paper");
SetProperty ("position", 260, -30);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Stone Elephant");

CreateComp ("Label", "text");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "story_paper");
SetProperty ("position", 261, 32);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "430");
SetProperty ("label.text", "This elephant guarded a gate which lead to some long lost temple. I couldn't shake the feeling that the elephant was observing me.");

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

CreateComp ("Button", "TryAgain");
SetProperty ("visible", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 213, 410);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Try Again");

