Moved function for consistency
authorSam Lantinga <slouken@libsdl.org>
Thu, 20 Jan 2011 17:11:22 -0800
changeset 5058 03db7d4b02b4
parent 5057 bdff53ed6c8b
child 5059 00d1fef487c5
Moved function for consistency
src/video/cocoa/SDL_cocoamouse.h
src/video/cocoa/SDL_cocoamouse.m
--- a/src/video/cocoa/SDL_cocoamouse.h	Fri Jan 21 00:15:18 2011 +0100
+++ b/src/video/cocoa/SDL_cocoamouse.h	Thu Jan 20 17:11:22 2011 -0800
@@ -26,8 +26,8 @@
 
 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);
-extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
 
 #endif /* _SDL_cocoamouse_h */
 
--- a/src/video/cocoa/SDL_cocoamouse.m	Fri Jan 21 00:15:18 2011 +0100
+++ b/src/video/cocoa/SDL_cocoamouse.m	Thu Jan 20 17:11:22 2011 -0800
@@ -108,11 +108,6 @@
 }
 
 void
-Cocoa_QuitMouse(_THIS)
-{
-}
-
-void
 Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
 {
     float x = [event deltaX];
@@ -131,4 +126,9 @@
     SDL_SendMouseWheel(window, (int)x, (int)y);
 }
 
+void
+Cocoa_QuitMouse(_THIS)
+{
+}
+
 /* vi: set ts=4 sw=4 expandtab: */