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

Method notifyMouseSetFocus

UnitTests/UnitTest_ChildAttach/DemoKeeper.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13 void DemoKeeper::notifyMouseSetFocus(MyGUI::Widget* _sender, MyGUI::Widget* _old)
14 {
15 MyGUI::ImageBox* image = _sender->castType<MyGUI::ImageBox>();
16 image->setItemName("Offline");
17 image->setVisible(true);
18 mTextBoxTest->setCaption(_sender->getName());
19 }
20
21 void DemoKeeper::notifyMouseLostFocus(MyGUI::Widget* _sender, MyGUI::Widget* _new)
22 {

Callers

nothing calls this directly

Calls 3

setItemNameMethod · 0.45
setVisibleMethod · 0.45
setCaptionMethod · 0.45

Tested by

no test coverage detected