diff src/video/epoc/SDL_epocvideo.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
line wrap: on
line diff
--- a/src/video/epoc/SDL_epocvideo.h	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/epoc/SDL_epocvideo.h	Mon Jul 10 21:04:37 2006 +0000
@@ -31,13 +31,14 @@
 #ifndef _SDL_epocvideo_h
 #define _SDL_epocvideo_h
 
-extern "C" {
+extern "C"
+{
 #include "SDL_mouse.h"
 #include "../SDL_sysvideo.h"
 };
 
 #include <e32std.h>
-#include <bitdev.h> 
+#include <bitdev.h>
 #include <w32std.h>
 
 /* Hidden "this" pointer for the video functions */
@@ -47,44 +48,47 @@
 #define SDL_NUMMODES	4
 
 /* Private display data */
-struct SDL_PrivateVideoData {
+struct SDL_PrivateVideoData
+{
 
-    SDL_Rect            *SDL_modelist[SDL_NUMMODES+1];
+    SDL_Rect *SDL_modelist[SDL_NUMMODES + 1];
+
+    /* Epoc window server info */
 
-	/* Epoc window server info */
-    
-    RWsSession			EPOC_WsSession;
-	RWindowGroup		EPOC_WsWindowGroup;
-    TInt                EPOC_WsWindowGroupID;
-	RWindow				EPOC_WsWindow;
-	CWsScreenDevice*	EPOC_WsScreen;
-	CWindowGc*			EPOC_WindowGc;
-	TRequestStatus		EPOC_WsEventStatus;
-	TRequestStatus		EPOC_RedrawEventStatus;
-	TWsEvent			EPOC_WsEvent;
-	TWsRedrawEvent		EPOC_RedrawEvent;
-    #ifdef __WINS__
-    CWsBitmap*          EPOC_Bitmap;
-    #endif
-    TBool               EPOC_IsWindowFocused; //!!Not used for anything yet!
+    RWsSession EPOC_WsSession;
+    RWindowGroup EPOC_WsWindowGroup;
+    TInt EPOC_WsWindowGroupID;
+    RWindow EPOC_WsWindow;
+    CWsScreenDevice *EPOC_WsScreen;
+    CWindowGc *EPOC_WindowGc;
+    TRequestStatus EPOC_WsEventStatus;
+    TRequestStatus EPOC_RedrawEventStatus;
+    TWsEvent EPOC_WsEvent;
+    TWsRedrawEvent EPOC_RedrawEvent;
+#ifdef __WINS__
+    CWsBitmap *EPOC_Bitmap;
+#endif
+    TBool EPOC_IsWindowFocused; //!!Not used for anything yet!
 
     /* Screen hardware frame buffer info */
 
-   	TBool				EPOC_HasFrameBuffer;
-	TInt				EPOC_BytesPerPixel;
-	TInt				EPOC_BytesPerScanLine;
-	TDisplayMode		EPOC_DisplayMode;
-	TSize				EPOC_ScreenSize;
-	TUint8*				EPOC_FrameBuffer;		/* if NULL in HW we can't do direct screen access */
-    TInt                EPOC_ScreenOffset;
+    TBool EPOC_HasFrameBuffer;
+    TInt EPOC_BytesPerPixel;
+    TInt EPOC_BytesPerScanLine;
+    TDisplayMode EPOC_DisplayMode;
+    TSize EPOC_ScreenSize;
+    TUint8 *EPOC_FrameBuffer;   /* if NULL in HW we can't do direct screen access */
+    TInt EPOC_ScreenOffset;
 
     /* Simulate double screen height */
-    TBool               EPOC_ShrinkedHeight;
+    TBool EPOC_ShrinkedHeight;
 };
 
-extern "C" {
-extern void RedrawWindowL(_THIS);
+extern "C"
+{
+    extern void RedrawWindowL(_THIS);
 };
 
 
 #endif /* _SDL_epocvideo_h */
+/* vi: set ts=4 sw=4 expandtab: */