MCPcopy Create free account
hub / github.com/Geant4/geant4 / TrackMouse

Method TrackMouse

source/visualization/OpenGL/src/G4OpenGLWin32Viewer.cc:412–422  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

410
411//////////////////////////////////////////////////////////////////////////////
412void G4OpenGLWin32Viewer::TrackMouse(
413 G4int x
414,G4int y
415)
416//////////////////////////////////////////////////////////////////////////////
417//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
418{
419 fMousePressed = true;
420 fMousePressedX = x;
421 fMousePressedY = y;
422}
423
424//////////////////////////////////////////////////////////////////////////////
425void G4OpenGLWin32Viewer::ReleaseMouse(

Callers 1

WindowProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected