MCPcopy Create free account
hub / github.com/JACoders/OpenJK / _UI_DrawRect

Function _UI_DrawRect

code/ui/ui_main.cpp:3647–3655  ·  view source on GitHub ↗

================ UI_DrawRect Coordinates are 640*480 virtual values ================= */

Source from the content-addressed store, hash-verified

3645=================
3646*/
3647void _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=================

Callers

nothing calls this directly

Calls 3

trap_R_SetColorFunction · 0.70
_UI_DrawTopBottomFunction · 0.70
_UI_DrawSidesFunction · 0.70

Tested by

no test coverage detected