Lines Matching refs:theEvent
1017 //status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, 0, &stringsize, NULL);
1018 …//status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar)*10, NULL, &…
1019 …status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &string…
1206 +- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
1257 +- (void)mouseDown:(NSEvent *)theEvent
1260 + NSEventType type = [theEvent type];
1266 + if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSAlternateKeyMask))
1270 + else if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSControlKeyMask))
1283 +- (void)mouseUp:(NSEvent *)theEvent {
1285 + NSEventType type = [theEvent type];
1288 + if((type == NSLeftMouseUp) && ([theEvent modifierFlags] & NSAlternateKeyMask))
1292 + else if((type == NSLeftMouseUp) && ([theEvent modifierFlags] & NSControlKeyMask))
1307 +- (void)mouseDragged:(NSEvent *)theEvent
1309 + CGPoint delta = CGPointMake([theEvent deltaX], [theEvent deltaY]);
1324 +- (void)rightMouseDown:(NSEvent *)theEvent
1327 + NSEventType type = [theEvent type];
1342 +- (void)rightMouseUp:(NSEvent *)theEvent {
1344 + NSEventType type = [theEvent type];
1356 +- (void)rightMouseDragged:(NSEvent *)theEvent
1358 + CGPoint delta = CGPointMake([theEvent deltaX], [theEvent deltaY]);
1373 +- (void)otherMouseDown:(NSEvent *)theEvent
1376 + NSEventType type = [theEvent type];
1391 +- (void)otherMouseUp:(NSEvent *)theEvent {
1393 + NSEventType type = [theEvent type];
1405 +- (void)otherMouseDragged:(NSEvent *)theEvent
1407 + CGPoint delta = CGPointMake([theEvent deltaX], [theEvent deltaY]);
1421 +- (void)scrollWheel:(NSEvent *)theEvent
1423 + if([theEvent deltaY] != 0.0)
1424 + mTempState.Z.rel += ([theEvent deltaY] * 60);
1427 +- (void)mouseMoved:(NSEvent *)theEvent
1429 + CGPoint delta = CGPointMake([theEvent deltaX], [theEvent deltaY]);
1443 +- (void)mouseEntered:(NSEvent *)theEvent
1462 +- (void)mouseExited:(NSEvent *)theEvent
1696 void MacMouse::_mouseCallback( EventRef theEvent )
1699 UInt32 kind = GetEventKind (theEvent);
2428 +- (void)keyDown:(NSEvent *)theEvent
2430 + unsigned short virtualKey = [theEvent keyCode];
2431 + unsigned int time = (unsigned int)[theEvent timestamp];
2440 + NSUInteger stringsize = [[theEvent charactersIgnoringModifiers] length];
2441 + [[theEvent charactersIgnoringModifiers] getCharacters:text range:NSMakeRange(0, stringsize…
2456 + macChar = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
2465 +- (void)keyUp:(NSEvent *)theEvent
2467 + unsigned short virtualKey = [theEvent keyCode];
2470 + [self injectEvent:kc eventTime:[theEvent timestamp] eventType:MAC_KEYUP];
2473 +- (void)flagsChanged:(NSEvent *)theEvent
2475 + NSUInteger mods = [theEvent modifierFlags];
2480 + unsigned int time = (unsigned int)[theEvent timestamp];
2517 + if([theEvent keyCode] == NSClearLineFunctionKey) // numlock