changeset 5058:03db7d4b02b4

Moved function for consistency
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 17:11:22 -0800
parents bdff53ed6c8b
children 00d1fef487c5
files src/video/cocoa/SDL_cocoamouse.h src/video/cocoa/SDL_cocoamouse.m
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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: */