Home | History | Annotate | Download | only in src

Lines Matching refs:theEvent

127 OSStatus keyHandler(EventHandlerCallRef hcr, EventRef theEvent, void* inUserData);
128 static pascal OSStatus windowEventHandler(EventHandlerCallRef nextHandler, EventRef theEvent, void *inUserData);
955 static pascal OSStatus windowEventHandler(EventHandlerCallRef nextHandler, EventRef theEvent, void *inUserData)
973 eventKind = GetEventKind(theEvent);
974 eventClass = GetEventClass(theEvent);
983 err = CallNextEventHandler(nextHandler, theEvent);
986 err = GetEventParameter(theEvent, kEventParamMouseButton, typeMouseButton, NULL, sizeof(eventMouseButton), NULL, &eventMouseButton);
987 err = GetEventParameter(theEvent, kEventParamKeyModifiers, typeUInt32, NULL, sizeof(modifiers), NULL, &modifiers);
988 err = GetEventParameter(theEvent,kEventParamClickCount,typeUInt32,NULL,sizeof(UInt32),NULL,&count);
1002 err = GetEventParameter(theEvent, kEventParamWindowMouseLocation, typeHIPoint, NULL, sizeof(point), NULL, &point);
1076 OSStatus keyHandler(EventHandlerCallRef hcr, EventRef theEvent, void* inUserData)
1082 eventKind = GetEventKind (theEvent);
1083 eventClass = GetEventClass (theEvent);
1084 err = GetEventParameter(theEvent, kEventParamKeyMacCharCodes, typeChar, NULL, sizeof(lastKey), NULL, &lastKey);
1093 EventRecord theEvent;
1109 WaitNextEvent (everyEvent, &theEvent, maxWait > 0 ? wait : kDurationForever, NULL);
1111 while (lastKey == NO_KEY && theEvent.what != nullEvent);