comparison src/video/quartz/SDL_QuartzWindow.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
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
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: */