| 472 | #pragma region Window positioning / resizing |
| 473 | |
| 474 | void InputWindowPositionBegin(WindowBase& w, WidgetIndex widgetIndex, const ScreenCoordsXY& screenCoords) |
| 475 | { |
| 476 | _inputState = InputState::positioningWindow; |
| 477 | gInputDragLast = screenCoords - w.windowPos; |
| 478 | _dragWidget.windowClassification = w.classification; |
| 479 | _dragWidget.windowNumber = w.number; |
| 480 | _dragWidget.widgetIndex = widgetIndex; |
| 481 | } |
| 482 | |
| 483 | static void InputWindowPositionContinue( |
| 484 | WindowBase& w, const ScreenCoordsXY& lastScreenCoords, const ScreenCoordsXY& newScreenCoords) |
no outgoing calls
no test coverage detected