src/events/SDL_mouse.c
changeset 7104 4e4ca313000c
parent 7097 84bbd421d62f
child 7107 2fcf7bf1d2b2
equal deleted inserted replaced
7103:9d146930d4f2 7104:4e4ca313000c
   624         return NULL;
   624         return NULL;
   625     }
   625     }
   626     return mouse->cur_cursor;
   626     return mouse->cur_cursor;
   627 }
   627 }
   628 
   628 
       
   629 SDL_Cursor *
       
   630 SDL_GetDefaultCursor(void)
       
   631 {
       
   632     SDL_Mouse *mouse = SDL_GetMouse();
       
   633 
       
   634     if (!mouse) {
       
   635         return NULL;
       
   636     }
       
   637     return mouse->def_cursor;
       
   638 }
       
   639 
   629 void
   640 void
   630 SDL_FreeCursor(SDL_Cursor * cursor)
   641 SDL_FreeCursor(SDL_Cursor * cursor)
   631 {
   642 {
   632     SDL_Mouse *mouse = SDL_GetMouse();
   643     SDL_Mouse *mouse = SDL_GetMouse();
   633     SDL_Cursor *curr, *prev;
   644     SDL_Cursor *curr, *prev;