src/events/SDL_mouse.c
changeset 7104 4e4ca313000c
parent 7097 84bbd421d62f
child 7107 2fcf7bf1d2b2
     1.1 --- a/src/events/SDL_mouse.c	Wed Apr 24 12:22:08 2013 -0300
     1.2 +++ b/src/events/SDL_mouse.c	Wed Apr 24 10:42:44 2013 -0700
     1.3 @@ -626,6 +626,17 @@
     1.4      return mouse->cur_cursor;
     1.5  }
     1.6  
     1.7 +SDL_Cursor *
     1.8 +SDL_GetDefaultCursor(void)
     1.9 +{
    1.10 +    SDL_Mouse *mouse = SDL_GetMouse();
    1.11 +
    1.12 +    if (!mouse) {
    1.13 +        return NULL;
    1.14 +    }
    1.15 +    return mouse->def_cursor;
    1.16 +}
    1.17 +
    1.18  void
    1.19  SDL_FreeCursor(SDL_Cursor * cursor)
    1.20  {