Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowCocoa.mm
| Context not available. | |||||
| - (void)windowWillEnterFullScreen:(NSNotification *)notification | - (void)windowWillEnterFullScreen:(NSNotification *)notification | ||||
| { | { | ||||
| associatedWindow->setImmediateDraw(true); | associatedWindow->setImmediateDraw(true); | ||||
| if ([(NSWindow *)associatedWindow->getOSWindow() isZoomed]) { | |||||
| systemCocoa->handleWindowEvent(GHOST_kEventWindowSize, associatedWindow); | |||||
| } | |||||
| } | } | ||||
| - (void)windowDidEnterFullScreen:(NSNotification *)notification | - (void)windowDidEnterFullScreen:(NSNotification *)notification | ||||
| Context not available. | |||||
| - (void)windowDidExitFullScreen:(NSNotification *)notification | - (void)windowDidExitFullScreen:(NSNotification *)notification | ||||
| { | { | ||||
| associatedWindow->setImmediateDraw(false); | associatedWindow->setImmediateDraw(false); | ||||
| if ([(NSWindow *)associatedWindow->getOSWindow() isZoomed]) { | |||||
| systemCocoa->handleWindowEvent(GHOST_kEventWindowSize, associatedWindow); | |||||
| } | |||||
| } | } | ||||
| - (void)windowDidResize:(NSNotification *)notification | - (void)windowDidResize:(NSNotification *)notification | ||||
| Context not available. | |||||