comparison 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
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 /* Subclass of NSWindow to fix genie effect and support resize events */ 24 /* Subclass of NSWindow to fix genie effect and support resize events */
25 @interface SDL_QuartzWindow : NSWindow 25 @ interface SDL_QuartzWindow: NSWindow - (void) miniaturize:(id) sender;
26 - (void)miniaturize:(id)sender; 26 -(void) display;
27 - (void)display; 27 -(void) setFrame:(NSRect)
28 - (void)setFrame:(NSRect)frameRect display:(BOOL)flag; 28 frameRect display:(BOOL) flag;
29 - (void)appDidHide:(NSNotification*)note; 29 -(void) appDidHide:(NSNotification *) note;
30 - (void)appWillUnhide:(NSNotification*)note; 30 -(void) appWillUnhide:(NSNotification *) note;
31 - (void)appDidUnhide:(NSNotification*)note; 31 -(void) appDidUnhide:(NSNotification *) note;
32 - (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag; 32 -(id) initWithContentRect:(NSRect)
33 contentRect styleMask:(unsigned int)
34 styleMask backing:(NSBackingStoreType)
35 backingType defer:(BOOL) flag;
33 @end 36 @end
34
35 /* Delegate for our NSWindow to send SDLQuit() on close */ 37 /* Delegate for our NSWindow to send SDLQuit() on close */
36 @interface SDL_QuartzWindowDelegate : NSObject 38 @ interface SDL_QuartzWindowDelegate: NSObject - (BOOL) windowShouldClose:(id)
37 - (BOOL)windowShouldClose:(id)sender; 39 sender;
38 @end 40 @end
39 41 /* vi: set ts=4 sw=4 expandtab: */