private void BuildItem(ImGui gui, IFactorioObjectWrapper item) { using (gui.EnterRow()) { gui.BuildFactorioObjectIcon(item.target); gui.BuildText(item.text, wrap: true); } }
public void SetFocus(IFactorioObjectWrapper target, ImGui gui, Rect rect, bool extendHeader = false) { this.extendHeader = extendHeader; this.target = target; base.SetFocus(gui, rect); }