CocoaWindow

Undocumented in source.

Constructors

this
this(WindowUsage usage, void* parentWindow, IWindowListener listener, int width, int height)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getTimeMs
uint getTimeMs()
Undocumented in source. Be warned that the author may not have intended to support it.
requestResize
bool requestResize(int widthLogicalPixels, int heightLogicalPixels, bool alsoResizeParentWindow)
Undocumented in source. Be warned that the author may not have intended to support it.
systemHandle
void* systemHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
terminated
bool terminated()
Undocumented in source. Be warned that the author may not have intended to support it.
waitEventAndDispatch
void waitEventAndDispatch()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IWindow

waitEventAndDispatch
void waitEventAndDispatch()

To put in your message loop. This call should only be used if the window was created with WindowUsage.host. Else, event pumping is managed by the host or internally (X11).

terminated
bool terminated()

If exit was requested. This call should only be used if the window was created with WindowUsage.host. In the case of a plug-in, the plugin client will request termination of the window through its destructor.

getTimeMs
uint getTimeMs()

Profile-purpose: get time in milliseconds. Use the results of this function for deltas only.

systemHandle
void* systemHandle()

Gets the window's OS handle.

requestResize
bool requestResize(int widthLogicalPixels, int heightLogicalPixels, bool alsoResizeParentWindow)

Request a resize from the native window. If successful, onResized` should be called after with _some_ width and height. Note: DPI unaware. This doesn't check size constraints. Do not call this with a size that isn't compatible with your desired user pixel size, after GUIGraphics _userArea adjustments.

Meta