------------------------------------------------------------------------------
| 633 | |
| 634 | //------------------------------------------------------------------------------ |
| 635 | int vtkWin32RenderWindowInteractor::OnNCMouseMove(HWND, UINT nFlags, int X, int Y) |
| 636 | { |
| 637 | if (!this->Enabled || !this->MouseInWindow) |
| 638 | { |
| 639 | return 0; |
| 640 | } |
| 641 | |
| 642 | const int* pos = this->RenderWindow->GetPosition(); |
| 643 | this->SetEventInformationFlipY(X - pos[0], Y - pos[1], nFlags & MK_CONTROL, nFlags & MK_SHIFT); |
| 644 | this->SetAltKey((GetKeyState(VK_MENU) & 0x8000) != 0); |
| 645 | const int ret = this->InvokeEvent(vtkCommand::LeaveEvent, nullptr); |
| 646 | this->MouseInWindow = 0; |
| 647 | return ret; |
| 648 | } |
| 649 | |
| 650 | //------------------------------------------------------------------------------ |
| 651 | int vtkWin32RenderWindowInteractor::OnMouseWheelForward(HWND, UINT nFlags, int X, int Y) |
no test coverage detected