# HG changeset patch # User Sam Lantinga # Date 1295572282 28800 # Node ID 03db7d4b02b434b274dc0a5b1601f7496fe0a999 # Parent bdff53ed6c8b9c070b7570fc531885c554f16db6 Moved function for consistency diff -r bdff53ed6c8b -r 03db7d4b02b4 src/video/cocoa/SDL_cocoamouse.h --- 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 */ diff -r bdff53ed6c8b -r 03db7d4b02b4 src/video/cocoa/SDL_cocoamouse.m --- 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: */