MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / SetFont

Method SetFont

Sources/Jazz2/UI/FormattedTextBlock.cpp:902–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900 }
901
902 void FormattedTextBlock::SetFont(Font* value)
903 {
904 if (_font == value) {
905 return;
906 }
907
908 _font = value;
909 _parts.clear();
910 _background.clear();
911 }
912
913 void FormattedTextBlock::SetScale(float value)
914 {

Callers 3

OnInitializedMethod · 0.80
LogLineMethod · 0.80
AboutSectionMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected