Vuo  1.2.8
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. More...
 
typedef void(* VuoGraphicsWindowUpdateBackingCallback) (void *userData, float backingScaleFactor)
 Called when the window changes screens (including when the window first appears). More...
 
typedef void(* VuoGraphicsWindowResizeCallback) (void *userData, unsigned int, unsigned int)
 Called when the window is resized (including transitioning between fullscreen and windowed). More...
 
typedef VuoIoSurface(* VuoGraphicsWindowDrawCallback) (void *userData)
 Called when content needs to be redrawn. More...
 
typedef void(* VuoGraphicsWindowShowedWindowCallback) (VuoWindowReference window)
 Called when the window is shown, moved, or resized. More...
 
typedef void(* VuoGraphicsWindowRequestedFrameCallback) (VuoReal time)
 Called when the display is ready for the next frame. More...
 
typedef void(* VuoGraphicsWindowDragCallback) (VuoDragEvent e)
 Called when one or more files enter, exit, or are dropped onto the window. More...
 

Variables

const int VuoGraphicsWindowMinSize
 Smallest window width and height that Cocoa can properly render. More...
 
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. More...
 

Typedef Documentation

◆ VuoGraphicsWindowDragCallback

typedef void(* VuoGraphicsWindowDragCallback) (VuoDragEvent e)

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

◆ VuoGraphicsWindowDrawCallback

typedef VuoIoSurface(* VuoGraphicsWindowDrawCallback) (void *userData)

Called when content needs to be redrawn.

◆ VuoGraphicsWindowInitCallback

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

Called by VuoGraphicsView's init method.

◆ VuoGraphicsWindowRequestedFrameCallback

typedef void(* VuoGraphicsWindowRequestedFrameCallback) (VuoReal time)

Called when the display is ready for the next frame.

◆ VuoGraphicsWindowResizeCallback

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

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

◆ VuoGraphicsWindowShowedWindowCallback

typedef void(* VuoGraphicsWindowShowedWindowCallback) (VuoWindowReference window)

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

◆ VuoGraphicsWindowUpdateBackingCallback

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

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

Variable Documentation

◆ VuoGraphicsWindow_fullScreenTransitionSemaphore

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.

◆ VuoGraphicsWindowMinSize

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.