MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / operator()

Method operator()

ogsr_engine/xrGame/level_debug.cpp:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212struct DrawTextPredicate
213{
214 void operator()(const CLevelDebug::STextItem& s)
215 {
216 HUD().Font().pFontMedium->SetAligment(CGameFont::alLeft);
217 HUD().Font().pFontMedium->SetColor(s.color);
218 HUD().Font().pFontMedium->OutSet(s.x, s.y);
219 HUD().Font().pFontMedium->OutNext(*(s.text));
220 }
221};
222
223void CLevelDebug::CTextInfo::draw_text()

Callers

nothing calls this directly

Calls 4

FontMethod · 0.80
OutSetMethod · 0.80
OutNextMethod · 0.80
SetColorMethod · 0.45

Tested by

no test coverage detected