MCPcopy Create free account
hub / github.com/SpartanJ/eepp / onNewString

Method onNewString

src/eepp/graphics/text.cpp:591–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591void Text::onNewString() {
592 mColorsNeedUpdate = true;
593 mGeometryNeedUpdate = true;
594 mCachedWidthNeedUpdate = true;
595 mVisualLinesNeedUpdate = true;
596 mTextHints = mString.getTextHints();
597 checkColorEmojis();
598}
599
600bool Text::setString( const String::View& string ) {
601 if ( mString.view() != string ) {

Callers

nothing calls this directly

Calls 1

getTextHintsMethod · 0.45

Tested by

no test coverage detected