Mercurial > sdl-ios-xcode
diff src/video/maccommon/SDL_lowvideo.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 | 0801c9fdbdd6 |
children |
line wrap: on
line diff
--- a/src/video/maccommon/SDL_lowvideo.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/maccommon/SDL_lowvideo.h Mon Jul 10 21:04:37 2006 +0000 @@ -45,44 +45,45 @@ /* Hidden "this" pointer for the video functions */ #define _THIS SDL_VideoDevice *this -#if !TARGET_API_MAC_CARBON /* not available in OS X (or more accurately, Carbon) */ +#if !TARGET_API_MAC_CARBON /* not available in OS X (or more accurately, Carbon) */ /* Global QuickDraw data */ extern QDGlobals *theQD; #endif /* Private display data */ -struct SDL_PrivateVideoData { - GDevice **SDL_Display; - WindowRef SDL_Window; - SDL_Rect **SDL_modelist; - CTabHandle SDL_CTab; - PaletteHandle SDL_CPal; +struct SDL_PrivateVideoData +{ + GDevice **SDL_Display; + WindowRef SDL_Window; + SDL_Rect **SDL_modelist; + CTabHandle SDL_CTab; + PaletteHandle SDL_CPal; #if TARGET_API_MAC_CARBON - /* For entering and leaving fullscreen mode */ - Ptr fullscreen_ctx; + /* For entering and leaving fullscreen mode */ + Ptr fullscreen_ctx; #endif - /* The current window document style */ - int current_style; + /* The current window document style */ + int current_style; - /* Information about the last cursor position */ - Point last_where; + /* Information about the last cursor position */ + Point last_where; - /* Information about the last keys down */ - EventModifiers last_mods; - KeyMap last_keys; + /* Information about the last keys down */ + EventModifiers last_mods; + KeyMap last_keys; - /* A handle to the Apple Menu */ - MenuRef apple_menu; + /* A handle to the Apple Menu */ + MenuRef apple_menu; - /* Information used by DrawSprocket driver */ - struct DSpInfo *dspinfo; + /* Information used by DrawSprocket driver */ + struct DSpInfo *dspinfo; #if SDL_VIDEO_OPENGL - AGLContext appleGLContext; + AGLContext appleGLContext; - void *libraryHandle; + void *libraryHandle; #endif }; /* Old variable names */ @@ -100,3 +101,4 @@ #define glContext (this->hidden->appleGLContext) #endif /* _SDL_lowvideo_h */ +/* vi: set ts=4 sw=4 expandtab: */