Mercurial > sdl-ios-xcode
comparison src/video/vgl/SDL_vglmouse.c @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | d910939febfa |
children | 4da1ee79c9af |
comparison
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: */ |