MCPcopy Create free account
hub / github.com/Kitware/VTK / OnRButtonUp

Method OnRButtonUp

Rendering/UI/vtkWin32RenderWindowInteractor.cxx:757–768  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

755
756//------------------------------------------------------------------------------
757int vtkWin32RenderWindowInteractor::OnRButtonUp(HWND, UINT nFlags, int X, int Y)
758{
759 if (!this->Enabled)
760 {
761 return 0;
762 }
763 this->SetEventInformationFlipY(X, Y, nFlags & MK_CONTROL, nFlags & MK_SHIFT);
764 this->SetAltKey((GetKeyState(VK_MENU) & 0x8000) != 0);
765 const int ret = this->InvokeEvent(vtkCommand::RightButtonReleaseEvent, nullptr);
766 ReleaseCapture();
767 return ret;
768}
769
770//------------------------------------------------------------------------------
771int vtkWin32RenderWindowInteractor::OnSize(HWND, UINT, int X, int Y)

Callers 1

vtkHandleMessage2Function · 0.45

Calls 1

InvokeEventMethod · 0.80

Tested by

no test coverage detected