comparison src/events/SDL_mouse.c @ 1442:e3242177fe4a

Updated OS/2 build, yay!
author Sam Lantinga <slouken@libsdl.org>
date Sun, 26 Feb 2006 19:30:21 +0000
parents d910939febfa
children 23a347cfbed8
comparison
equal deleted inserted replaced
1441:b9f034536fa0 1442:e3242177fe4a
174 SDL_ButtonState = buttonstate; 174 SDL_ButtonState = buttonstate;
175 SDL_MouseX = X; 175 SDL_MouseX = X;
176 SDL_MouseY = Y; 176 SDL_MouseY = Y;
177 SDL_DeltaX += Xrel; 177 SDL_DeltaX += Xrel;
178 SDL_DeltaY += Yrel; 178 SDL_DeltaY += Yrel;
179 SDL_MoveCursor(SDL_MouseX, SDL_MouseY); 179 SDL_MoveCursor(SDL_MouseX, SDL_MouseY);
180 180
181 /* Post the event, if desired */ 181 /* Post the event, if desired */
182 posted = 0; 182 posted = 0;
183 if ( SDL_ProcessEvents[SDL_MOUSEMOTION] == SDL_ENABLE ) { 183 if ( SDL_ProcessEvents[SDL_MOUSEMOTION] == SDL_ENABLE ) {
184 SDL_Event event; 184 SDL_Event event;