CalcSlack is a utility function for calculating docking offsets
- Parameters:
-
| movePos | - requested move position, may be changed on ret |
| opposite | - opposite side of requested move, may be changed on ret |
| dockPos | - position to check against |
| slackCounter | - counter tracking distance we've docked so far on pos |
| inside | - are we docking inside the rect or outside? |
- Returns:
- true if movePos/opposite changed and docked, false otherwise.
Definition at line 504 of file CATWindow.cpp.
References CATAbs(), and kDOCKDISTANCE.
Referenced by OnMoving().