Mercurial > sdl-ios-xcode
comparison src/video/directfb/SDL_DirectFB_mouse.c @ 4568:25b9cd8bdc30
Couriersud to Sam
I have done some quick changes and at least the code compiles again. It
also works with a number of the test executables with the DFB X11
backend. I hope to find time to get SDLMAME to work with latest SDL1.3
(i.e. rip out multi-keyboard, multi-mice & cursor support) next week to
test it further.
Regards,
André
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 23 Jul 2010 21:33:00 -0700 |
parents | f7b03b6838cb |
children | b196d2758026 |
comparison
equal
deleted
inserted
replaced
4567:1d7ea8724f4a | 4568:25b9cd8bdc30 |
---|---|
24 #include "SDL_DirectFB_video.h" | 24 #include "SDL_DirectFB_video.h" |
25 | 25 |
26 #include "../SDL_sysvideo.h" | 26 #include "../SDL_sysvideo.h" |
27 #include "../../events/SDL_mouse_c.h" | 27 #include "../../events/SDL_mouse_c.h" |
28 | 28 |
29 #if USE_MULTI_API | |
29 static SDL_Cursor *DirectFB_CreateCursor(SDL_Surface * surface, | 30 static SDL_Cursor *DirectFB_CreateCursor(SDL_Surface * surface, |
30 int hot_x, int hot_y); | 31 int hot_x, int hot_y); |
31 static int DirectFB_ShowCursor(SDL_Cursor * cursor); | 32 static int DirectFB_ShowCursor(SDL_Cursor * cursor); |
32 static void DirectFB_MoveCursor(SDL_Cursor * cursor); | 33 static void DirectFB_MoveCursor(SDL_Cursor * cursor); |
33 static void DirectFB_FreeCursor(SDL_Cursor * cursor); | 34 static void DirectFB_FreeCursor(SDL_Cursor * cursor); |
237 DirectFB_FreeMouse(SDL_Mouse * mouse) | 238 DirectFB_FreeMouse(SDL_Mouse * mouse) |
238 { | 239 { |
239 /* nothing yet */ | 240 /* nothing yet */ |
240 } | 241 } |
241 | 242 |
243 #else /* USE_MULTI_API */ | |
244 | |
245 void | |
246 DirectFB_InitMouse(_THIS) | |
247 { | |
248 SDL_DFB_DEVICEDATA(_this); | |
249 | |
250 devdata->num_mice = 1; | |
251 } | |
252 | |
253 void | |
254 DirectFB_QuitMouse(_THIS) | |
255 { | |
256 SDL_DFB_DEVICEDATA(_this); | |
257 } | |
258 | |
259 | |
260 #endif | |
261 | |
242 /* vi: set ts=4 sw=4 expandtab: */ | 262 /* vi: set ts=4 sw=4 expandtab: */ |