Lines Matching refs:pEvent
466 -(BOOL)acceptsFirstMouse: (NSEvent*)pEvent
468 (void)pEvent;
526 -(void)sendMouseEventToFrame: (NSEvent*)pEvent button:(sal_uInt16)nButton eventtype:(sal_uInt16)nEv…
582 pDispatchFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 );
583 pDispatchFrame->mnLastModifierFlags = [pEvent modifierFlags];
588 sal_uInt16 nModMask = ImplGetModifierMask( [pEvent modifierFlags] );
611 -(void)mouseDown: (NSEvent*)pEvent
616 [mpMouseEventListener mouseDown: [pEvent copyWithZone: NULL]];
620 [self sendMouseEventToFrame:pEvent button:MOUSE_LEFT eventtype:SALEVENT_MOUSEBUTTONDOWN];
623 -(void)mouseDragged: (NSEvent*)pEvent
628 [mpMouseEventListener mouseDragged: [pEvent copyWithZone: NULL]];
631 [self sendMouseEventToFrame:pEvent button:MOUSE_LEFT eventtype:SALEVENT_MOUSEMOVE];
634 -(void)mouseUp: (NSEvent*)pEvent
637 [self sendMouseEventToFrame:pEvent button:MOUSE_LEFT eventtype:SALEVENT_MOUSEBUTTONUP];
640 -(void)mouseMoved: (NSEvent*)pEvent
643 [self sendMouseEventToFrame:pEvent button:0 eventtype:SALEVENT_MOUSEMOVE];
646 -(void)mouseEntered: (NSEvent*)pEvent
653 [self sendMouseEventToFrame:pEvent button:s_nLastButton eventtype:SALEVENT_MOUSEMOVE];
656 -(void)mouseExited: (NSEvent*)pEvent
664 [self sendMouseEventToFrame:pEvent button:s_nLastButton eventtype:SALEVENT_MOUSELEAVE];
667 -(void)rightMouseDown: (NSEvent*)pEvent
670 [self sendMouseEventToFrame:pEvent button:MOUSE_RIGHT eventtype:SALEVENT_MOUSEBUTTONDOWN];
673 -(void)rightMouseDragged: (NSEvent*)pEvent
676 [self sendMouseEventToFrame:pEvent button:MOUSE_RIGHT eventtype:SALEVENT_MOUSEMOVE];
679 -(void)rightMouseUp: (NSEvent*)pEvent
682 [self sendMouseEventToFrame:pEvent button:MOUSE_RIGHT eventtype:SALEVENT_MOUSEBUTTONUP];
685 -(void)otherMouseDown: (NSEvent*)pEvent
687 if( [pEvent buttonNumber] == 2 )
690 [self sendMouseEventToFrame:pEvent button:MOUSE_MIDDLE eventtype:SALEVENT_MOUSEBUTTONDOWN];
696 -(void)otherMouseDragged: (NSEvent*)pEvent
698 if( [pEvent buttonNumber] == 2 )
701 [self sendMouseEventToFrame:pEvent button:MOUSE_MIDDLE eventtype:SALEVENT_MOUSEMOVE];
707 -(void)otherMouseUp: (NSEvent*)pEvent
710 if( [pEvent buttonNumber] == 2 )
711 [self sendMouseEventToFrame:pEvent button:MOUSE_MIDDLE eventtype:SALEVENT_MOUSEBUTTONUP];
714 - (void)magnifyWithEvent: (NSEvent*)pEvent
721 const NSTimeInterval fMagnifyTime = [pEvent timestamp];
723 mpFrame->mnLastModifierFlags = [pEvent modifierFlags];
731 mfMagnifyDeltaSum += [pEvent deltaZ];
733 mfLastMagnifyTime = [pEvent timestamp];
781 - (void)rotateWithEvent: (NSEvent*)pEvent
785 (void)pEvent;
788 - (void)swipeWithEvent: (NSEvent*)pEvent
794 mpFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 );
795 mpFrame->mnLastModifierFlags = [pEvent modifierFlags];
802 dX += [pEvent deltaX];
803 dY += [pEvent deltaY];
808 pEvent = pNextEvent;
848 -(void)scrollWheel: (NSEvent*)pEvent
854 mpFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 );
855 mpFrame->mnLastModifierFlags = [pEvent modifierFlags];
862 dX += [pEvent deltaX];
863 dY += [pEvent deltaY];
868 pEvent = pNextEvent;
915 -(void)keyDown: (NSEvent*)pEvent
921 mpLastEvent = pEvent;
926 mpFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 );
927 mpFrame->mnLastModifierFlags = [pEvent modifierFlags];
929 if( ! [self handleKeyDownException: pEvent] )
931 NSArray* pArray = [NSArray arrayWithObject: pEvent];
939 -(BOOL)handleKeyDownException:(NSEvent*)pEvent
942 NSString* pUnmodifiedString = [pEvent charactersIgnoringModifiers];
977 -(void)flagsChanged: (NSEvent*)pEvent
983 mpFrame->mnLastEventTime = static_cast<sal_uLong>( [pEvent timestamp] * 1000.0 );
984 mpFrame->mnLastModifierFlags = [pEvent modifierFlags];
1481 -(BOOL)sendSingleCharacter: (NSEvent *)pEvent
1483 NSString* pUnmodifiedString = [pEvent charactersIgnoringModifiers];