Vuo
0.4.9
|
A press, release, or click of one of the mouse buttons.
Classes | |
struct | VuoMouseButtonAction |
A press, release, or click of one of the mouse buttons. More... | |
Enumerations | |
enum | VuoMouseButton { VuoMouseButton_Left, VuoMouseButton_Middle, VuoMouseButton_Right } |
Type of mouse button. More... | |
enum | VuoMouseButtonActionType { VuoMouseButtonActionType_Press, VuoMouseButtonActionType_Release, VuoMouseButtonActionType_SingleClick, VuoMouseButtonActionType_DoubleClick, VuoMouseButtonActionType_TripleClick } |
Type of action done to a mouse button. More... | |
Functions | |
VuoMouseButtonAction | VuoMouseButtonAction_valueFromJson (json_object *js) |
Decodes the JSON object js to create a new value. | |
json_object * | VuoMouseButtonAction_jsonFromValue (const VuoMouseButtonAction e) |
Encodes value as a JSON object. | |
char * | VuoMouseButtonAction_summaryFromValue (const VuoMouseButtonAction e) |
Returns a compact string representation of value . | |
VuoMouseButtonAction | VuoMouseButtonAction_valueFromString (const char *str) |
Automatically generated function. | |
char * | VuoMouseButtonAction_stringFromValue (const VuoMouseButtonAction value) |
Automatically generated function. | |
struct VuoMouseButtonAction |
Class Members | ||
---|---|---|
char | blah[42] | |
VuoMouseButton | button | Which button was used. |
VuoPoint2d | position | The position of the pointer when the event occurred (in screen coordinates). |
VuoMouseButtonActionType | type | Which action was done to the button. |
enum VuoMouseButton |
Type of mouse button.
Type of action done to a mouse button.
|
read |
Encodes value
as a JSON object.
char* VuoMouseButtonAction_stringFromValue | ( | const VuoMouseButtonAction | value | ) |
Automatically generated function.
char * VuoMouseButtonAction_summaryFromValue | ( | const VuoMouseButtonAction | e | ) |
Returns a compact string representation of value
.
VuoMouseButtonAction VuoMouseButtonAction_valueFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoMouseButtonAction VuoMouseButtonAction_valueFromString | ( | const char * | str | ) |
Automatically generated function.