-- ui/profiles.lua

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

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

CreateComp ("Label", "panel");
SetProperty ("position", 33, 14);
SetProperty ("label.bitmap", "ui/gfx/panel-huge.png");

CreateComp ("Label", "title");
SetProperty ("inherit", "BigLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 374, 27);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Profiles");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 370, 82);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Select a profile or create a new one.");

CreateComp ("Label", "listdummy");
SetProperty ("parent", "panel");
SetProperty ("position", 351, 132);

CreateComp ("Button", "0");
SetProperty ("inherit", "ProfileButton");
SetProperty ("localize", 0);
SetProperty ("parent", "listdummy");
SetProperty ("position", -156, 20);
SetProperty ("button.text", "Kraakk");

CreateComp ("Button", "1");
SetProperty ("inherit", "ProfileButton");
SetProperty ("localize", 0);
SetProperty ("parent", "listdummy");
SetProperty ("position", -157, 65);
SetProperty ("button.text", "Makkk");

CreateComp ("Button", "2");
SetProperty ("inherit", "ProfileButton");
SetProperty ("localize", 0);
SetProperty ("parent", "listdummy");
SetProperty ("position", -157, 111);
SetProperty ("button.text", "sdfdsf");

CreateComp ("Button", "3");
SetProperty ("inherit", "ProfileButton");
SetProperty ("localize", 0);
SetProperty ("active", 0);
SetProperty ("parent", "listdummy");
SetProperty ("position", -157, 158);
SetProperty ("button.text", "asdas");

CreateComp ("Button", "4");
SetProperty ("inherit", "ProfileButton");
SetProperty ("localize", 0);
SetProperty ("visible", 0);
SetProperty ("parent", "listdummy");
SetProperty ("position", -157, 204);
SetProperty ("button.text", "");

CreateComp ("Button", "New");
SetProperty ("parent", "panel");
SetProperty ("position", 291, 415);
SetProperty ("button.text", "New");

CreateComp ("Button", "Delete");
SetProperty ("inherit", "SmallButton");
SetProperty ("parent", "panel");
SetProperty ("position", 259, 483);
SetProperty ("button.text", "Delete");

CreateComp ("Button", "Ok");
SetProperty ("inherit", "BigButtonBigText");
SetProperty ("parent", "panel");
SetProperty ("position", 520, 436);
SetProperty ("button.text", "Select");

CreateComp ("Button", "Cancel");
SetProperty ("parent", "panel");
SetProperty ("position", 56, 450);
SetProperty ("button.text", "Cancel");

CreateComp ("Button", "Stats");
SetProperty ("inherit", "SmallButton");
SetProperty ("parent", "panel");
SetProperty ("position", 379, 484);
SetProperty ("button.text", "Stats");

