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

Method setPasswordChar

MyGUIEngine/src/MyGUI_EditBox.cpp:1574–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572 }
1573
1574 void EditBox::setPasswordChar(Char _char)
1575 {
1576 mCharPassword = _char;
1577 if (mModePassword)
1578 {
1579 if (mClientText != nullptr)
1580 mClientText->setCaption(UString(mTextLength, (UString::code_point)mCharPassword));
1581 }
1582 }
1583
1584 void EditBox::updateEditState()
1585 {

Calls 3

UStringFunction · 0.85
setCaptionMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected