ldk_ui_widget_icon_button
Draw and interact with an icon button control.
LDK_API bool ldk_ui_widget_icon_button(
LDKUIContext *ctx,
LDKUIId id,
LDKUIIcon icon,
char const *text,
LDKUIRect rect
);
Parameters
LDKUIContext *ctx
- UI context used by this operation.
LDKUIId id
- Identifier of the target object.
LDKUIIcon icon
- Icon shown by the widget.
char const *text
- Text used by this operation.
LDKUIRect rect
- UI or geometry rectangle.
Returns
True when the UI condition or interaction is active; false otherwise.
ldk_ui_widget_icon_button_flat
Draw and interact with an icon button flat control.
LDK_API bool ldk_ui_widget_icon_button_flat(
LDKUIContext *ctx,
LDKUIId id,
LDKUIIcon icon,
char const *text,
LDKUIRect rect
);
Parameters
LDKUIContext *ctx
- UI context used by this operation.
LDKUIId id
- Identifier of the target object.
LDKUIIcon icon
- Icon shown by the widget.
char const *text
- Text used by this operation.
LDKUIRect rect
- UI or geometry rectangle.
Returns
True when the UI condition or interaction is active; false otherwise.
ldk_ui_widget_icon_label
Draw an icon label UI element.
LDK_API void ldk_ui_widget_icon_label(
LDKUIContext *ctx,
LDKUIId id,
LDKUIIcon icon,
char const *text,
LDKUIRect rect
);
Parameters
LDKUIContext *ctx
- UI context used by this operation.
LDKUIId id
- Identifier of the target object.
LDKUIIcon icon
- Icon shown by the widget.
char const *text
- Text used by this operation.
LDKUIRect rect
- UI or geometry rectangle.