src/video/vgl/SDL_vglmouse.c
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1402 d910939febfa
child 1668 4da1ee79c9af
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
    26 #include "SDL_vglvideo.h"
    26 #include "SDL_vglvideo.h"
    27 #include "SDL_vglmouse_c.h"
    27 #include "SDL_vglmouse_c.h"
    28 
    28 
    29 
    29 
    30 /* The implementation dependent data for the window manager cursor */
    30 /* The implementation dependent data for the window manager cursor */
    31 struct WMcursor {
    31 struct WMcursor
    32 	int unused;
    32 {
       
    33     int unused;
    33 };
    34 };
    34 
    35 
    35 
    36 
    36 void VGL_FreeWMCursor(_THIS, WMcursor *cursor)
    37 void
       
    38 VGL_FreeWMCursor (_THIS, WMcursor * cursor)
    37 {
    39 {
    38 	return;
    40     return;
    39 }
    41 }
    40 
    42 
    41 WMcursor *VGL_CreateWMCursor(_THIS,
    43 WMcursor *
    42 		Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y)
    44 VGL_CreateWMCursor (_THIS,
       
    45                     Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
       
    46                     int hot_y)
    43 {
    47 {
    44 	return(NULL);
    48     return (NULL);
    45 }
    49 }
    46 
    50 
    47 int VGL_ShowWMCursor(_THIS, WMcursor *cursor)
    51 int
       
    52 VGL_ShowWMCursor (_THIS, WMcursor * cursor)
    48 {
    53 {
    49 	return(0);
    54     return (0);
    50 }
    55 }
    51 
    56 
    52 void VGL_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
    57 void
       
    58 VGL_WarpWMCursor (_THIS, Uint16 x, Uint16 y)
    53 {
    59 {
    54 	SDL_PrivateMouseMotion(0, 0, x, y);
    60     SDL_PrivateMouseMotion (0, 0, x, y);
    55 }
    61 }
    56 
    62 
       
    63 /* vi: set ts=4 sw=4 expandtab: */