|
OpenTTD Source 20260208-master-g43af8e94d0
|
Subclass of OTTD_CocoaView to fix Quartz rendering. More...
Instance Methods | |
| (instancetype) | - initWithFrame:andDriver: |
| Construct new instance. | |
| (BOOL) | - acceptsFirstResponder [implementation] |
| Specifies whether the view accepts first responder. | |
| (BOOL) | - isOpaque [implementation] |
| Specifies whether the view is opaque. | |
| (BOOL) | - wantsUpdateLayer [implementation] |
| Specifies whether the view wants updates for layer. | |
| (void) | - updateLayer [implementation] |
| Updates the layer based on driver data. | |
| (void) | - viewDidChangeBackingProperties [implementation] |
| Updates members with new values after changes in driver. | |
Protected Attributes | |
| VideoDriver_CocoaQuartz * | driver |
| The driver to fix rendering for. | |
Subclass of OTTD_CocoaView to fix Quartz rendering.
Definition at line 476 of file cocoa_v.mm.
|
implementation |
Specifies whether the view accepts first responder.
Definition at line 509 of file cocoa_v.mm.
References acceptsFirstResponder.
Referenced by acceptsFirstResponder.
| - (instancetype) initWithFrame: | (NSRect) | frameRect | |
| andDriver: | (VideoDriver_CocoaQuartz *) | drv |
Construct new instance.
| frameRect | Size of frame. |
| drv | Driver to fix rendering for. |
Definition at line 490 of file cocoa_v.mm.
|
implementation |
Specifies whether the view is opaque.
Definition at line 518 of file cocoa_v.mm.
References isOpaque.
Referenced by isOpaque.
|
implementation |
Updates the layer based on driver data.
Definition at line 533 of file cocoa_v.mm.
References driver, and updateLayer.
Referenced by updateLayer.
|
implementation |
Updates members with new values after changes in driver.
Definition at line 544 of file cocoa_v.mm.
References viewDidChangeBackingProperties.
Referenced by viewDidChangeBackingProperties.
|
implementation |
Specifies whether the view wants updates for layer.
Definition at line 527 of file cocoa_v.mm.
References wantsUpdateLayer.
Referenced by wantsUpdateLayer.
|
protected |
The driver to fix rendering for.
Definition at line 477 of file cocoa_v.mm.
Referenced by updateLayer.