equal
deleted
inserted
replaced
21 #include "SDL_config.h" |
21 #include "SDL_config.h" |
22 |
22 |
23 #ifndef _SDL_cocoamouse_h |
23 #ifndef _SDL_cocoamouse_h |
24 #define _SDL_cocoamouse_h |
24 #define _SDL_cocoamouse_h |
25 |
25 |
|
26 #include "SDL_cocoavideo.h" |
|
27 |
26 extern void Cocoa_InitMouse(_THIS); |
28 extern void Cocoa_InitMouse(_THIS); |
27 extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event); |
29 extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event); |
28 extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event); |
30 extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event); |
29 extern void Cocoa_QuitMouse(_THIS); |
31 extern void Cocoa_QuitMouse(_THIS); |
30 |
32 |
|
33 typedef struct { |
|
34 int deltaXOffset; |
|
35 int deltaYOffset; |
|
36 } SDL_MouseData; |
|
37 |
31 #endif /* _SDL_cocoamouse_h */ |
38 #endif /* _SDL_cocoamouse_h */ |
32 |
39 |
33 /* vi: set ts=4 sw=4 expandtab: */ |
40 /* vi: set ts=4 sw=4 expandtab: */ |