378 |
|
|
379 |
|
- (BOOL) processMouseMove: (NSEvent *) event |
380 |
|
{ |
381 |
< |
NSPoint location; |
381 |
> |
if ( ! drawView ) |
382 |
> |
{ |
383 |
> |
D(NSLog(@"Unable to process event - Emulator has not started yet")); |
384 |
> |
return NO; |
385 |
> |
} |
386 |
|
|
387 |
|
if ( fullScreen ) |
388 |
|
{ |
390 |
|
return YES; |
391 |
|
} |
392 |
|
|
393 |
< |
location = [self convertPoint: [event locationInWindow] fromView:nil]; |
393 |
> |
NSPoint location = [self convertPoint: [event locationInWindow] fromView:nil]; |
394 |
|
|
395 |
|
D(NSLog (@"%s - loc.x=%f, loc.y=%f", |
396 |
|
__PRETTY_FUNCTION__, location.x, location.y)); |