include/SDL_mouse.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
child 1670 eef792d31de8
     1.1 --- a/include/SDL_mouse.h	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/include/SDL_mouse.h	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4   * be tested using the SDL_BUTTON(X) macros, and x and y are set to the
     1.5   * current mouse cursor position.  You can pass NULL for either x or y.
     1.6   */
     1.7 -extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState (int *x, int *y);
     1.8 +extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int *x, int *y);
     1.9  
    1.10  /*
    1.11   * Retrieve the current state of the mouse.
    1.12 @@ -67,12 +67,12 @@
    1.13   * be tested using the SDL_BUTTON(X) macros, and x and y are set to the
    1.14   * mouse deltas since the last call to SDL_GetRelativeMouseState().
    1.15   */
    1.16 -extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState (int *x, int *y);
    1.17 +extern DECLSPEC Uint8 SDLCALL SDL_GetRelativeMouseState(int *x, int *y);
    1.18  
    1.19  /*
    1.20   * Set the position of the mouse cursor (generates a mouse motion event)
    1.21   */
    1.22 -extern DECLSPEC void SDLCALL SDL_WarpMouse (Uint16 x, Uint16 y);
    1.23 +extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
    1.24  
    1.25  /*
    1.26   * Create a cursor using the specified data and mask (in MSB format).
    1.27 @@ -95,17 +95,17 @@
    1.28   * If the cursor is currently visible, the change will be immediately 
    1.29   * represented on the display.
    1.30   */
    1.31 -extern DECLSPEC void SDLCALL SDL_SetCursor (SDL_Cursor * cursor);
    1.32 +extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor);
    1.33  
    1.34  /*
    1.35   * Returns the currently active cursor.
    1.36   */
    1.37 -extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor (void);
    1.38 +extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void);
    1.39  
    1.40  /*
    1.41   * Deallocates a cursor created with SDL_CreateCursor().
    1.42   */
    1.43 -extern DECLSPEC void SDLCALL SDL_FreeCursor (SDL_Cursor * cursor);
    1.44 +extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor);
    1.45  
    1.46  /*
    1.47   * Toggle whether or not the cursor is shown on the screen.
    1.48 @@ -114,7 +114,7 @@
    1.49   * before the call, or 0 if it was not.  You can query the current
    1.50   * state by passing a 'toggle' value of -1.
    1.51   */
    1.52 -extern DECLSPEC int SDLCALL SDL_ShowCursor (int toggle);
    1.53 +extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
    1.54  
    1.55  /* Used as a mask when testing buttons in buttonstate
    1.56     Button 1:	Left mouse button