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

Function Menu_PaintAll

code/ui/ui_shared.cpp:5964–5983  ·  view source on GitHub ↗

================= Menu_PaintAll ================= */

Source from the content-addressed store, hash-verified

5962=================
5963*/
5964void Menu_PaintAll(void)
5965{
5966 int i;
5967 if (captureFunc)
5968 {
5969 captureFunc(captureData);
5970 }
5971
5972 for (i = 0; i < menuCount; i++)
5973 {
5974 Menu_Paint(&Menus[i], qfalse);
5975 }
5976
5977 if (uis.debugMode)
5978 {
5979 vec4_t v = {1, 1, 1, 1};
5980 DC->drawText(5, 25, .75, v, va("(%d,%d)",DC->cursorx,DC->cursory), 0, 0, DC->Assets.qhMediumFont);
5981 DC->drawText(5, 10, .75, v, va("fps: %f", DC->FPS), 0, 0, DC->Assets.qhMediumFont);
5982 }
5983}
5984
5985/*
5986=================

Callers 2

_UI_RefreshFunction · 0.70
CL_CgameSystemCallsFunction · 0.50

Calls 2

Menu_PaintFunction · 0.70
vaFunction · 0.50

Tested by

no test coverage detected