-- ui/main-menu.lua

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

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

CreateComp ("Label", "arc");
SetProperty ("position", 11, 447);
SetProperty ("label.bitmap", "ui/gfx/bigarc.png");

CreateComp ("Label", "dummy_rain_0");
SetProperty ("custom_draw", "1");
SetProperty ("position", 773, 3);

CreateComp ("Label", "dummy_rain_1");
SetProperty ("position", 8, 3);

CreateComp ("Label", "ProfileName");
SetProperty ("inherit", "BigLabel");
SetProperty ("position", 402, 148);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Welcome asdas");

CreateComp ("Label", "mythpeoplelogo");

CreateComp ("Button", "Hidden");
SetProperty ("inherit", "MPButton");
SetProperty ("position", 43, 480);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "");

CreateComp ("Label", "distrlogo");
SetProperty ("position", 613, 415);
SetProperty ("label.bitmap", "logos/optional-small-distr-logo.png");

CreateComp ("Button", "Profiles");
SetProperty ("inherit", "TextButton");
SetProperty ("position", 223, 173);
SetProperty ("button.text", "");

CreateComp ("Button", "Play");
SetProperty ("inherit", "BigButtonBigText");
SetProperty ("position", 399, 417);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Play");

CreateComp ("Button", "Options");
SetProperty ("position", 574, 525);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Options");

CreateComp ("Button", "Instructions");
SetProperty ("position", 220, 524);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Instructions");

CreateComp ("Button", "Quit");
SetProperty ("position", 399, 523);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Quit");

CreateComp ("Button", "Profiles");
SetProperty ("inherit", "WideProfileButton");
SetProperty ("position", 399, 191);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Not you? Click here!");

CreateComp ("Emitter", "untitled");
SetProperty ("position", 172, 6);
SetProperty ("emitter.fx", "fxs/azkend-logo-glow.lua");
SetProperty ("emitter.time_interval", "0.24");

CreateComp ("Label", "bg");
SetProperty ("position", 172, 6);
SetProperty ("label.bitmap", "ui/gfx/azkend-logo.png");

