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

Method notifyListLostFocus

MyGUIEngine/src/MyGUI_ComboBox.cpp:103–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void ComboBox::notifyListLostFocus(Widget* _sender, Widget* _new)
104 {
105 if (mDropMouse)
106 {
107 mDropMouse = false;
108 Widget* focus = InputManager::getInstance().getMouseFocusWidget();
109
110 // кнопка сама уберет список
111 if (focus == mButton)
112 return;
113
114 // в режиме дропа все окна учавствуют
115 if (mModeDrop && focus == mScrollViewClient)
116 return;
117 }
118
119 hideList();
120 }
121
122 void ComboBox::notifyListSelectAccept(ListBox* _widget, size_t _position)
123 {

Callers

nothing calls this directly

Calls 1

getMouseFocusWidgetMethod · 0.80

Tested by

no test coverage detected