| 91 | } |
| 92 | |
| 93 | bool Widget::PrivateData::giveCharacterInputEventForSubWidgets(const CharacterInputEvent& ev) |
| 94 | { |
| 95 | if (! visible) |
| 96 | return false; |
| 97 | if (subWidgets.size() == 0) |
| 98 | return false; |
| 99 | |
| 100 | FOR_EACH_SUBWIDGET_INV(rit) |
| 101 | { |
| 102 | SubWidget* const widget(*rit); |
| 103 | |
| 104 | if (widget->isVisible() && widget->onCharacterInput(ev)) |
| 105 | return true; |
| 106 | } |
| 107 | |
| 108 | return false; |
| 109 | } |
| 110 | |
| 111 | bool Widget::PrivateData::giveMouseEventForSubWidgets(MouseEvent& ev) |
| 112 | { |
no test coverage detected