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

Method OnTextLostFocus

UnitTests/UnitTest_HyperTextBox/HyperTextBox.cpp:485–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 }
484
485 void HyperTextBox::OnTextLostFocus(Widget* _sender, Widget* _new)
486 {
487 size_t count = _sender->getChildCount();
488 if (count > 0)
489 _sender->getChildAt(0)->setVisible(false);
490 }
491
492 void HyperTextBox::OnTextSetFocus(Widget* _sender, Widget* _old)
493 {

Callers

nothing calls this directly

Calls 3

getChildCountMethod · 0.80
getChildAtMethod · 0.80
setVisibleMethod · 0.45

Tested by

no test coverage detected