Vuo
0.4.7
|
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. | |
enum | VuoMouseButtonActionType { VuoMouseButtonActionType_Press, VuoMouseButtonActionType_Release, VuoMouseButtonActionType_SingleClick, VuoMouseButtonActionType_DoubleClick, VuoMouseButtonActionType_TripleClick } |
Type of action done to a mouse button. | |
Functions | |
VuoMouseButtonAction | VuoMouseButtonAction_valueFromString (const char *initializer) |
Parses the C string initializer to create a new value. | |
char * | VuoMouseButtonAction_stringFromValue (const VuoMouseButtonAction value) |
Serializes value as a C string. | |
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 . | |
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. |
char * VuoMouseButtonAction_stringFromValue | ( | const VuoMouseButtonAction | value | ) |
Serializes value
as a C string.
VuoMouseButtonAction VuoMouseButtonAction_valueFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoMouseButtonAction VuoMouseButtonAction_valueFromString | ( | const char * | initializer | ) |
Parses the C string initializer
to create a new value.