Vuo
1.2.6
|
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_object * | VuoWindowReference_getJson (const VuoWindowReference value) |
Encodes value as a JSON object. | |
struct json_object * | VuoWindowReference_getInterprocessJson (const VuoWindowReference value) |
Calls VuoWindowReference_getJson(). | |
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). | |
bool | VuoWindowReference_isFullscreen (const VuoWindowReference value) |
Returns true if the window is currently fullscreen. | |
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. | |