diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-20 21:03:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-20 21:03:59 +0300 |
commit | 66ccd94e3fa6a83555a6f7dd9dc1a78d66cd0c60 (patch) | |
tree | a139ed392d6eb10c6488f4b5e8c6fca36d6c6942 /source/blender/windowmanager/WM_api.h | |
parent | 11b260ee065db2510d5dbf315bed9be0a7bed02b (diff) |
patch #21680 from Richard Olsson
wm.invoke_props_dialog()
This is so python scripts can have popups which do not redo all the time.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 07f1368db23..70c0efd6a53 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -190,8 +190,9 @@ int WM_operator_filesel (struct bContext *C, struct wmOperator *op, struct wm int WM_operator_winactive (struct bContext *C); /* invoke callback, exec + redo popup */ int WM_operator_props_popup (struct bContext *C, struct wmOperator *op, struct wmEvent *event); +int WM_operator_props_dialog_popup (struct bContext *C, struct wmOperator *op, int width, int height); int WM_operator_redo_popup (struct bContext *C, struct wmOperator *op); -void WM_operator_ui_popup (struct bContext *C, struct wmOperator *op, int width, int height); +int WM_operator_ui_popup (struct bContext *C, struct wmOperator *op, int width, int height); int WM_operator_confirm_message(struct bContext *C, struct wmOperator *op, char *message); |