| 56 | } |
| 57 | |
| 58 | void ImageBox::setImageCoord(const IntCoord& _coord) |
| 59 | { |
| 60 | mRectImage.left = _coord.left; |
| 61 | mRectImage.top = _coord.top; |
| 62 | mRectImage.right = _coord.left + _coord.width; |
| 63 | mRectImage.bottom = _coord.top + _coord.height; |
| 64 | |
| 65 | setImageRect(mRectImage); |
| 66 | } |
| 67 | |
| 68 | void ImageBox::setImageRect(const IntRect& _rect) |
| 69 | { |
no outgoing calls
no test coverage detected