src/video/cocoa/SDL_cocoawindow.h
changeset 7952 5ac1a895b313
parent 7740 415bb39617a1
child 7961 c629882e0a81
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.h	Mon Nov 11 02:00:58 2013 -0800
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.h	Mon Nov 11 02:53:00 2013 -0800
     1.3 @@ -32,11 +32,14 @@
     1.4      BOOL observingVisible;
     1.5      BOOL wasCtrlLeft;
     1.6      BOOL wasVisible;
     1.7 +    BOOL isFullscreen;
     1.8 +    BOOL inFullscreenTransition;
     1.9  }
    1.10  
    1.11  -(void) listen:(SDL_WindowData *) data;
    1.12  -(void) pauseVisibleObservation;
    1.13  -(void) resumeVisibleObservation;
    1.14 +-(BOOL) isToggledFullscreen;
    1.15  -(void) close;
    1.16  
    1.17  /* Window delegate functionality */
    1.18 @@ -48,6 +51,10 @@
    1.19  -(void) windowDidDeminiaturize:(NSNotification *) aNotification;
    1.20  -(void) windowDidBecomeKey:(NSNotification *) aNotification;
    1.21  -(void) windowDidResignKey:(NSNotification *) aNotification;
    1.22 +-(void) windowWillEnterFullScreen:(NSNotification *) aNotification;
    1.23 +-(void) windowDidEnterFullScreen:(NSNotification *) aNotification;
    1.24 +-(void) windowWillExitFullScreen:(NSNotification *) aNotification;
    1.25 +-(void) windowDidExitFullScreen:(NSNotification *) aNotification;
    1.26  
    1.27  /* Window event handling */
    1.28  -(void) mouseDown:(NSEvent *) theEvent;