MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateBreakHeight

Method updateBreakHeight

UnitTests/UnitTest_HyperTextBox/HyperTextBox.cpp:644–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642 }
643
644 void HyperTextBox::updateBreakHeight()
645 {
646 mBreakHeight = 0;
647
648 IFont* font = FontManager::getInstancePtr()->getByName(getDefaultFont());
649 if (font != nullptr)
650 mBreakHeight = font->getDefaultHeight();
651 }
652
653} // namespace MyGUI

Callers

nothing calls this directly

Calls 3

getInstancePtrFunction · 0.85
getByNameMethod · 0.45
getDefaultHeightMethod · 0.45

Tested by

no test coverage detected