-- ui/delete-profile.lua

UIEvents ("ui/delete-profile-Events.lua");

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

CreateComp ("Label", "panel");
SetProperty ("position", 194, 144);
SetProperty ("label.bitmap", "ui/gfx/panel-small.png");

CreateComp ("Label", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 210, 45);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Delete profile");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 205, 174);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Are you sure?");

CreateComp ("Label", "name");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 212, 120);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Delete profile 'rtyer'");

CreateComp ("Button", "No");
SetProperty ("parent", "panel");
SetProperty ("position", 213, 227);
SetProperty ("button.text", "No");

CreateComp ("Button", "Delete");
SetProperty ("parent", "panel");
SetProperty ("position", 27, 224);
SetProperty ("button.text", "Yes, delete");

