MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / AdjustHeightToText

Method AdjustHeightToText

ogsr_engine/xrGame/ui/UIStatic.cpp:592–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void CUIStatic::AdjustHeightToText()
593{
594 m_pLines->SetWidth(GetWidth());
595 m_pLines->ParseText();
596 SetHeight(m_pLines->GetVisibleHeight());
597}
598
599void CUIStatic::AdjustWidthToText()
600{

Callers 12

InitCharacterMethod · 0.80
AddIconedPdaMessageMethod · 0.80
SetSelectedMethod · 0.80
InitMethod · 0.80
FillPointsDetailMethod · 0.80
SetTextMethod · 0.80
FillUpListMethod · 0.80
InitItemMethod · 0.80
SetupMethod · 0.80
SetArticleMethod · 0.80
InitScrollViewMethod · 0.80
SetGameTaskMethod · 0.80

Calls 4

ParseTextMethod · 0.80
GetVisibleHeightMethod · 0.80
GetWidthFunction · 0.50
SetWidthMethod · 0.45

Tested by

no test coverage detected