diff src/video/wscons/SDL_wsconsvideo.h @ 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 d910939febfa
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/wscons/SDL_wsconsvideo.h	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/wscons/SDL_wsconsvideo.h	Mon Jul 10 21:04:37 2006 +0000
@@ -40,37 +40,36 @@
 
 /* Private display data */
 
-typedef void WSCONS_bitBlit(Uint8 *src_pos,
-			    int srcRightDelta, // pixels, not bytes
-			    int srcDownDelta,  // pixels, not bytes
-			    Uint8 *dst_pos,
-			    int dst_linebytes,
-			    int width,
-			    int height);
+typedef void WSCONS_bitBlit(Uint8 * src_pos, int srcRightDelta, // pixels, not bytes
+                            int srcDownDelta,   // pixels, not bytes
+                            Uint8 * dst_pos,
+                            int dst_linebytes, int width, int height);
 
-struct SDL_PrivateVideoData {
-  int fd;                       /* file descriptor of open device */
-  struct wsdisplay_fbinfo info; /* frame buffer characteristics */
-  int physlinebytes;            /* number of bytes per row */
-  int redMask, greenMask, blueMask;
+struct SDL_PrivateVideoData
+{
+    int fd;                     /* file descriptor of open device */
+    struct wsdisplay_fbinfo info;       /* frame buffer characteristics */
+    int physlinebytes;          /* number of bytes per row */
+    int redMask, greenMask, blueMask;
 
-  Uint8 *fbstart;               /* These refer to the surface used, */
-  int fblinebytes;              /* physical frame buffer or shadow. */
+    Uint8 *fbstart;             /* These refer to the surface used, */
+    int fblinebytes;            /* physical frame buffer or shadow. */
 
-  size_t fbmem_len;
-  Uint8 *physmem;
-  Uint8 *shadowmem;
-  int rotate;
-  int shadowFB;                 /* Tells whether a shadow is being used. */
+    size_t fbmem_len;
+    Uint8 *physmem;
+    Uint8 *shadowmem;
+    int rotate;
+    int shadowFB;               /* Tells whether a shadow is being used. */
 
-  WSCONS_bitBlit *blitFunc;
+    WSCONS_bitBlit *blitFunc;
 
-  SDL_Rect *SDL_modelist[2];
+    SDL_Rect *SDL_modelist[2];
 
-  unsigned int kbdType;
-  int did_save_tty;
-  struct termios saved_tty;
+    unsigned int kbdType;
+    int did_save_tty;
+    struct termios saved_tty;
 };
 
 
 #endif /* _SDL_wsconsvideo_h */
+/* vi: set ts=4 sw=4 expandtab: */