Mercurial > sdl-ios-xcode
comparison src/video/windows/SDL_windowsevents.c @ 5142:57851a238c8f
Removed more partially functional renderers
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 31 Jan 2011 22:53:45 -0800 |
parents | c2539ff054c8 |
children | be02be2ea897 |
comparison
equal
deleted
inserted
replaced
5141:da10636e5eca | 5142:57851a238c8f |
---|---|
193 case WM_MOUSEMOVE: | 193 case WM_MOUSEMOVE: |
194 #ifdef _WIN32_WCE | 194 #ifdef _WIN32_WCE |
195 /* transform coords for VGA, WVGA... */ | 195 /* transform coords for VGA, WVGA... */ |
196 { | 196 { |
197 SDL_VideoData *videodata = data->videodata; | 197 SDL_VideoData *videodata = data->videodata; |
198 if(videodata->CoordTransform && | 198 if(videodata->CoordTransform) { |
199 (videodata->render == RENDER_GAPI || videodata->render == RENDER_RAW)) | |
200 { | |
201 POINT pt; | 199 POINT pt; |
202 pt.x = LOWORD(lParam); | 200 pt.x = LOWORD(lParam); |
203 pt.y = HIWORD(lParam); | 201 pt.y = HIWORD(lParam); |
204 videodata->CoordTransform(data->window, &pt); | 202 videodata->CoordTransform(data->window, &pt); |
205 SDL_SendMouseMotion(data->window, 0, pt.x, pt.y); | 203 SDL_SendMouseMotion(data->window, 0, pt.x, pt.y); |
206 break; | 204 break; |
207 } | 205 } |
208 } | 206 } |
209 #endif | 207 #endif |
210 SDL_SendMouseMotion(data->window, 0, LOWORD(lParam), HIWORD(lParam)); | 208 SDL_SendMouseMotion(data->window, 0, LOWORD(lParam), HIWORD(lParam)); |