|
⇤ ← Revision 1 as of 2010-01-17 06:30:40
Size: 776
Comment: create page, add content
|
Size: 770
Comment: Update WindowID > Window*
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| void SDL_SetWindowData(SDL_WindowID windowID, void* userdata) |
void SDL_SetWindowData(SDL_Window* window, void* userdata) |
| Line 17: | Line 17: |
| ||'''windowID'''||the type used to identify the window|| | ||'''window'''||the type used to identify the window|| |
DRAFT |
SDL_SetWindowData
Use this function to associate an arbitrary pointer with the window.
Syntax
void SDL_SetWindowData(SDL_Window* window,
void* userdata)
Function Parameters
window |
the type used to identify the window |
userdata |
a pointer passed as the first parameter to the callback function |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
