include/SDL_video.h
changeset 5403 424f036f7c68
parent 5380 2de85077eb0b
child 5466 006883d5fa51
     1.1 --- a/include/SDL_video.h	Sat Feb 26 21:39:34 2011 -0800
     1.2 +++ b/include/SDL_video.h	Sun Feb 27 20:06:45 2011 -0800
     1.3 @@ -588,21 +588,21 @@
     1.4  /**
     1.5   *  \brief Set a window's input grab mode.
     1.6   *  
     1.7 - *  \param mode This is 1 to grab input, and 0 to release input.
     1.8 + *  \param grabbed This is SDL_TRUE to grab input, and SDL_FALSE to release input.
     1.9   *  
    1.10   *  \sa SDL_GetWindowGrab()
    1.11   */
    1.12  extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
    1.13 -                                               int mode);
    1.14 +                                               SDL_bool grabbed);
    1.15  
    1.16  /**
    1.17   *  \brief Get a window's input grab mode.
    1.18   *  
    1.19 - *  \return This returns 1 if input is grabbed, and 0 otherwise.
    1.20 + *  \return This returns SDL_TRUE if input is grabbed, and SDL_FALSE otherwise.
    1.21   *  
    1.22   *  \sa SDL_SetWindowGrab()
    1.23   */
    1.24 -extern DECLSPEC int SDLCALL SDL_GetWindowGrab(SDL_Window * window);
    1.25 +extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window * window);
    1.26  
    1.27  /**
    1.28   *  \brief Destroy a window.