-- ui/newarea.lua

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

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

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

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

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

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

CreateComp ("Label", "pergament");
SetProperty ("position", 141, 54);
SetProperty ("label.bitmap", "ui/gfx/pergament-story.png");

CreateComp ("Label", "story_text");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "pergament");
SetProperty ("position", 263, 18);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "458");
SetProperty ("label.text", "This is where I start - at the Gate of Hearts. I hope to reach the temple from where the Relic originates in ten weeks. Wish me luck!");

CreateComp ("Label", "title");
SetProperty ("parent", "bg");
SetProperty ("position", 397, 13);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Gate of Hearts");

CreateComp ("Button", "Continue");
SetProperty ("parent", "bg");
SetProperty ("position", 697, 519);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Continue");

CreateComp ("Button", "add");
SetProperty ("parent", "bg");
SetProperty ("position", 528, 519);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Next");

