Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Variables
VuoGraphicsWindow.h File Reference

Description

VuoGraphicsWindow interface.

Classes

class  VuoGraphicsWindow
 A window containing a VuoGraphicsView. More...
 

Typedefs

typedef void(* VuoGraphicsWindowInitCallback )(void *userData, float backingScaleFactor)
 Called by VuoGraphicsView's init method.
 
typedef void(* VuoGraphicsWindowUpdateBackingCallback )(void *userData, float backingScaleFactor)
 Called when the window changes screens (including when the window first appears).
 
typedef void(* VuoGraphicsWindowResizeCallback )(void *userData, unsigned int, unsigned int)
 Called when the window is resized (including transitioning between fullscreen and windowed).
 
typedef VuoIoSurface(* VuoGraphicsWindowDrawCallback )(void *userData)
 Called when content needs to be redrawn.
 
typedef void(* VuoGraphicsWindowShowedWindowCallback )(VuoWindowReference window)
 Called when the window is shown, moved, or resized.
 
typedef void(* VuoGraphicsWindowRequestedFrameCallback )(VuoReal time)
 Called when the display is ready for the next frame.
 
typedef void(* VuoGraphicsWindowDragCallback )(VuoDragEvent e)
 Called when one or more files enter, exit, or are dropped onto the window.
 

Variables

const int VuoGraphicsWindowMinSize
 Smallest window width and height that Cocoa can properly render.
 
dispatch_semaphore_t VuoGraphicsWindow_fullScreenTransitionSemaphore
 Serialize making windows fullscreen, since Mac OS X beeps at you (!) if you try to fullscreen two windows too quickly.
 

Typedef Documentation

typedef void(* VuoGraphicsWindowDragCallback)(VuoDragEvent e)

Called when one or more files enter, exit, or are dropped onto the window.

typedef VuoIoSurface(* VuoGraphicsWindowDrawCallback)(void *userData)

Called when content needs to be redrawn.

typedef void(* VuoGraphicsWindowInitCallback)(void *userData, float backingScaleFactor)

Called by VuoGraphicsView's init method.

typedef void(* VuoGraphicsWindowRequestedFrameCallback)(VuoReal time)

Called when the display is ready for the next frame.

typedef void(* VuoGraphicsWindowResizeCallback)(void *userData, unsigned int, unsigned int)

Called when the window is resized (including transitioning between fullscreen and windowed).

typedef void(* VuoGraphicsWindowShowedWindowCallback)(VuoWindowReference window)

Called when the window is shown, moved, or resized.

typedef void(* VuoGraphicsWindowUpdateBackingCallback)(void *userData, float backingScaleFactor)

Called when the window changes screens (including when the window first appears).

Variable Documentation

dispatch_semaphore_t VuoGraphicsWindow_fullScreenTransitionSemaphore

Serialize making windows fullscreen, since Mac OS X beeps at you (!) if you try to fullscreen two windows too quickly.

const int VuoGraphicsWindowMinSize

Smallest window width and height that Cocoa can properly render.

Smallest window width and height that Cocoa can properly render.

macOS 10.12's Cocoa crashes below 4.