UI: Improved Operator Confirmations #104670

Merged
Harley Acheson merged 23 commits from Harley/blender:ConfirmDialogs into main 2024-01-04 18:42:34 +01:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit 25fc92fedb - Show all commits

View File

@ -715,6 +715,12 @@ int WM_operator_ui_popup(bContext *C, wmOperator *op, int width);
/**
* Can't be used as an invoke directly, needs message arg (can be NULL).
*/
int WM_operator_confirm_message_ex(bContext *C,
wmOperator *op,
const char *title,
int icon,
const char *message,
wmOperatorCallContext opcontext);
int WM_operator_confirm_message(bContext *C, wmOperator *op, const char *message);
/* Operator API. */