Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-13 03:43:30
Size: 856
Editor: SheenaSmith
Comment: update content - changeset 4465
Revision 3 as of 2010-10-11 21:33:30
Size: 860
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
||'''window'''||the window to move the mouse into, or NULL for the current mouse focus|| ||'''window'''||the SDL_Window to move the mouse into, or NULL for the current mouse focus||

DRAFT

SDL_WarpMouseInWindow

Use this function to move the mouse to the given position within the window.

Syntax

void SDL_WarpMouseInWindow(SDL_Window* window,
                           int         x,
                           int         y)

Function Parameters

window

the SDL_Window to move the mouse into, or NULL for the current mouse focus

x

the x coordinate within the window

y

the y coordinate within the window

Code Examples

You can add your code example here

Remarks

This function generates a mouse motion event.


CategoryAPI, CategoryMouse

None: SDL_WarpMouseInWindow (last edited 2014-06-22 20:54:17 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit