src/video/cocoa/SDL_cocoawindow.h
changeset 7090 c4ac8be0065b
parent 6885 700f1b25f77f
child 7408 c50e165abfdf
equal deleted inserted replaced
7089:257fc4e541e1 7090:c4ac8be0065b
    32 @interface Cocoa_WindowListener : NSResponder <NSWindowDelegate> {
    32 @interface Cocoa_WindowListener : NSResponder <NSWindowDelegate> {
    33 #else
    33 #else
    34 @interface Cocoa_WindowListener : NSResponder {
    34 @interface Cocoa_WindowListener : NSResponder {
    35 #endif
    35 #endif
    36     SDL_WindowData *_data;
    36     SDL_WindowData *_data;
       
    37     BOOL observingVisible;
       
    38     BOOL wasVisible;
    37 }
    39 }
    38 
    40 
    39 -(void) listen:(SDL_WindowData *) data;
    41 -(void) listen:(SDL_WindowData *) data;
       
    42 -(void) pauseVisibleObservation;
       
    43 -(void) resumeVisibleObservation;
    40 -(void) close;
    44 -(void) close;
    41 
    45 
    42 /* Window delegate functionality */
    46 /* Window delegate functionality */
    43 -(BOOL) windowShouldClose:(id) sender;
    47 -(BOOL) windowShouldClose:(id) sender;
    44 -(void) windowDidExpose:(NSNotification *) aNotification;
    48 -(void) windowDidExpose:(NSNotification *) aNotification;