| 487 | } |
| 488 | |
| 489 | size_t ItemBox::_getContainerIndex(const IntPoint& _point) const |
| 490 | { |
| 491 | for (const auto& item : mVectorItems) |
| 492 | { |
| 493 | if (item->getVisible()) |
| 494 | { |
| 495 | if (item->getAbsoluteRect().inside(_point)) |
| 496 | { |
| 497 | return getIndexByWidget(item); |
| 498 | } |
| 499 | } |
| 500 | } |
| 501 | return ITEM_NONE; |
| 502 | } |
| 503 | |
| 504 | void ItemBox::_resetContainer(bool _update) |
| 505 | { |
nothing calls this directly
no test coverage detected