================ UI_DrawRect Coordinates are 640*480 virtual values ================= */
| 3645 | ================= |
| 3646 | */ |
| 3647 | void _UI_DrawRect( float x, float y, float width, float height, float size, const float *color ) |
| 3648 | { |
| 3649 | trap_R_SetColor( color ); |
| 3650 | |
| 3651 | _UI_DrawTopBottom(x, y, width, height, size); |
| 3652 | _UI_DrawSides(x, y, width, height, size); |
| 3653 | |
| 3654 | trap_R_SetColor( NULL ); |
| 3655 | } |
| 3656 | |
| 3657 | /* |
| 3658 | ================= |
nothing calls this directly
no test coverage detected