| 2672 | { |
| 2673 | left += colWidths[i]; |
| 2674 | cleft = CX(left); |
| 2675 | GEngine->DrawLine(Line2DPixel(cleft, cyb, cleft, cbottom), color, color); |
| 2676 | } |
| 2677 | |
| 2678 | // titles |
| 2679 | float top = yb + 0.5 * (rowHeight - fontHeight); |
| 2680 | left = xb; |
| 2681 | RString str = title; |
| 2682 | float x = left + 0.5 * (colWidths[0] - GEngine->GetTextWidth(size, font, str)); |
| 2683 | GEngine->DrawText(Point2DFloat(x, top), size, font, color, str); |
| 2684 | |
| 2685 | left += colWidths[0]; |
| 2686 | str = "# of messages"; |
| 2687 | x = left + 0.5 * (colWidths[1] - GEngine->GetTextWidth(size, font, str)); |
| 2688 | GEngine->DrawText(Point2DFloat(x, top), size, font, color, str); |
| 2689 | |
| 2690 | left += colWidths[1]; |
| 2691 | str = "Tot. B"; |
| 2692 | x = left + 0.5 * (colWidths[2] - GEngine->GetTextWidth(size, font, str)); |