Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OGSR/OGSR-Engine
/ Draw
Method
Draw
ogsr_engine/xrGame/ui/UISubLine.cpp:112–120 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
110
}
111
112
void CUISubLine::Draw(CGameFont* pFont, float x, float y) const
113
{
114
pFont->SetColor(m_color);
115
116
Fvector2 pos;
117
pos.set(x, y);
118
UI()->ClientToScreenScaled(pos);
119
pFont->Out(pos.x, pos.y,
"%s"
, m_text.c_str());
120
}
Callers
nothing calls this directly
Calls
6
UI
Function · 0.85
ClientToScreenScaled
Method · 0.80
SetColor
Method · 0.45
set
Method · 0.45
Out
Method · 0.45
c_str
Method · 0.45
Tested by
no test coverage detected