src/events/SDL_mouse.c
changeset 5376 183ec2d4485c
parent 5371 fc3d3d580777
child 5405 64fa8526e1ce
equal deleted inserted replaced
5375:16877f74123c 5376:183ec2d4485c
    35 
    35 
    36 /* Public functions */
    36 /* Public functions */
    37 int
    37 int
    38 SDL_MouseInit(void)
    38 SDL_MouseInit(void)
    39 {
    39 {
       
    40     SDL_Mouse *mouse = SDL_GetMouse();
       
    41 
       
    42     mouse->cursor_shown = SDL_TRUE;
       
    43 
    40     return (0);
    44     return (0);
    41 }
    45 }
    42 
    46 
    43 SDL_Mouse *
    47 SDL_Mouse *
    44 SDL_GetMouse(void)
    48 SDL_GetMouse(void)
    45 {
    49 {
    46     return &SDL_mouse;
    50     return &SDL_mouse;
    47 }
       
    48 
       
    49 void
       
    50 SDL_ResetMouse(void)
       
    51 {
       
    52     /* FIXME */
       
    53 }
    51 }
    54 
    52 
    55 SDL_Window *
    53 SDL_Window *
    56 SDL_GetMouseFocus(void)
    54 SDL_GetMouseFocus(void)
    57 {
    55 {