internal static BaseWidget RequestCreateWidget(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name) { Widget widget = new Widget(); widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name); return(widget); }
internal static BaseWidget RequestCreateWidget(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name) { Widget widget = new Widget(); widget.CreateWidget(_parent, _style, _skin, _coord, _align, _layer, _name); return widget; }
static void box_RequestCreateWidgetItem(ItemBox _sender, Widget _item) { EditBox cell = _item.CreateWidget<EditBox>("Edit", new IntCoord(0, 0, 50, 50), Align.Default); _item.UserData = cell; }