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

Method OnTextSetFocus

UnitTests/UnitTest_HyperTextBox/HyperTextBox.cpp:492–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490 }
491
492 void HyperTextBox::OnTextSetFocus(Widget* _sender, Widget* _old)
493 {
494 size_t count = _sender->getChildCount();
495 if (count > 0)
496 _sender->getChildAt(0)->setVisible(true);
497 }
498
499 void HyperTextBox::OnTextClick(Widget* _sender)
500 {

Callers

nothing calls this directly

Calls 3

getChildCountMethod · 0.80
getChildAtMethod · 0.80
setVisibleMethod · 0.45

Tested by

no test coverage detected