Mercurial > sdl-ios-xcode
diff include/SDL_mouse.h @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children | eef792d31de8 |
line wrap: on
line diff
--- a/include/SDL_mouse.h Mon May 29 03:53:21 2006 +0000 +++ b/include/SDL_mouse.h Mon May 29 04:04:35 2006 +0000 @@ -59,7 +59,7 @@ * be tested using the SDL_BUTTON(X) macros, and x and y are set to the * current mouse cursor position. You can pass NULL for either x or y. */ -extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState (int *x, int *y); +extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int *x, int *y); /* * Retrieve the current state of the mouse. @@ -67,12 +67,12 @@ * be tested using the SDL_BUTTON(X) macros, and x and y are set to the * mouse deltas since the last call to SDL_GetRelativeMouseState(). */ -extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState (int *x, int *y); +extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState(int *x, int *y); /* * Set the position of the mouse cursor (generates a mouse motion event) */ -extern DECLSPEC void SDLCALL SDL_WarpMouse (Uint16 x, Uint16 y); +extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y); /* * Create a cursor using the specified data and mask (in MSB format). @@ -95,17 +95,17 @@ * If the cursor is currently visible, the change will be immediately * represented on the display. */ -extern DECLSPEC void SDLCALL SDL_SetCursor (SDL_Cursor * cursor); +extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor); /* * Returns the currently active cursor. */ -extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor (void); +extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void); /* * Deallocates a cursor created with SDL_CreateCursor(). */ -extern DECLSPEC void SDLCALL SDL_FreeCursor (SDL_Cursor * cursor); +extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor); /* * Toggle whether or not the cursor is shown on the screen. @@ -114,7 +114,7 @@ * before the call, or 0 if it was not. You can query the current * state by passing a 'toggle' value of -1. */ -extern DECLSPEC int SDLCALL SDL_ShowCursor (int toggle); +extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle); /* Used as a mask when testing buttons in buttonstate Button 1: Left mouse button