diff src/video/quartz/SDL_QuartzWindow.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWindow.h	Sun May 21 17:27:13 2006 +0000
+++ b/src/video/quartz/SDL_QuartzWindow.h	Sun May 28 13:04:16 2006 +0000
@@ -22,18 +22,20 @@
 #include "SDL_config.h"
 
 /* Subclass of NSWindow to fix genie effect and support resize events  */
-@interface SDL_QuartzWindow : NSWindow
-- (void)miniaturize:(id)sender;
-- (void)display;
-- (void)setFrame:(NSRect)frameRect display:(BOOL)flag;
-- (void)appDidHide:(NSNotification*)note;
-- (void)appWillUnhide:(NSNotification*)note;
-- (void)appDidUnhide:(NSNotification*)note;
-- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag;
+@ interface SDL_QuartzWindow: NSWindow - (void) miniaturize:(id) sender;
+-(void) display;
+-(void) setFrame:(NSRect)
+     frameRect display:(BOOL) flag;
+-(void) appDidHide:(NSNotification *) note;
+-(void) appWillUnhide:(NSNotification *) note;
+-(void) appDidUnhide:(NSNotification *) note;
+-(id) initWithContentRect:(NSRect)
+     contentRect styleMask:(unsigned int)
+     styleMask backing:(NSBackingStoreType)
+     backingType defer:(BOOL) flag;
 @end
-
 /* Delegate for our NSWindow to send SDLQuit() on close */
-@interface SDL_QuartzWindowDelegate : NSObject
-- (BOOL)windowShouldClose:(id)sender;
+@ interface SDL_QuartzWindowDelegate: NSObject - (BOOL) windowShouldClose:(id)
+    sender;
 @end
-
+/* vi: set ts=4 sw=4 expandtab: */