protected override void DrawPawnRow(Rect rect, Pawn p)
        {
            float num = 175f;

            Text.Font = GameFont.Medium;
            for (int i = 0; i < MainTabWindow_Work.VisibleWorkTypeDefsInPriorityOrder.Count; i++)
            {
                WorkTypeDef workTypeDef = MainTabWindow_Work.VisibleWorkTypeDefsInPriorityOrder[i];
                Vector2     topLeft     = new Vector2(num, rect.y + 2.5f);
                WidgetsWork.DrawWorkBoxFor(topLeft, p, workTypeDef);
                Rect rect2 = new Rect(topLeft.x, topLeft.y, 25f, 25f);
                TooltipHandler.TipRegion(rect2, WidgetsWork.TipForPawnWorker(p, workTypeDef));
                num += this.workColumnSpacing;
            }
        }