Function in ldk_ui.h

ldk_ui_button

Draw and interact with a button control.

LDK_API bool ldk_ui_button(
 LDKUIContext *ctx,
 char const *text
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
char const *text
Text used by this operation.

Returns

True when the UI condition or interaction is active; false otherwise.

Function in ldk_ui.h

ldk_ui_button_flat

Draw and interact with a button flat control.

LDK_API bool ldk_ui_button_flat(
 LDKUIContext *ctx,
 char const *text
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
char const *text
Text used by this operation.

Returns

True when the UI condition or interaction is active; false otherwise.

Function in ldk_ui.h

ldk_ui_toggle

Draw and interact with a toggle control.

LDK_API bool ldk_ui_toggle(
 LDKUIContext *ctx,
 bool value
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
bool value
Input value or current widget value.

Returns

True when the UI condition or interaction is active; false otherwise.