| 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 | { |
nothing calls this directly
no test coverage detected