diff src/video/qtopia/SDL_sysmouse.cc @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents 376665398b25
children
line wrap: on
line diff
--- a/src/video/qtopia/SDL_sysmouse.cc	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/qtopia/SDL_sysmouse.cc	Mon Jul 10 21:04:37 2006 +0000
@@ -23,34 +23,39 @@
 
 #include "SDL_QWin.h"
 
-extern "C" {
+extern "C"
+{
 
 #include "SDL_sysmouse_c.h"
 
 /* The implementation dependent data for the window manager cursor */
-struct WMcursor {
-	char *bits;
-};
-WMcursor *QT_CreateWMCursor(_THIS,
-		Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y)
-{
-  static WMcursor dummy;
-  dummy.bits = 0;
-  return &dummy;
-}
+    struct WMcursor
+    {
+        char *bits;
+    };
+    WMcursor *QT_CreateWMCursor(_THIS,
+                                Uint8 * data, Uint8 * mask, int w, int h,
+                                int hot_x, int hot_y)
+    {
+        static WMcursor dummy;
+          dummy.bits = 0;
+          return &dummy;
+    }
 
-int QT_ShowWMCursor(_THIS, WMcursor *cursor)
-{
-  return 1;
-}
+    int QT_ShowWMCursor(_THIS, WMcursor * cursor)
+    {
+        return 1;
+    }
+
+    void QT_FreeWMCursor(_THIS, WMcursor * cursor)
+    {
+    }
 
-void QT_FreeWMCursor(_THIS, WMcursor *cursor)
-{
-}
+    void QT_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
+    {
+        SDL_Win->setMousePos(QPoint(x, y));
+    }
 
-void QT_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
-{
-  SDL_Win->setMousePos(QPoint(x, y));
-}
+};                              /* Extern C */
 
-}; /* Extern C */
+/* vi: set ts=4 sw=4 expandtab: */