MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / DrawTitle

Method DrawTitle

core/MenuStyle_Valve.cpp:305–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void CValveMenuDisplay::DrawTitle(const char *text, bool onlyIfEmpty/* =false */)
306{
307 if (onlyIfEmpty && m_TitleDrawn)
308 {
309 return;
310 }
311
312 m_pKv->SetString("msg", text);
313 m_TitleDrawn = true;
314}
315
316bool CValveMenuDisplay::DrawRawLine(const char *rawline)
317{

Callers 2

RenderMenuMethod · 0.45
SetPanelTitleFunction · 0.45

Calls 1

SetStringMethod · 0.45

Tested by

no test coverage detected