| 674 | } |
| 675 | |
| 676 | void Widget::setPosition(const IntPoint& _point) |
| 677 | { |
| 678 | // обновляем абсолютные координаты |
| 679 | mAbsolutePosition += _point - mCoord.point(); |
| 680 | |
| 681 | for (auto& widget : mWidgetChild) |
| 682 | widget->_updateAbsolutePoint(); |
| 683 | for (auto& widget : mWidgetChildSkin) |
| 684 | widget->_updateAbsolutePoint(); |
| 685 | |
| 686 | mCoord = _point; |
| 687 | |
| 688 | _updateView(); |
| 689 | |
| 690 | eventChangeCoord(this); |
| 691 | } |
| 692 | |
| 693 | void Widget::setSize(const IntSize& _size) |
| 694 | { |
no test coverage detected