VuoGraphicsWindow interface.
Definition in file VuoGraphicsWindow.h.
Go to the source code of this file.
Classes | |
class | VuoGraphicsWindow |
A window containing a VuoGraphicsLayer. More... | |
Typedefs | |
typedef void(* | VuoGraphicsWindowInitCallback) (void *userData, float backingScaleFactor) |
Called by VuoGraphicsLayer'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(* | VuoGraphicsWindowUpdatedWindowCallback) (VuoRenderedLayers window) |
Called when the window is shown, moved, or resized. More... | |
typedef void(* | VuoGraphicsWindowShowedWindowCallback) (VuoWindowReference window) |
Deprecated. See VuoGraphicsWindowUpdatedWindowCallback. 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 void(* VuoGraphicsWindowDragCallback) (VuoDragEvent e) |
Called when one or more files enter, exit, or are dropped onto the window.
Definition at line 30 of file VuoGraphicsWindow.h.
typedef VuoIoSurface(* VuoGraphicsWindowDrawCallback) (void *userData) |
Called when content needs to be redrawn.
Definition at line 26 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowInitCallback) (void *userData, float backingScaleFactor) |
Called by VuoGraphicsLayer's init method.
Definition at line 23 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowRequestedFrameCallback) (VuoReal time) |
Called when the display is ready for the next frame.
Definition at line 29 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowResizeCallback) (void *userData, unsigned int, unsigned int) |
Called when the window is resized (including transitioning between fullscreen and windowed).
Definition at line 25 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowShowedWindowCallback) (VuoWindowReference window) |
Deprecated. See VuoGraphicsWindowUpdatedWindowCallback.
Definition at line 28 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowUpdateBackingCallback) (void *userData, float backingScaleFactor) |
Called when the window changes screens (including when the window first appears).
Definition at line 24 of file VuoGraphicsWindow.h.
typedef void(* VuoGraphicsWindowUpdatedWindowCallback) (VuoRenderedLayers window) |
Called when the window is shown, moved, or resized.
Definition at line 27 of file VuoGraphicsWindow.h.
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.
Definition at line 45 of file VuoGraphicsWindow.m.
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.
Definition at line 39 of file VuoGraphicsWindow.m.