Moved function for consistency
This commit is contained in:
parent
e666b3b289
commit
6456acb47b
2 changed files with 6 additions and 6 deletions
|
@ -26,8 +26,8 @@
|
||||||
|
|
||||||
extern void Cocoa_InitMouse(_THIS);
|
extern void Cocoa_InitMouse(_THIS);
|
||||||
extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event);
|
extern void Cocoa_HandleMouseEvent(_THIS, NSEvent * event);
|
||||||
extern void Cocoa_QuitMouse(_THIS);
|
|
||||||
extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
|
extern void Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent * event);
|
||||||
|
extern void Cocoa_QuitMouse(_THIS);
|
||||||
|
|
||||||
#endif /* _SDL_cocoamouse_h */
|
#endif /* _SDL_cocoamouse_h */
|
||||||
|
|
||||||
|
|
|
@ -107,11 +107,6 @@ Cocoa_HandleMouseEvent(_THIS, NSEvent *event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
Cocoa_QuitMouse(_THIS)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
|
Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
|
||||||
{
|
{
|
||||||
|
@ -131,4 +126,9 @@ Cocoa_HandleMouseWheel(SDL_Window *window, NSEvent *event)
|
||||||
SDL_SendMouseWheel(window, (int)x, (int)y);
|
SDL_SendMouseWheel(window, (int)x, (int)y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
Cocoa_QuitMouse(_THIS)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue