| 1025 | } |
| 1026 | |
| 1027 | void IDrawableModule::ForcePosition() |
| 1028 | { |
| 1029 | if (TheSynth->GetMoveModule() != this) |
| 1030 | { |
| 1031 | auto pos = mPinnedPosition - TheSynth->GetDrawOffset(); |
| 1032 | mX = pos.x; |
| 1033 | mY = pos.y; |
| 1034 | } |
| 1035 | else if (mPinned) // Moved while pinned. |
| 1036 | SetPinned(true); |
| 1037 | } |
| 1038 | |
| 1039 | void IDrawableModule::FindClosestSides(float xThis, float yThis, float wThis, float hThis, float xThat, float yThat, float wThat, float hThat, float& startX, float& startY, float& endX, float& endY, bool sidesOnly /*= false*/) |
| 1040 | { |
nothing calls this directly
no test coverage detected