| 2655 | MipInfo mip = GEngine->TextBank()->UseMipmap(nullptr, 0, 0); |
| 2656 | GEngine->Draw2D(mip, bgColor, Rect2DPixel(cxb, cyb, cxe - cxb, cye - cyb)); |
| 2657 | |
| 2658 | // lines |
| 2659 | float bottom = yb; |
| 2660 | float cbottom = CY(bottom); |
| 2661 | GEngine->DrawLine(Line2DPixel(cxb, cbottom, cxe, cbottom), color, color); |
| 2662 | for (int i = 0; i < nRows + 1; i++) |
| 2663 | { |
| 2664 | bottom += rowHeight; |
| 2665 | cbottom = CY(bottom); |
| 2666 | GEngine->DrawLine(Line2DPixel(cxb, cbottom, cxe, cbottom), color, color); |
| 2667 | } |
| 2668 | float left = xb; |
| 2669 | float cleft = cxb; |
| 2670 | GEngine->DrawLine(Line2DPixel(cleft, cyb, cleft, cbottom), color, color); |
| 2671 | for (int i = 0; i < columns; i++) |
| 2672 | { |
| 2673 | left += colWidths[i]; |
| 2674 | cleft = CX(left); |
| 2675 | GEngine->DrawLine(Line2DPixel(cleft, cyb, cleft, cbottom), color, color); |