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

Method SetDefaultColor

Sources/Jazz2/UI/FormattedTextBlock.cpp:891–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889 }
890
891 void FormattedTextBlock::SetDefaultColor(Colorf color)
892 {
893 if (_defaultColor == color) {
894 return;
895 }
896
897 _defaultColor = color;
898 _parts.clear();
899 _background.clear();
900 }
901
902 void FormattedTextBlock::SetFont(Font* value)
903 {

Callers 1

OnDrawMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected