| 10 | { |
| 11 | |
| 12 | FriendPanel::FriendPanel() |
| 13 | { |
| 14 | initialiseByAttributes(this); |
| 15 | |
| 16 | const MyGUI::IntSize& size = mMainWidget->getParentSize(); |
| 17 | int offset = size.width / 3; |
| 18 | |
| 19 | mMainWidget->setPosition(offset - (mMainWidget->getWidth() / 2), (size.height - mMainWidget->getHeight()) / 2); |
| 20 | } |
| 21 | |
| 22 | bool FriendPanel::isIntersect(int _x, int _y) |
| 23 | { |
nothing calls this directly
no test coverage detected