|
Blender V5.0
|
#include "BLI_utildefines.h"Go to the source code of this file.
Macros | |
| #define | OPERATOR_FLAGS_ALL |
| #define | OPERATOR_RETVAL_CHECK(ret) |
Enumerations | |
| enum | wmOperatorStatus { OPERATOR_RUNNING_MODAL = (1 << 0) , OPERATOR_CANCELLED = (1 << 1) , OPERATOR_FINISHED = (1 << 2) , OPERATOR_PASS_THROUGH = (1 << 3) , OPERATOR_HANDLED = (1 << 4) , OPERATOR_INTERFACE = (1 << 5) } |
| enum | { OP_IS_INVOKE = (1 << 0) , OP_IS_REPEAT = (1 << 1) , OP_IS_REPEAT_LAST = (1 << 2) , OP_IS_MODAL_GRAB_CURSOR = (1 << 3) , OP_IS_MODAL_CURSOR_REGION = (1 << 4) } |
Functions | |
| ENUM_OPERATORS (wmOperatorStatus, OPERATOR_INTERFACE) | |
| #define OPERATOR_FLAGS_ALL |
Definition at line 30 of file DNA_windowmanager_enums.h.
| #define OPERATOR_RETVAL_CHECK | ( | ret | ) |
Definition at line 35 of file DNA_windowmanager_enums.h.
Referenced by gesture_box_apply(), gesture_circle_apply(), gesture_lasso_apply(), gesture_polyline_apply(), gesture_straightline_apply(), gizmo_tweak_modal(), blender::ed::sculpt_paint::grease_pencil_brush_stroke_invoke(), blender::ed::sculpt_paint::grease_pencil_sculpt_paint_invoke(), blender::ed::sculpt_paint::grease_pencil_vertex_brush_stroke_invoke(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_invoke(), knifetool_invoke(), op_generic_value_modal(), blender::ed::sculpt_paint::image::ops::paint::paint_invoke(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), blender::ed::sculpt_paint::sculpt_curves_stroke_invoke(), vpaint_invoke(), WM_generic_select_invoke(), WM_generic_select_modal(), wm_gizmomap_modal_set(), wm_gizmomaps_handled_modal_update(), wm_handler_fileselect_do(), wm_handler_operator_call(), wm_handlers_do_intern(), wm_macro_exec(), wm_macro_invoke_internal(), wm_macro_modal(), WM_menu_invoke_ex(), wm_operator_exec(), wm_operator_exec_notest(), wm_operator_invoke(), wm_xr_navigation_teleport_invoke(), and wpaint_invoke().
| anonymous enum |
| Enumerator | |
|---|---|
| OP_IS_INVOKE | Low level flag so exec() operators can tell if they were invoked, use with care. Typically this shouldn't make any difference, but it rare cases its needed (see smooth-view). |
| OP_IS_REPEAT | So we can detect if an operators exec() call is activated by adjusting the last action. |
| OP_IS_REPEAT_LAST | So we can detect if an operators exec() call is activated from SCREEN_OT_repeat_last. This difference can be important because previous settings may be used, even with PROP_SKIP_SAVE the repeat last operator will use the previous settings. Unlike OP_IS_REPEAT the selection (and context generally) may be different each time. See #60777 for an example of when this is needed. |
| OP_IS_MODAL_GRAB_CURSOR | When the cursor is grabbed |
| OP_IS_MODAL_CURSOR_REGION | Allow modal operators to have the region under the cursor for their context (the region-type is maintained to prevent errors). |
Definition at line 45 of file DNA_windowmanager_enums.h.
| enum wmOperatorStatus |
Operator type return flags: exec(), invoke() modal(), return values.
Definition at line 16 of file DNA_windowmanager_enums.h.
| ENUM_OPERATORS | ( | wmOperatorStatus | , |
| OPERATOR_INTERFACE | ) |
References OPERATOR_INTERFACE.