LDKUIPopupCache
typedef struct LDKUIPopupCache LDKUIPopupCache;
typedef struct LDKUIPopupCache LDKUIPopupCache;
typedef struct LDKUIPopupFrameEntry LDKUIPopupFrameEntry;
typedef struct LDKUIPopupStackEntry LDKUIPopupStackEntry;
#define LDK_UI_POPUP_STACK_CAPACITY 16
Begin drawing the named popup when it is open.
LDK_API bool ldk_ui_begin_popup(
LDKUIContext *ctx,
LDKUIId id
);
LDKUIContext *ctxLDKUIId idTrue when the UI condition or interaction is active; false otherwise.
Close all open popups.
LDK_API void ldk_ui_close_all_popups(LDKUIContext *ctx);
LDKUIContext *ctxClose the active popup.
LDK_API void ldk_ui_close_current_popup(LDKUIContext *ctx);
LDKUIContext *ctxClose the popup with the specified UI ID.
LDK_API void ldk_ui_close_popup(
LDKUIContext *ctx,
LDKUIId id
);
LDKUIContext *ctxLDKUIId idFinish drawing the active popup.
LDK_API void ldk_ui_end_popup(LDKUIContext *ctx);
LDKUIContext *ctxOpen a popup identified by a UI ID.
LDK_API void ldk_ui_open_popup(
LDKUIContext *ctx,
LDKUIId id
);
LDKUIContext *ctxLDKUIId idOpen a popup at the requested screen position.
LDK_API void ldk_ui_open_popup_at(
LDKUIContext *ctx,
LDKUIId id,
LDKUIPoint position
);
LDKUIContext *ctxLDKUIId idLDKUIPoint positionCheck whether a popup is currently open.
LDK_API bool ldk_ui_popup_is_open(
LDKUIContext *ctx,
LDKUIId id
);
LDKUIContext *ctxLDKUIId idTrue when the queried condition holds; false otherwise.