Mercurial > sdl-ios-xcode
comparison src/events/SDL_mouse.c @ 3186:51750b7a966f
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Jun 2009 13:34:20 +0000 |
parents | 9b34679fda8b |
children | 102b7880543a |
comparison
equal
deleted
inserted
replaced
3185:44d5474c2c8a | 3186:51750b7a966f |
---|---|
367 event.proximity.which = (Uint8) index; | 367 event.proximity.which = (Uint8) index; |
368 event.proximity.x = x; | 368 event.proximity.x = x; |
369 event.proximity.y = y; | 369 event.proximity.y = y; |
370 event.proximity.cursor = mouse->current_end; | 370 event.proximity.cursor = mouse->current_end; |
371 event.proximity.type = type; | 371 event.proximity.type = type; |
372 event.proximity.windowID = mouse->focus; | |
372 posted = (SDL_PushEvent(&event) > 0); | 373 posted = (SDL_PushEvent(&event) > 0); |
373 if (type == SDL_PROXIMITYIN) { | 374 if (type == SDL_PROXIMITYIN) { |
374 mouse->proximity = SDL_TRUE; | 375 mouse->proximity = SDL_TRUE; |
375 } else { | 376 } else { |
376 mouse->proximity = SDL_FALSE; | 377 mouse->proximity = SDL_FALSE; |