LV2  1.0.13
Data Fields
LV2UI_Resize Struct Reference

UI Resize Feature (LV2_UI__resize) More...

Data Fields

LV2UI_Feature_Handle handle
 Pointer to opaque data which must be passed to ui_resize(). More...
 
int(* ui_resize )(LV2UI_Feature_Handle handle, int width, int height)
 Request or advertise a size change. More...
 

Detailed Description

UI Resize Feature (LV2_UI__resize)

This structure may be used in two ways: as a feature passed by the host via LV2UI_Descriptor::instantiate(), or as extension data provided by a UI via LV2UI_Descriptor::extension_data()).

Field Documentation

LV2UI_Feature_Handle LV2UI_Resize::handle

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

int(* LV2UI_Resize::ui_resize)(LV2UI_Feature_Handle handle, int width, int height)

Request or advertise a size change.

When this struct is provided by the host, the UI may call this function to inform the host about the size of the UI.

When this struct is provided by the UI, the host may call this function to notify the UI that it should change its size accordingly.

Returns
0 on success.

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