Function in ldk_ui.h

ldk_ui_widget_input_label

Draw an editable text label at an explicit rectangle.

LDK_API u32 ldk_ui_widget_input_label(
 LDKUIContext *ctx,
 LDKUIId id,
 char *buffer,
 u32 buffer_size,
 LDKUIRect rect
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.
char *buffer
Buffer containing the data or receiving formatted output.
u32 buffer_size
Capacity of the buffer in bytes.
LDKUIRect rect
UI or geometry rectangle.

Returns

The resulting numeric value.

Function in ldk_ui.h

ldk_ui_widget_label

Draw UI text at an explicit rectangle.

LDK_API void ldk_ui_widget_label(
 LDKUIContext *ctx,
 LDKUIId id,
 char const *text,
 LDKUIRect rect
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.
char const *text
Text used by this operation.
LDKUIRect rect
UI or geometry rectangle.