|
Size: 672
Comment: update content - pointers, structs
|
Size: 668
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''window'''||the SDL_Window to change|| | ||'''window'''||the window to change|| |
SDL_SetWindowGrab
Use this function to set a window's input grab mode.
Syntax
void SDL_SetWindowGrab(SDL_Window* window,
int mode)
Function Parameters
window |
the window to change |
mode |
1 to grab input or 0 to release input |
Code Examples
You can add your code example here
Remarks
When input is grabbed the mouse is confined to the window.
