| 1027 | } |
| 1028 | |
| 1029 | bool GuiControl::pointInControl(const Point2I& parentCoordPoint) |
| 1030 | { |
| 1031 | S32 xt = parentCoordPoint.x - mBounds.point.x; |
| 1032 | S32 yt = parentCoordPoint.y - mBounds.point.y; |
| 1033 | return xt >= 0 && yt >= 0 && xt < mBounds.extent.x && yt < mBounds.extent.y; |
| 1034 | } |
| 1035 | |
| 1036 | |
| 1037 | GuiControl* GuiControl::findHitControl(const Point2I &pt, S32 initialLayer) |
no outgoing calls
no test coverage detected