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

Function _UI_DrawTopBottom

code/ui/ui_main.cpp:3634–3639  ·  view source on GitHub ↗

================ _UI_DrawTopBottom ================= */

Source from the content-addressed store, hash-verified

3632=================
3633*/
3634void _UI_DrawTopBottom(float x, float y, float w, float h, float size)
3635{
3636 size *= uiInfo.uiDC.yscale;
3637 trap_R_DrawStretchPic( x, y, w, size, 0, 0, 0, 0, uiInfo.uiDC.whiteShader );
3638 trap_R_DrawStretchPic( x, y + h - size, w, size, 0, 0, 0, 0, uiInfo.uiDC.whiteShader );
3639}
3640/*
3641================
3642UI_DrawRect

Callers 1

_UI_DrawRectFunction · 0.70

Calls 1

trap_R_DrawStretchPicFunction · 0.70

Tested by

no test coverage detected