Function in ldk_ui.h

ldk_ui_widget_resize_handle_horizontal

Draw a horizontal resize handle at an explicit rectangle.

LDK_API float ldk_ui_widget_resize_handle_horizontal(
 LDKUIContext *ctx,
 LDKUIId id,
 float value,
 float min_value,
 float max_value,
 LDKUIRect rect
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.
float value
Input value or current widget value.
float min_value
Minimum permitted value.
float max_value
Maximum permitted value.
LDKUIRect rect
UI or geometry rectangle.

Returns

The resulting value.

Function in ldk_ui.h

ldk_ui_widget_resize_handle_vertical

Draw a vertical resize handle at an explicit rectangle.

LDK_API float ldk_ui_widget_resize_handle_vertical(
 LDKUIContext *ctx,
 LDKUIId id,
 float value,
 float min_value,
 float max_value,
 LDKUIRect rect
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.
float value
Input value or current widget value.
float min_value
Minimum permitted value.
float max_value
Maximum permitted value.
LDKUIRect rect
UI or geometry rectangle.

Returns

The resulting value.