using System; namespace KamiLib.Drawing; public class InfoBoxTableRow : DrawList { private readonly InfoBoxTable owner; public Action? FirstColumn => DrawActions.Count > 0 ? DrawActions[0] : null; public Action? SecondColumn => DrawActions.Count > 1 ? DrawActions[1] : null; public InfoBoxTableRow(InfoBoxTable owner) { this.owner = owner; DrawListOwner = this; } public InfoBoxTable EndRow() { owner.AddRow(this); return owner; } }