Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Moved function for consistency

  • Loading branch information
slouken committed Jan 21, 2011
1 parent d63b12f commit 8b901db6496d86101bd2f90e7bee91b10f18425e
Showing with 6 additions and 6 deletions.
  1. +1 −1 src/video/cocoa/SDL_cocoamouse.h
  2. +5 −5 src/video/cocoa/SDL_cocoamouse.m
@@ -26,8 +26,8 @@

extern void Cocoa_InitMouse(_THIS);
extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event);
extern void Cocoa_QuitMouse(_THIS);
extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
extern void Cocoa_QuitMouse(_THIS);

#endif /* _SDL_cocoamouse_h */

@@ -107,11 +107,6 @@
}
}

void
Cocoa_QuitMouse(_THIS)
{
}

void
Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
{
@@ -131,4 +126,9 @@
SDL_SendMouseWheel(window, (int)x, (int)y);
}

void
Cocoa_QuitMouse(_THIS)
{
}

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 8b901db

Please sign in to comment.