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