| 132 | } |
| 133 | |
| 134 | void AnimationViewControl::updateImageCoord() |
| 135 | { |
| 136 | MyGUI::IntSize size = mAnimation.getSize(); |
| 137 | MyGUI::IntSize parentSize = mImage->getParentSize(); |
| 138 | |
| 139 | mImage->setCoord( |
| 140 | (parentSize.width - size.width) / 2, |
| 141 | (parentSize.height - size.height) / 2, |
| 142 | size.width, |
| 143 | size.height); |
| 144 | } |
| 145 | |
| 146 | void AnimationViewControl::notifyChangeCoord(MyGUI::Widget* _sender) |
| 147 | { |
nothing calls this directly
no test coverage detected