|
OpenTTD Source 20260208-master-g43af8e94d0
|
Delegate for our NSWindow to send ask for quit on close. More...
#include <cocoa_wnd.h>
Instance Methods | |
| (instancetype) | - initWithDriver: |
| Initialize the video driver. | |
| (BOOL) | - windowShouldClose: |
| Handle closure requests. | |
| (void) | - windowDidEnterFullScreen: |
| Window entered fullscreen mode (10.7). | |
| (void) | - windowDidChangeBackingProperties: |
| Screen the window is on changed. | |
| (NSApplicationPresentationOptions) | - window:willUseFullScreenPresentationOptions: |
| Presentation options to use for full screen mode. | |
Delegate for our NSWindow to send ask for quit on close.
Definition at line 51 of file cocoa_wnd.h.
| - (instancetype) initWithDriver: | (VideoDriver_Cocoa *) | drv |
Initialize the video driver.
Definition at line 1382 of file cocoa_wnd.mm.
| - (NSApplicationPresentationOptions) window: | (NSWindow *) | window | |
| willUseFullScreenPresentationOptions: | (NSApplicationPresentationOptions) | proposedOptions |
Presentation options to use for full screen mode.
Definition at line 1424 of file cocoa_wnd.mm.
| - (void) windowDidChangeBackingProperties: | (NSNotification *) | notification |
Screen the window is on changed.
Definition at line 1413 of file cocoa_wnd.mm.
References AdjustGUIZoom(), and ReInitAllWindows().
| - (void) windowDidEnterFullScreen: | (NSNotification *) | aNotification |
Window entered fullscreen mode (10.7).
Definition at line 1400 of file cocoa_wnd.mm.
| - (BOOL) windowShouldClose: | (id) | sender |
Handle closure requests.
| sender | Where the event comes from. |
Definition at line 1393 of file cocoa_wnd.mm.