public void CalculateRowRects()
{
float width = GUIClip.visibleRect.width;
List<TreeViewItem> visibleRows = base.m_TreeView.data.GetVisibleRows();
this.m_RowRects = new List<Rect>(visibleRows.Count);
float y = 0f;
for (int i = 0; i < visibleRows.Count; i++)
{
bool flag = this.IsController(visibleRows[i]);
y += !flag ? 0f : 25f;
float height = base.k_LineHeight;
this.m_RowRects.Add(new Rect(0f, y, width, height));
y += height;
}
}