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

Method notifyMouseSetFocus

UnitTests/UnitTest_TreeControl/TreeControl.cpp:461–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 }
460
461 void TreeControl::notifyMouseSetFocus(Widget* pSender, Widget* pPreviousWidget)
462 {
463 mnFocusIndex = *pSender->_getInternalData<size_t>();
464 eventTreeNodeMouseSetFocus(this, mItemWidgets[mnFocusIndex]->getNode());
465 }
466
467 void TreeControl::notifyMouseLostFocus(Widget* pSender, Widget* pNextWidget)
468 {

Callers

nothing calls this directly

Calls 1

getNodeMethod · 0.80

Tested by

no test coverage detected