src/events/SDL_mouse_c.h
changeset 8953 dc80dc0bd22e
parent 8815 c6d0a457f3b2
parent 8952 4bb098814ec4
child 9257 6f41196c2d6b
     1.1 --- a/src/events/SDL_mouse_c.h	Wed Jun 25 02:08:37 2014 -0700
     1.2 +++ b/src/events/SDL_mouse_c.h	Wed Jun 25 17:06:12 2014 -0400
     1.3 @@ -66,6 +66,12 @@
     1.4      /* Set relative mode */
     1.5      int (*SetRelativeMouseMode) (SDL_bool enabled);
     1.6  
     1.7 +    /* Set mouse capture */
     1.8 +    int (*CaptureMouse) (SDL_Window * window);
     1.9 +
    1.10 +    /* Get absolute mouse coordinates. (x) and (y) are never NULL and set to zero before call. */
    1.11 +    Uint32 (*GetGlobalMouseState) (int *x, int *y);
    1.12 +
    1.13      /* Data common to all mice */
    1.14      SDL_MouseID mouseID;
    1.15      SDL_Window *focus;