|
Size: 787
Comment: Update WindowID > Window*
|
Size: 763
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 18: | Line 17: |
| ||'''window'''||the type used to identify the window|| ||'''w'''||the width of the window|| ||'''h'''||the height of the window|| |
||'''window'''||the window to query|| ||'''w'''||a pointer filled in with the width of the window|| ||'''h'''||a pointer filled in with the height of the window|| |
SDL_GetWindowSize
Use this function to get the size of the window's client area.
Syntax
void SDL_GetWindowSize(SDL_Window* window,
int* w,
int* h)
Function Parameters
window |
the window to query |
w |
a pointer filled in with the width of the window |
h |
a pointer filled in with the height of the window |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
