Mercurial > sdl-ios-xcode
comparison src/video/riscos/SDL_riscosmouse_c.h @ 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 |
---|---|
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #include "SDL_riscosvideo.h" | 24 #include "SDL_riscosvideo.h" |
25 | 25 |
26 /* The implementation dependent data for the window manager cursor */ | 26 /* The implementation dependent data for the window manager cursor */ |
27 struct WMcursor { | 27 struct WMcursor |
28 int w; | 28 { |
29 int h; | 29 int w; |
30 int hot_x; | 30 int h; |
31 int hot_y; | 31 int hot_x; |
32 Uint8 *data; | 32 int hot_y; |
33 Uint8 *data; | |
33 }; | 34 }; |
34 | 35 |
35 /* Functions to be exported */ | 36 /* Functions to be exported */ |
36 void RISCOS_FreeWMCursor(_THIS, WMcursor *cursor); | 37 void RISCOS_FreeWMCursor (_THIS, WMcursor * cursor); |
37 WMcursor *RISCOS_CreateWMCursor(_THIS, Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y); | 38 WMcursor *RISCOS_CreateWMCursor (_THIS, Uint8 * data, Uint8 * mask, int w, |
39 int h, int hot_x, int hot_y); | |
38 | 40 |
39 int RISCOS_ShowWMCursor(_THIS, WMcursor *cursor); | 41 int RISCOS_ShowWMCursor (_THIS, WMcursor * cursor); |
40 void FULLSCREEN_WarpWMCursor(_THIS, Uint16 x, Uint16 y); | 42 void FULLSCREEN_WarpWMCursor (_THIS, Uint16 x, Uint16 y); |
41 | 43 |
42 int WIMP_ShowWMCursor(_THIS, WMcursor *cursor); | 44 int WIMP_ShowWMCursor (_THIS, WMcursor * cursor); |
43 void WIMP_WarpWMCursor(_THIS, Uint16 x, Uint16 y); | 45 void WIMP_WarpWMCursor (_THIS, Uint16 x, Uint16 y); |
44 | 46 /* vi: set ts=4 sw=4 expandtab: */ |