OpenTTD Source 20241224-master-gee860a5c8e
cocoa_wnd.h File Reference

OS interface for the cocoa video driver. More...

import <Cocoa/Cocoa.h>

Go to the source code of this file.

Data Structures

category  NSCursor(OTTD_QuickdrawCursor)
 Category of NSCursor to allow cursor showing/hiding. More...
 
class  OTTD_CocoaWindow
 Subclass of NSWindow to cater our special needs. More...
 
class  OTTD_CocoaView
 Subclass of NSView to support mouse awareness and text input. More...
 
class  OTTD_CocoaWindowDelegate
 Delegate for our NSWindow to send ask for quit on close. More...
 

Enumerations

enum  RightMouseButtonEmulationState { RMBE_COMMAND = 0 , RMBE_CONTROL = 1 , RMBE_OFF = 2 }
 

Functions

bool CocoaSetupApplication ()
 
void CocoaExitApplication ()
 

Variables

NSString * OTTDMainLaunchGameEngine
 
bool _allow_hidpi_window
 

Detailed Description

OS interface for the cocoa video driver.

Definition in file cocoa_wnd.h.

Enumeration Type Documentation

◆ RightMouseButtonEmulationState

enum RightMouseButtonEmulationState

Definition at line 22 of file cocoa_wnd.h.