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

Method setRealString

MyGUIEngine/src/MyGUI_EditBox.cpp:1559–1572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557 }
1558
1559 void EditBox::setRealString(const UString& _caption)
1560 {
1561 if (mModePassword)
1562 {
1563 mPasswordText = _caption;
1564 if (mClientText != nullptr)
1565 mClientText->setCaption(UString(mTextLength, (UString::code_point)mCharPassword));
1566 }
1567 else
1568 {
1569 if (mClientText != nullptr)
1570 mClientText->setCaption(_caption);
1571 }
1572 }
1573
1574 void EditBox::setPasswordChar(Char _char)
1575 {

Callers

nothing calls this directly

Calls 2

UStringFunction · 0.85
setCaptionMethod · 0.45

Tested by

no test coverage detected