| 596 | } |
| 597 | |
| 598 | void Widget::setRealSize(const FloatSize& _size) |
| 599 | { |
| 600 | setSize(CoordConverter::convertFromRelative( |
| 601 | _size, |
| 602 | mCroppedParent == nullptr ? RenderManager::getInstance().getViewSize() : mCroppedParent->getSize())); |
| 603 | } |
| 604 | |
| 605 | void Widget::setRealCoord(const FloatCoord& _coord) |
| 606 | { |
no test coverage detected