|
Size: 677
Comment: update content - 3/13 e20c93bc9122 (2/27 424f036f7c68)
|
Size: 683
Comment: update content - 6/22 c1ed57cbfd66
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| SDL_bool mode) | SDL_bool grabbed) |
| Line 17: | Line 17: |
| ||'''mode'''||SDL_TRUE to grab input, SDL_FALSE to release input|| | ||'''grabbed'''||SDL_TRUE to grab input, SDL_FALSE to release input|| |
SDL_SetWindowGrab
Use this function to set a window's input grab mode.
Syntax
void SDL_SetWindowGrab(SDL_Window* window,
SDL_bool grabbed)
Function Parameters
window |
the window to change |
grabbed |
SDL_TRUE to grab input, SDL_FALSE to release input |
Code Examples
You can add your code example here
Remarks
When input is grabbed the mouse is confined to the window.
