LDKUILayoutDirection
typedef enum LDKUILayoutDirection{
LDK_UI_LAYOUT_VERTICAL=0,
LDK_UI_LAYOUT_HORIZONTAL=1,
}LDKUILayoutDirection;
typedef enum LDKUILayoutDirection{
LDK_UI_LAYOUT_VERTICAL=0,
LDK_UI_LAYOUT_HORIZONTAL=1,
}LDKUILayoutDirection;
typedef LDKRectf LDKUIRect;
Rectangle of the current area's header, for header action buttons.
LDK_API LDKUIRect ldk_ui_area_header_rect(LDKUIContext *ctx);
LDKUIContext *ctxThe resulting rectangle.
Get the outer bounding rectangle of the most recent UI item.
LDK_API LDKUIRect ldk_ui_last_bounding_rect(LDKUIContext *ctx);
LDKUIContext *ctxThe resulting rectangle.
Get the rectangle of the most recently emitted UI item.
LDK_API LDKUIRect ldk_ui_last_rect(LDKUIContext *ctx);
LDKUIContext *ctxThe resulting rectangle.
Construct a UI rectangle from position and dimensions.
LDK_API LDKUIRect ldk_ui_rect(
float x,
float y,
float w,
float h
);
float xfloat yfloat wfloat hThe resulting rectangle.