diff src/video/nanox/SDL_nxmouse.c @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
line wrap: on
line diff
--- a/src/video/nanox/SDL_nxmouse.c	Mon May 29 03:53:21 2006 +0000
+++ b/src/video/nanox/SDL_nxmouse.c	Mon May 29 04:04:35 2006 +0000
@@ -36,51 +36,51 @@
 };
 
 WMcursor *
-NX_CreateWMCursor (_THIS,
-                   Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
-                   int hot_y)
+NX_CreateWMCursor(_THIS,
+                  Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
+                  int hot_y)
 {
     WMcursor *cursor;
 
-    Dprintf ("enter NX_CreateWMCursor\n");
+    Dprintf("enter NX_CreateWMCursor\n");
 
-    cursor = (WMcursor *) SDL_malloc (sizeof (WMcursor));
+    cursor = (WMcursor *) SDL_malloc(sizeof(WMcursor));
     if (cursor == NULL) {
-        SDL_OutOfMemory ();
+        SDL_OutOfMemory();
         return NULL;
     }
 
-    Dprintf ("leave NX_CreateWMCursor\n");
+    Dprintf("leave NX_CreateWMCursor\n");
     return cursor;
 }
 
 void
-NX_FreeWMCursor (_THIS, WMcursor * cursor)
+NX_FreeWMCursor(_THIS, WMcursor * cursor)
 {
-    Dprintf ("NX_FreeWMCursor\n");
-    SDL_free (cursor);
+    Dprintf("NX_FreeWMCursor\n");
+    SDL_free(cursor);
     return;
 }
 
 void
-NX_WarpWMCursor (_THIS, Uint16 x, Uint16 y)
+NX_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
 {
     GR_WINDOW_INFO info;
 
-    Dprintf ("enter NX_WarpWMCursor\n");
-    SDL_Lock_EventThread ();
+    Dprintf("enter NX_WarpWMCursor\n");
+    SDL_Lock_EventThread();
 
-    GrGetWindowInfo (SDL_Window, &info);
-    GrMoveCursor (info.x + x, info.y + y);
+    GrGetWindowInfo(SDL_Window, &info);
+    GrMoveCursor(info.x + x, info.y + y);
 
-    SDL_Unlock_EventThread ();
-    Dprintf ("leave NX_WarpWMCursor\n");
+    SDL_Unlock_EventThread();
+    Dprintf("leave NX_WarpWMCursor\n");
 }
 
 int
-NX_ShowWMCursor (_THIS, WMcursor * cursor)
+NX_ShowWMCursor(_THIS, WMcursor * cursor)
 {
-    Dprintf ("NX_ShowWMCursor\n");
+    Dprintf("NX_ShowWMCursor\n");
     return 1;
 }