include/SDL_video.h
changeset 5403 424f036f7c68
parent 5380 2de85077eb0b
child 5466 006883d5fa51
equal deleted inserted replaced
5402:5d102cd8aef3 5403:424f036f7c68
   586                                                          int numrects);
   586                                                          int numrects);
   587 
   587 
   588 /**
   588 /**
   589  *  \brief Set a window's input grab mode.
   589  *  \brief Set a window's input grab mode.
   590  *  
   590  *  
   591  *  \param mode This is 1 to grab input, and 0 to release input.
   591  *  \param grabbed This is SDL_TRUE to grab input, and SDL_FALSE to release input.
   592  *  
   592  *  
   593  *  \sa SDL_GetWindowGrab()
   593  *  \sa SDL_GetWindowGrab()
   594  */
   594  */
   595 extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
   595 extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
   596                                                int mode);
   596                                                SDL_bool grabbed);
   597 
   597 
   598 /**
   598 /**
   599  *  \brief Get a window's input grab mode.
   599  *  \brief Get a window's input grab mode.
   600  *  
   600  *  
   601  *  \return This returns 1 if input is grabbed, and 0 otherwise.
   601  *  \return This returns SDL_TRUE if input is grabbed, and SDL_FALSE otherwise.
   602  *  
   602  *  
   603  *  \sa SDL_SetWindowGrab()
   603  *  \sa SDL_SetWindowGrab()
   604  */
   604  */
   605 extern DECLSPEC int SDLCALL SDL_GetWindowGrab(SDL_Window * window);
   605 extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window * window);
   606 
   606 
   607 /**
   607 /**
   608  *  \brief Destroy a window.
   608  *  \brief Destroy a window.
   609  */
   609  */
   610 extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window);
   610 extern DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window * window);