|
OpenTTD Source 20260208-master-g43af8e94d0
|
Subclass of NSWindow to cater our special needs. More...
#include <cocoa_wnd.h>
Instance Methods | |
| (instancetype) | - initWithContentRect:styleMask:backing:defer:driver: |
| Initialize event system for the application rectangle. | |
| (void) | - setFrame:display: |
| Define the rectangle we draw our window in. | |
| (void) | - refreshSystemSprites |
| (void) | - touchBarButtonAction: [implementation] |
| (nullable NSTouchBar *) | - makeTouchBar [implementation] |
| (nullable NSTouchBarItem *) | - touchBar:makeItemForIdentifier: [implementation] |
Subclass of NSWindow to cater our special needs.
Definition at line 32 of file cocoa_wnd.h.
| - (instancetype) initWithContentRect: | (NSRect) | contentRect | |
| styleMask: | (NSUInteger) | styleMask | |
| backing: | (NSBackingStoreType) | backingType | |
| defer: | (BOOL) | flag | |
| driver: | (VideoDriver_Cocoa *) | drv |
Initialize event system for the application rectangle.
Definition at line 438 of file cocoa_wnd.mm.
References VideoDriver::GetCaption().
|
implementation |
Definition at line 474 of file cocoa_wnd.mm.
| - (void) refreshSystemSprites |
Definition at line 507 of file cocoa_wnd.mm.
| - (void) setFrame: | (NSRect) | frameRect | |
| display: | (BOOL) | flag |
Define the rectangle we draw our window in.
Definition at line 459 of file cocoa_wnd.mm.
|
implementation |
Definition at line 493 of file cocoa_wnd.mm.
|
implementation |
Definition at line 466 of file cocoa_wnd.mm.