Mercurial > sdl-ios-xcode
comparison src/video/ps2gs/SDL_gsmouse_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 |
---|---|
24 #include "SDL_gsvideo.h" | 24 #include "SDL_gsvideo.h" |
25 | 25 |
26 /* This is the maximum size of the cursor sprite */ | 26 /* This is the maximum size of the cursor sprite */ |
27 #define CURSOR_W 32 | 27 #define CURSOR_W 32 |
28 #define CURSOR_H 32 | 28 #define CURSOR_H 32 |
29 #define CURSOR_W_POW 5 /* 32 = 2^5 */ | 29 #define CURSOR_W_POW 5 /* 32 = 2^5 */ |
30 #define CURSOR_H_POW 5 /* 32 = 2^5 */ | 30 #define CURSOR_H_POW 5 /* 32 = 2^5 */ |
31 | 31 |
32 /* Functions to be exported */ | 32 /* Functions to be exported */ |
33 extern void GS_FreeWMCursor(_THIS, WMcursor *cursor); | 33 extern void GS_FreeWMCursor (_THIS, WMcursor * cursor); |
34 extern WMcursor *GS_CreateWMCursor(_THIS, | 34 extern WMcursor *GS_CreateWMCursor (_THIS, |
35 Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y); | 35 Uint8 * data, Uint8 * mask, int w, int h, |
36 extern void GS_MoveWMCursor(_THIS, int x, int y); | 36 int hot_x, int hot_y); |
37 extern int GS_ShowWMCursor(_THIS, WMcursor *cursor); | 37 extern void GS_MoveWMCursor (_THIS, int x, int y); |
38 extern int GS_ShowWMCursor (_THIS, WMcursor * cursor); | |
39 /* vi: set ts=4 sw=4 expandtab: */ |