-- ui/hidden-object-time-bonus.lua

UIEvents ("ui/hidden-object-time-bonus-Events.lua");

CreateComp ("Label", "fader");
SetProperty ("inherit", "FaderLabel");
SetProperty ("color.r", 0);
SetProperty ("color.g", 0);
SetProperty ("color.b", 0);

CreateComp ("Label", "panel");
SetProperty ("position", 109, 89);

CreateComp ("Label", "time_bonus");
SetProperty ("parent", "panel");
SetProperty ("position", 296, 230);
SetProperty ("align", "CENTER");
SetProperty ("label.bitmap", "ui/gfx/panel-small.png");

CreateComp ("Button", "Ok");
SetProperty ("parent", "time_bonus");
SetProperty ("position", 205, 233);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "OK");

CreateComp ("Label", "vision_prize");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "time_bonus");
SetProperty ("position", 205, 74);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Visions found: 7");

CreateComp ("Label", "vision_time");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "time_bonus");
SetProperty ("position", 210, 130);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "320");
SetProperty ("label.text", "You gained 7 seconds for all the next seven levels!");

CreateComp ("Label", "rating");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "time_bonus");
SetProperty ("position", 202, 30);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Completed!");

CreateComp ("Label", "clock");
SetProperty ("parent", "time_bonus");
SetProperty ("position", 199, -15);

CreateComp ("Label", "dummy");
SetProperty ("parent", "panel");
SetProperty ("position", 123, 253);

CreateComp ("Label", "widthitem");
SetProperty ("visible", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 60, 60);
SetProperty ("label.bitmap", "hidden/visions_slot.png");

