src/video/cocoa/SDL_cocoamouse.h
changeset 7114 02b2fe147478
parent 6885 700f1b25f77f
child 7158 ff52fba70795
--- a/src/video/cocoa/SDL_cocoamouse.h	Thu Apr 25 18:40:22 2013 -0700
+++ b/src/video/cocoa/SDL_cocoamouse.h	Thu Apr 25 18:40:29 2013 -0700
@@ -23,11 +23,18 @@
 #ifndef _SDL_cocoamouse_h
 #define _SDL_cocoamouse_h
 
+#include "SDL_cocoavideo.h"
+
 extern void Cocoa_InitMouse(_THIS);
 extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event);
 extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
 extern void Cocoa_QuitMouse(_THIS);
 
+typedef struct {
+    int deltaXOffset;
+    int deltaYOffset;
+} SDL_MouseData;
+
 #endif /* _SDL_cocoamouse_h */
 
 /* vi: set ts=4 sw=4 expandtab: */