diff src/video/SDL_cursor_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
line wrap: on
line diff
--- a/src/video/SDL_cursor_c.h	Sun May 21 17:27:13 2006 +0000
+++ b/src/video/SDL_cursor_c.h	Sun May 28 13:04:16 2006 +0000
@@ -24,16 +24,16 @@
 /* Useful variables and functions from SDL_cursor.c */
 #include "SDL_mouse.h"
 
-extern int  SDL_CursorInit(Uint32 flags);
-extern void SDL_CursorPaletteChanged(void);
-extern void SDL_DrawCursor(SDL_Surface *screen);
-extern void SDL_DrawCursorNoLock(SDL_Surface *screen);
-extern void SDL_EraseCursor(SDL_Surface *screen);
-extern void SDL_EraseCursorNoLock(SDL_Surface *screen);
-extern void SDL_UpdateCursor(SDL_Surface *screen);
-extern void SDL_ResetCursor(void);
-extern void SDL_MoveCursor(int x, int y);
-extern void SDL_CursorQuit(void);
+extern int SDL_CursorInit (Uint32 flags);
+extern void SDL_CursorPaletteChanged (void);
+extern void SDL_DrawCursor (SDL_Surface * screen);
+extern void SDL_DrawCursorNoLock (SDL_Surface * screen);
+extern void SDL_EraseCursor (SDL_Surface * screen);
+extern void SDL_EraseCursorNoLock (SDL_Surface * screen);
+extern void SDL_UpdateCursor (SDL_Surface * screen);
+extern void SDL_ResetCursor (void);
+extern void SDL_MoveCursor (int x, int y);
+extern void SDL_CursorQuit (void);
 
 #define INLINE_MOUSELOCK
 #ifdef INLINE_MOUSELOCK
@@ -55,13 +55,13 @@
 		}							\
 	} while ( 0 )
 #else
-extern void SDL_LockCursor(void);
-extern void SDL_UnlockCursor(void);
+extern void SDL_LockCursor (void);
+extern void SDL_UnlockCursor (void);
 #endif /* INLINE_MOUSELOCK */
 
 /* Only for low-level mouse cursor drawing */
 extern SDL_Cursor *SDL_cursor;
-extern void SDL_MouseRect(SDL_Rect *area);
+extern void SDL_MouseRect (SDL_Rect * area);
 
 /* State definitions for the SDL cursor */
 #define CURSOR_VISIBLE	0x01
@@ -71,3 +71,4 @@
 					(CURSOR_VISIBLE|CURSOR_USINGSW))
 
 extern volatile int SDL_cursorstate;
+/* vi: set ts=4 sw=4 expandtab: */