protected override void DrawInputs(float x, ref float y, float width) { var allowedThingDefs = this.ThingFilter.AllowedThingDefs; if (allowedThingDefs != null) { WindowUtil.DrawList(x, ref y, width, "Allowed Defs", allowedThingDefs, ref this.scroll, ref this.previousAllowedThingsY); } }
public void Draw(float x, ref float y, float width) { foreach (var v in this.inputWidgets) { v.Draw(x, ref y, width); } WindowUtil.PlusMinusLabel(x, ref y, width, "Body Part Groups", this.bodyPartGroupArgs); WindowUtil.DrawList(x, ref y, width, this.apparelProperties.bodyPartGroups); WindowUtil.PlusMinusLabel(x, ref y, width, "Apparel Layers", this.apparelLayerArgs); WindowUtil.DrawList(x, ref y, width, this.apparelProperties.layers); }