include/SDL_mouse.h
changeset 3685 64ce267332c6
parent 3585 f8816ffa210b
child 3697 f7b03b6838cb
     1.1 --- a/include/SDL_mouse.h	Thu Jan 21 05:49:41 2010 +0000
     1.2 +++ b/include/SDL_mouse.h	Thu Jan 21 06:21:52 2010 +0000
     1.3 @@ -75,7 +75,7 @@
     1.4  /**
     1.5   *  \brief Get the window which currently has focus for the specified mouse.
     1.6   */
     1.7 -extern DECLSPEC SDL_WindowID SDLCALL SDL_GetMouseFocusWindow(int index);
     1.8 +extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocusWindow(int index);
     1.9  
    1.10  /**
    1.11   *  \brief Set relative mouse mode for the specified mouse.
    1.12 @@ -126,13 +126,13 @@
    1.13  /**
    1.14   *  \brief Moves the currently selected mouse to the given position within the window.
    1.15   *  
    1.16 - *  \param windowID The window to move the mouse into, or 0 for the current mouse focus
    1.17 + *  \param window The window to move the mouse into, or NULL for the current mouse focus
    1.18   *  \param x The x coordinate within the window
    1.19   *  \param y The y coordinate within the window
    1.20   *  
    1.21   *  \note This function generates a mouse motion event
    1.22   */
    1.23 -extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_WindowID windowID,
    1.24 +extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_Window * window,
    1.25                                                     int x, int y);
    1.26  
    1.27  /**