------------------------------------------------------------------------------
| 694 | |
| 695 | //------------------------------------------------------------------------------ |
| 696 | int vtkWin32RenderWindowInteractor::OnLButtonUp(HWND, UINT nFlags, int X, int Y) |
| 697 | { |
| 698 | if (!this->Enabled) |
| 699 | { |
| 700 | return 0; |
| 701 | } |
| 702 | // touch events handled by WM_TOUCH |
| 703 | if ((GetMessageExtraInfo() & MOUSEEVENTF_FROMTOUCH) == MOUSEEVENTF_FROMTOUCH) |
| 704 | { |
| 705 | return 0; |
| 706 | } |
| 707 | this->SetEventInformationFlipY(X, Y, nFlags & MK_CONTROL, nFlags & MK_SHIFT); |
| 708 | this->SetAltKey((GetKeyState(VK_MENU) & 0x8000) != 0); |
| 709 | const int ret = this->InvokeEvent(vtkCommand::LeftButtonReleaseEvent, nullptr); |
| 710 | ReleaseCapture(); |
| 711 | return ret; |
| 712 | } |
| 713 | |
| 714 | //------------------------------------------------------------------------------ |
| 715 | int vtkWin32RenderWindowInteractor::OnMButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat) |
no test coverage detected