Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoamouse.h @ 5057:bdff53ed6c8b
Fix mouse wheel events in fullscreen mode for OS X
With proposed patch by vernier.
author | Jjgod Jiang <gzjjgod@gmail.com> |
---|---|
date | Fri, 21 Jan 2011 00:15:18 +0100 |
parents | f7b03b6838cb |
children | 03db7d4b02b4 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamouse.h Thu Jan 20 16:05:59 2011 -0800 +++ b/src/video/cocoa/SDL_cocoamouse.h Fri Jan 21 00:15:18 2011 +0100 @@ -27,6 +27,7 @@ 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); #endif /* _SDL_cocoamouse_h */