public override void RightMouseDown(NSEvent theEvent) { base.RightMouseDown(theEvent); touchPhase = NSTouchPhase.Began; IsRightButtonPressed = true; UpdateMousePosition(theEvent); }
public override void RightMouseUp(NSEvent theEvent) { base.RightMouseUp(theEvent); touchPhase = NSTouchPhase.Ended; UpdateMousePosition(theEvent); IsRightButtonPressed = false; touchPhase = NSTouchPhase.Any; }
public NSSet TouchesMatchingPhaseinView(NSTouchPhase phase, NSView view) { return(TouchesMatchingPhase(phase, view)); }
public override void RightMouseDragged(NSEvent theEvent) { base.RightMouseDragged(theEvent); touchPhase = NSTouchPhase.Moved; UpdateMousePosition(theEvent); }
public NSSet TouchesMatchingPhaseinView(NSTouchPhase phase, NSView view) { return TouchesMatchingPhase (phase, view); }