comparison src/events/SDL_mouse.c @ 3770:81b649bad6d2 gsoc2008_manymouse

Implementation finished
author Szymon Wilczek <kazeuser@gmail.com>
date Thu, 31 Jul 2008 14:41:48 +0000
parents fe32943f86ec
children 8cc36a399a12
comparison
equal deleted inserted replaced
3769:fe32943f86ec 3770:81b649bad6d2
328 int 328 int
329 SDL_SendProximity(int id, int x, int y, int type) 329 SDL_SendProximity(int id, int x, int y, int type)
330 { 330 {
331 int index=SDL_GetIndexById(id); 331 int index=SDL_GetIndexById(id);
332 int posted=0; 332 int posted=0;
333 last_x=x;
334 last_y=y;
333 if(SDL_ProcessEvents[type]==SDL_ENABLE) 335 if(SDL_ProcessEvents[type]==SDL_ENABLE)
334 { 336 {
335 SDL_Event event; 337 SDL_Event event;
336 event.proximity.which=(Uint8)index; 338 event.proximity.which=(Uint8)index;
337 event.proximity.x=x; 339 event.proximity.x=x;