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

Method OnChar

Rendering/UI/vtkWin32RenderWindowInteractor.cxx:832–843  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

830
831//------------------------------------------------------------------------------
832int vtkWin32RenderWindowInteractor::OnChar(HWND, UINT nChar, UINT nRepCnt, UINT)
833{
834 if (!this->Enabled)
835 {
836 return 0;
837 }
838 int ctrl, shift, alt;
839 ::RecoverModifiersStatus(ctrl, shift, alt);
840 this->SetKeyEventInformation(ctrl, shift, nChar, nRepCnt);
841 this->SetAltKey(alt);
842 return this->InvokeEvent(vtkCommand::CharEvent, nullptr);
843}
844
845//------------------------------------------------------------------------------
846int vtkWin32RenderWindowInteractor::OnFocus(HWND, UINT)

Callers 1

vtkHandleMessage2Function · 0.45

Calls 2

RecoverModifiersStatusFunction · 0.85
InvokeEventMethod · 0.80

Tested by

no test coverage detected