| 6211 | } |
| 6212 | |
| 6213 | bool Editor::DragThreshold ( Point ptStart, Point ptNow ) |
| 6214 | { |
| 6215 | int xMove = ptStart.x - ptNow.x; |
| 6216 | int yMove = ptStart.y - ptNow.y; |
| 6217 | int distanceSquared = xMove * xMove + yMove * yMove; |
| 6218 | return distanceSquared > 16; |
| 6219 | } |
| 6220 | |
| 6221 | void Editor::StartDrag() |
| 6222 | { |
nothing calls this directly
no outgoing calls
no test coverage detected