SDL  2.0
Cocoa_WindowListener Class Reference

#import <SDL_cocoawindow.h>

+ Collaboration diagram for Cocoa_WindowListener:

Public Member Functions

(void- listen:
(void- pauseVisibleObservation
(void- resumeVisibleObservation
(BOOL) - setFullscreenSpace:
(BOOL) - isInFullscreenSpace
(BOOL) - isInFullscreenSpaceTransition
(void- addPendingWindowOperation:
(void- close
(BOOL) - isMoving
(void- setPendingMoveX:Y:
(void- windowDidFinishMoving
(BOOL) - windowShouldClose:
(void- windowDidExpose:
(void- windowDidMove:
(void- windowDidResize:
(void- windowDidMiniaturize:
(void- windowDidDeminiaturize:
(void- windowDidBecomeKey:
(void- windowDidResignKey:
(void- windowDidChangeBackingProperties:
(void- windowWillEnterFullScreen:
(void- windowDidEnterFullScreen:
(void- windowWillExitFullScreen:
(void- windowDidExitFullScreen:
(NSApplicationPresentationOptions) - window:willUseFullScreenPresentationOptions:
(BOOL) - processHitTest:
(void- mouseDown:
(void- rightMouseDown:
(void- otherMouseDown:
(void- mouseUp:
(void- rightMouseUp:
(void- otherMouseUp:
(void- mouseMoved:
(void- mouseDragged:
(void- rightMouseDragged:
(void- otherMouseDragged:
(void- scrollWheel:
(void- touchesBeganWithEvent:
(void- touchesMovedWithEvent:
(void- touchesEndedWithEvent:
(void- touchesCancelledWithEvent:
(void- handleTouches:withEvent:

Protected Attributes

SDL_WindowData_data
BOOL observingVisible
BOOL wasCtrlLeft
BOOL wasVisible
BOOL isFullscreenSpace
BOOL inFullscreenTransition
PendingWindowOperation pendingWindowOperation
BOOL isMoving
int pendingWindowWarpX
int pendingWindowWarpY
BOOL isDragAreaRunning

Detailed Description

Definition at line 42 of file SDL_cocoawindow.h.

Member Function Documentation

- (void) addPendingWindowOperation: (PendingWindowOperation operation
- (void) close
- (void) handleTouches: (NSTouchPhase)  phase
withEvent: (NSEvent *)  theEvent 
- (BOOL) isInFullscreenSpace
- (BOOL) isInFullscreenSpaceTransition
- (BOOL) isMoving
- (void) listen: (SDL_WindowData *)  data
- (void) mouseDown: (NSEvent *)  theEvent
- (void) mouseDragged: (NSEvent *)  theEvent
- (void) mouseMoved: (NSEvent *)  theEvent
- (void) mouseUp: (NSEvent *)  theEvent
- (void) otherMouseDown: (NSEvent *)  theEvent
- (void) otherMouseDragged: (NSEvent *)  theEvent
- (void) otherMouseUp: (NSEvent *)  theEvent
- (void) pauseVisibleObservation
- (BOOL) processHitTest: (NSEvent *)  theEvent
- (void) resumeVisibleObservation
- (void) rightMouseDown: (NSEvent *)  theEvent
- (void) rightMouseDragged: (NSEvent *)  theEvent
- (void) rightMouseUp: (NSEvent *)  theEvent
- (void) scrollWheel: (NSEvent *)  theEvent
- (BOOL) setFullscreenSpace: (BOOL)  state
- (void) setPendingMoveX: (int)  x
Y: (int)  y 
- (void) touchesBeganWithEvent: (NSEvent *)  theEvent
- (void) touchesCancelledWithEvent: (NSEvent *)  theEvent
- (void) touchesEndedWithEvent: (NSEvent *)  theEvent
- (void) touchesMovedWithEvent: (NSEvent *)  theEvent
- (NSApplicationPresentationOptions) window: (NSWindow *)  window
willUseFullScreenPresentationOptions: (NSApplicationPresentationOptions)  proposedOptions 
- (void) windowDidBecomeKey: (NSNotification *)  aNotification
- (void) windowDidChangeBackingProperties: (NSNotification *)  aNotification
- (void) windowDidDeminiaturize: (NSNotification *)  aNotification
- (void) windowDidEnterFullScreen: (NSNotification *)  aNotification
- (void) windowDidExitFullScreen: (NSNotification *)  aNotification
- (void) windowDidExpose: (NSNotification *)  aNotification
- (void) windowDidFinishMoving
- (void) windowDidMiniaturize: (NSNotification *)  aNotification
- (void) windowDidMove: (NSNotification *)  aNotification
- (void) windowDidResignKey: (NSNotification *)  aNotification
- (void) windowDidResize: (NSNotification *)  aNotification
- (BOOL) windowShouldClose: (id sender
- (void) windowWillEnterFullScreen: (NSNotification *)  aNotification
- (void) windowWillExitFullScreen: (NSNotification *)  aNotification

Field Documentation

- (SDL_WindowData*) _data
protected

Definition at line 43 of file SDL_cocoawindow.h.

- (BOOL) inFullscreenTransition
protected

Definition at line 48 of file SDL_cocoawindow.h.

- (BOOL) isDragAreaRunning
protected

Definition at line 52 of file SDL_cocoawindow.h.

- (BOOL) isFullscreenSpace
protected

Definition at line 47 of file SDL_cocoawindow.h.

- (BOOL) isMoving
protected

Definition at line 50 of file SDL_cocoawindow.h.

- (BOOL) observingVisible
protected

Definition at line 44 of file SDL_cocoawindow.h.

- (PendingWindowOperation) pendingWindowOperation
protected

Definition at line 49 of file SDL_cocoawindow.h.

- (int) pendingWindowWarpX
protected

Definition at line 51 of file SDL_cocoawindow.h.

- (int) pendingWindowWarpY
protected

Definition at line 51 of file SDL_cocoawindow.h.

- (BOOL) wasCtrlLeft
protected

Definition at line 45 of file SDL_cocoawindow.h.

- (BOOL) wasVisible
protected

Definition at line 46 of file SDL_cocoawindow.h.


The documentation for this class was generated from the following file: