ldk_os_dialog_color_picker_show
Open the native color selection dialog.
LDK_API bool ldk_os_dialog_color_picker_show(
LDKWindow owner,
rgba32 *color
);
Parameters
Returns
True if the operation succeeds; false otherwise.
Open the native color selection dialog.
LDK_API bool ldk_os_dialog_color_picker_show(
LDKWindow owner,
rgba32 *color
);
True if the operation succeeds; false otherwise.
Show an error message dialog.
LDK_API bool ldk_os_dialog_show_error(
LDKWindow owner,
const char *title,
const char *message
);
LDKWindow ownerconst char *titleconst char *messageTrue if the operation succeeds; false otherwise.
Show an OK message dialog.
LDK_API bool ldk_os_dialog_show_ok(
LDKWindow owner,
const char *title,
const char *message
);
LDKWindow ownerconst char *titleconst char *messageTrue if the operation succeeds; false otherwise.
Show an OK/Cancel message dialog.
LDK_API bool ldk_os_dialog_show_ok_cancel(
LDKWindow owner,
const char *title,
const char *message
);
LDKWindow ownerconst char *titleconst char *messageTrue if the operation succeeds; false otherwise.
Open a native file selection dialog.
LDK_API bool ldk_os_dialog_show_open_file(
LDKWindow owner,
const char *title,
const char *filter,
XFSPath *out_path
);
LDKWindow ownerconst char *titleconst char *filterXFSPath *out_pathTrue if the operation succeeds; false otherwise.
Open a native folder selection dialog.
LDK_API bool ldk_os_dialog_show_open_folder(
LDKWindow owner,
const char *title,
const char *filter,
char *out_path,
size_t out_path_size
);
LDKWindow ownerconst char *titleconst char *filterchar *out_pathsize_t out_path_sizeTrue if the operation succeeds; false otherwise.
Open a native save-file dialog.
LDK_API bool ldk_os_dialog_show_save_file(
LDKWindow owner,
const char *title,
const char *filter,
XFSPath *out_path
);
LDKWindow ownerconst char *titleconst char *filterXFSPath *out_pathTrue if the operation succeeds; false otherwise.
Show a Yes/No message dialog.
LDK_API bool ldk_os_dialog_show_yes_no(
LDKWindow owner,
const char *title,
const char *message
);
LDKWindow ownerconst char *titleconst char *messageTrue if the operation succeeds; false otherwise.