-- ui/options.lua

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

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

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

CreateComp ("Label", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 216, 32);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Options");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 223, 78);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Tweak things to your liking...");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 221, 127);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Sound Volume");

CreateComp ("Slider", "VolSound");
SetProperty ("parent", "panel");
SetProperty ("position", 220, 181);
SetProperty ("align", "CENTER");

CreateComp ("Label", "subtitle");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 220, 222);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Music Volume");

CreateComp ("Slider", "VolMusic");
SetProperty ("parent", "panel");
SetProperty ("position", 219, 276);
SetProperty ("align", "CENTER");

CreateComp ("Checkbox", "Fullscreen");
SetProperty ("parent", "panel");
SetProperty ("position", 213, 368);
SetProperty ("align", "CENTER");

CreateComp ("Button", "Ok");
SetProperty ("parent", "panel");
SetProperty ("position", 113, 398);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "OK");

CreateComp ("Label", "subtitle_clone");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 213, 314);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Fullscreen");

CreateComp ("Button", "Credits");
SetProperty ("parent", "panel");
SetProperty ("position", 322, 399);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "Credits");

CreateComp ("Label", "subtitle_clone");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 217, 467);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Version 1.03");

