src/video/cybergfx/SDL_amigamouse.c
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
     1.1 --- a/src/video/cybergfx/SDL_amigamouse.c	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/src/video/cybergfx/SDL_amigamouse.c	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -32,20 +32,20 @@
     1.4  typedef void *WMCursor;
     1.5  
     1.6  void
     1.7 -amiga_FreeWMCursor (_THIS, WMcursor * cursor)
     1.8 +amiga_FreeWMCursor(_THIS, WMcursor * cursor)
     1.9  {
    1.10  }
    1.11  
    1.12  WMcursor *
    1.13 -amiga_CreateWMCursor (_THIS,
    1.14 -                      Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
    1.15 -                      int hot_y)
    1.16 +amiga_CreateWMCursor(_THIS,
    1.17 +                     Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
    1.18 +                     int hot_y)
    1.19  {
    1.20      return (WMcursor *) 1;      // Amiga has an Hardware cursor, so it's ok to return something unuseful but true
    1.21  }
    1.22  
    1.23  int
    1.24 -amiga_ShowWMCursor (_THIS, WMcursor * cursor)
    1.25 +amiga_ShowWMCursor(_THIS, WMcursor * cursor)
    1.26  {
    1.27      /* Don't do anything if the display is gone */
    1.28      if (SDL_Display == NULL) {
    1.29 @@ -55,31 +55,30 @@
    1.30      /* Set the Amiga prefs cursor cursor, or blank if cursor is NULL */
    1.31  
    1.32      if (SDL_Window) {
    1.33 -        SDL_Lock_EventThread ();
    1.34 +        SDL_Lock_EventThread();
    1.35          if (cursor == NULL) {
    1.36              if (SDL_BlankCursor != NULL) {
    1.37  // Hide cursor HERE
    1.38 -                SetPointer (SDL_Window, (UWORD *) SDL_BlankCursor, 1, 1,
    1.39 -                            0, 0);
    1.40 +                SetPointer(SDL_Window, (UWORD *) SDL_BlankCursor, 1, 1, 0, 0);
    1.41              }
    1.42          } else {
    1.43  // Show cursor
    1.44 -            ClearPointer (SDL_Window);
    1.45 +            ClearPointer(SDL_Window);
    1.46          }
    1.47 -        SDL_Unlock_EventThread ();
    1.48 +        SDL_Unlock_EventThread();
    1.49      }
    1.50      return (1);
    1.51  }
    1.52  
    1.53  void
    1.54 -amiga_WarpWMCursor (_THIS, Uint16 x, Uint16 y)
    1.55 +amiga_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
    1.56  {
    1.57  /* FIXME: Not implemented */
    1.58  }
    1.59  
    1.60  /* Check to see if we need to enter or leave mouse relative mode */
    1.61  void
    1.62 -amiga_CheckMouseMode (_THIS)
    1.63 +amiga_CheckMouseMode(_THIS)
    1.64  {
    1.65  }
    1.66