-- ui/play-menu.lua

UIEvents ("ui/play-menu-Events.lua");

CreateComp ("Label", "fader");
SetProperty ("inherit", "FaderLabel");

CreateComp ("Label", "panel");
SetProperty ("position", 179, 77);
SetProperty ("label.bitmap", "ui/gfx/panel-medium.png");

CreateComp ("Label", "PlaySurvivalImage");
SetProperty ("parent", "panel");
SetProperty ("position", 83, 37);
SetProperty ("label.bitmap", "ui/gfx/play-survival.png");

CreateComp ("Label", "PlayAdventureImage");
SetProperty ("parent", "panel");
SetProperty ("position", 83, 37);
SetProperty ("label.bitmap", "ui/gfx/play-adventure.png");

CreateComp ("Label", "PlayNoneImage");
SetProperty ("parent", "panel");
SetProperty ("position", 83, 37);
SetProperty ("label.bitmap", "ui/gfx/play-ready.png");

CreateComp ("Label", "QuestDesc");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 218, 365);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "324");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Save yourself by ascending to great heights.");

CreateComp ("Label", "SurvivalDesc");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 366);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "324");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Survive the challenge of the Talismans.");

CreateComp ("Label", "Tip");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 375);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "324");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Select game mode");

CreateComp ("Button", "Back");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 419);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Back");

CreateComp ("Button", "PlaySurvival");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 296);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Survival");

CreateComp ("Button", "PlayQuest");
SetProperty ("inherit", "BigButton");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 198);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Adventure");

CreateComp ("Label", "survival_lock");
SetProperty ("visible", 0);
SetProperty ("active", 0);
SetProperty ("parent", "PlaySurvival");
SetProperty ("position", 13, 10);
SetProperty ("label.bitmap", "ui/gfx/buttonlock.png");

