Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
VuoWindowReference.m File Reference

Description

VuoWindowReference implementation.

Functions

VuoWindowReference VuoWindowReference_make (void *window)
 Creates a VuoWindowReference from a VuoWindow.
 
VuoWindowReference VuoWindowReference_makeFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoMouseButton.
 
struct json_objectVuoWindowReference_getJson (const VuoWindowReference value)
 Encodes value as a JSON object.
 
char * VuoWindowReference_getSummary (const VuoWindowReference value)
 Returns a brief human-readable summary of value.
 
VuoReal VuoWindowReference_getAspectRatio (const VuoWindowReference value)
 Returns the window's current aspect ratio.
 
void VuoWindowReference_getContentSize (const VuoWindowReference value, VuoInteger *width, VuoInteger *height, float *backingScaleFactor)
 Returns the window's current content size in pixels.
 
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).
 
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.
 
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.