public static int?Draw(LogTreeModel target) { var rs = target.renderSettings; color = rs.color; int?sel = null; foreach (var s in target.roots) { if (s.history != null) { Draw(s, rs, ref sel); } } return(sel); }
public static void DrawSelected(LogTreeModel target) { if (target.frame == null) { return; } color = Color.red; foreach (var s in target.roots) { if (s.history != null) { var f = target.frame.Value; Emphasis(s.history[target.frame.Value], target.renderSettings); } } }