LV2  1.0.13
Data Fields
LV2UI_Touch Struct Reference

A feature to notify the host that the user has grabbed a UI control. More...

Data Fields

LV2UI_Feature_Handle handle
 Pointer to opaque data which must be passed to ui_resize(). More...
 
void(* touch )(LV2UI_Feature_Handle handle, uint32_t port_index, bool grabbed)
 Notify the host that a control has been grabbed or released. More...
 

Detailed Description

A feature to notify the host that the user has grabbed a UI control.

Field Documentation

LV2UI_Feature_Handle LV2UI_Touch::handle

Pointer to opaque data which must be passed to ui_resize().

void(* LV2UI_Touch::touch) (LV2UI_Feature_Handle handle, uint32_t port_index, bool grabbed)

Notify the host that a control has been grabbed or released.

The host should cease automating the port or otherwise manipulating the port value until the control has been ungrabbed.

Parameters
handleThe handle field of this struct.
port_indexThe index of the port associated with the control.
grabbedIf true, the control has been grabbed, otherwise the control has been released.

The documentation for this struct was generated from the following file: