include/SDL_mouse.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 451 24edec3cafe4
     1.1 --- a/include/SDL_mouse.h	Wed Apr 10 17:12:32 2002 +0000
     1.2 +++ b/include/SDL_mouse.h	Thu Apr 11 14:35:16 2002 +0000
     1.3 @@ -56,7 +56,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 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 @@ -64,12 +64,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 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 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 @@ -84,7 +84,7 @@
    1.28   *
    1.29   * Cursors created with this function must be freed with SDL_FreeCursor().
    1.30   */
    1.31 -extern DECLSPEC SDL_Cursor *SDL_CreateCursor
    1.32 +extern DECLSPEC SDL_Cursor * SDLCALL SDL_CreateCursor
    1.33  		(Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y);
    1.34  
    1.35  /*
    1.36 @@ -92,17 +92,17 @@
    1.37   * If the cursor is currently visible, the change will be immediately 
    1.38   * represented on the display.
    1.39   */
    1.40 -extern DECLSPEC void SDL_SetCursor(SDL_Cursor *cursor);
    1.41 +extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor *cursor);
    1.42  
    1.43  /*
    1.44   * Returns the currently active cursor.
    1.45   */
    1.46 -extern DECLSPEC SDL_Cursor * SDL_GetCursor(void);
    1.47 +extern DECLSPEC SDL_Cursor * SDLCALL SDL_GetCursor(void);
    1.48  
    1.49  /*
    1.50   * Deallocates a cursor created with SDL_CreateCursor().
    1.51   */
    1.52 -extern DECLSPEC void SDL_FreeCursor(SDL_Cursor *cursor);
    1.53 +extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor *cursor);
    1.54  
    1.55  /*
    1.56   * Toggle whether or not the cursor is shown on the screen.
    1.57 @@ -111,7 +111,7 @@
    1.58   * before the call, or 0 if it was not.  You can query the current
    1.59   * state by passing a 'toggle' value of -1.
    1.60   */
    1.61 -extern DECLSPEC int SDL_ShowCursor(int toggle);
    1.62 +extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle);
    1.63  
    1.64  /* Used as a mask when testing buttons in buttonstate
    1.65     Button 1:	Left mouse button