Vuo  2.3.2
Functions
VuoWindowReference.m File Reference

Description

VuoWindowReference implementation.

Definition in file VuoWindowReference.m.

Go to the source code of this file.

Functions

VuoWindowReference VuoWindowReference_make (void *window)
 Creates a VuoWindowReference from a VuoWindow. More...
 
VuoWindowReference VuoWindowReference_makeFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoMouseButton. More...
 
struct json_objectVuoWindowReference_getJson (const VuoWindowReference value)
 Encodes value as a JSON object. More...
 
struct json_objectVuoWindowReference_getInterprocessJson (const VuoWindowReference value)
 Calls VuoWindowReference_getJson(). More...
 
char * VuoWindowReference_getSummary (const VuoWindowReference value)
 Returns a brief human-readable summary of value. More...
 
VuoReal VuoWindowReference_getAspectRatio (const VuoWindowReference value)
 Returns the window's current aspect ratio. More...
 
VuoPoint2d VuoWindowReference_getPosition (const VuoWindowReference value)
 Returns the position of the top-left of the window's content area, in screen points. More...
 
void VuoWindowReference_getContentSize (const VuoWindowReference value, VuoInteger *width, VuoInteger *height, float *backingScaleFactor)
 Returns the window's current content size in pixels. More...
 
bool VuoWindowReference_isFocused (const VuoWindowReference value)
 Returns true if the application is currently focused and the window is currently focused (disregarding auxiliary windows, such as the About box). More...
 
bool VuoWindowReference_isFullscreen (const VuoWindowReference value)
 Returns true if the window is currently fullscreen. More...
 
VuoScreen VuoWindowReference_getScreen (const VuoWindowReference value)
 Returns the screen the window is currently on. More...
 
void VuoWindowReference_addDragCallbacks (const VuoWindowReference wr, void(*dragEnteredCallback)(VuoDragEvent e), void(*dragMovedToCallback)(VuoDragEvent e), void(*dragCompletedCallback)(VuoDragEvent e), void(*dragExitedCallback)(VuoDragEvent e))
 Adds callbacks to be invoked when files are dragged from Finder. More...
 
void VuoWindowReference_removeDragCallbacks (const VuoWindowReference wr, void(*dragEnteredCallback)(VuoDragEvent e), void(*dragMovedToCallback)(VuoDragEvent e), void(*dragCompletedCallback)(VuoDragEvent e), void(*dragExitedCallback)(VuoDragEvent e))
 Removes callbacks that would have been invoked when files were dragged from Finder. More...