Home
last modified time | relevance | path

Searched refs:opcontext (Results 1 – 23 of 23) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/editors/screen/
H A Dscreen_user_menu.c114 short opcontext) in ED_screen_user_menu_item_find_operator() argument
119 if (STREQ(ot->idname, umi_op->op_idname) && (opcontext == umi_op->opcontext) && in ED_screen_user_menu_item_find_operator()
163 short opcontext) in ED_screen_user_menu_item_add_operator() argument
167 umi_op->opcontext = opcontext; in ED_screen_user_menu_item_add_operator()
232 uiItemFullO_ptr(menu->layout, ot, ui_name, ICON_NONE, prop, umi_op->opcontext, 0, NULL); in screen_user_menu_draw()
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/intern/
H A Dwm_keymap.c1401 int UNUSED(opcontext), in wm_keymap_item_find_handlers() argument
1435 int opcontext, in wm_keymap_item_find_props() argument
1462 if (ELEM(opcontext, WM_OP_EXEC_REGION_WIN, WM_OP_INVOKE_REGION_WIN)) { in wm_keymap_item_find_props()
1484 else if (ELEM(opcontext, WM_OP_EXEC_REGION_PREVIEW, WM_OP_INVOKE_REGION_PREVIEW)) { in wm_keymap_item_find_props()
1507 int opcontext, in wm_keymap_item_find() argument
1549 C, opname, opcontext, properties_temp, is_strict, params, r_keymap); in wm_keymap_item_find()
1570 C, opname, opcontext, properties_default, is_strict, params, &km); in wm_keymap_item_find()
1608 int opcontext, in WM_key_event_operator_string() argument
1616 opcontext, in WM_key_event_operator_string()
1648 int opcontext, in WM_key_event_operator() argument
[all …]
H A Dwm_dragdrop.c103 drop->opcontext = WM_OP_INVOKE_DEFAULT; in WM_dropbox_add()
H A Dwm_operators.c947 int WM_menu_invoke_ex(bContext *C, wmOperator *op, int opcontext) in WM_menu_invoke_ex() argument
969 uiLayoutSetOperatorContext(layout, opcontext); in WM_menu_invoke_ex()
971 layout, op->type->idname, RNA_property_identifier(prop), op->ptr->data, opcontext, 0); in WM_menu_invoke_ex()
1099 const short opcontext) in WM_operator_confirm_message_ex() argument
1112 uiItemFullO_ptr(layout, op->type, message, ICON_NONE, properties, opcontext, 0, NULL); in WM_operator_confirm_message_ex()
H A Dwm_event_system.c2767 C, drop->ot, drop->ptr, NULL, drop->opcontext, false, event); in wm_handlers_do_intern()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_context_menu.c156 C, idname, but->opcontext, prop, true, shortcut_str, sizeof(shortcut_str))) { in but_shortcut_name_func()
182 but->opcontext, in menu_change_shortcut()
297 kmi_id = WM_key_event_operator_id(C, idname, but->opcontext, prop, true, &km); in menu_add_shortcut_cancel()
322 but->opcontext, in remove_shortcut_func()
356 &um->items, but->optype, prop, but->opcontext); in ui_but_user_menu_find()
428 &um->items, drawstr, but->optype, but->opptr ? but->opptr->data : NULL, but->opcontext); in ui_but_user_menu_add()
1052 C, idname, but->opcontext, prop, EVT_TYPE_MASK_ALL, 0, &km); in ui_popup_context_menu_for_button()
H A Dinterface_template_search_menu.c120 short opcontext; member
199 item->op.opcontext = but->opcontext; in menu_items_from_ui_create_item_from_button()
283 but->opcontext = item->op.opcontext; in menu_items_to_ui_button()
406 item->op.opcontext = WM_OP_INVOKE_DEFAULT; in menu_items_from_all_operators()
949 WM_operator_name_call_ptr(C, item->op.type, item->op.opcontext, item->op.opptr); in menu_search_exec_fn()
H A Dinterface_region_menu_popup.c635 void uiPupBlockOperator(bContext *C, uiBlockCreateFunc func, wmOperator *op, int opcontext)
648 handle->opcontext = opcontext;
H A Dinterface_layout.c85 int opcontext; member
1633 uiItemsFullEnumO(layout, opname, propname, NULL, layout->root->opcontext, 0); in uiItemsEnumO()
3370 int opcontext; member
3382 uiLayoutSetOperatorContext(layout, lvl->opcontext); in menu_item_enum_opname_menu()
3412 lvl->opcontext = layout->root->opcontext; in uiItemMenuEnumO_ptr()
3450 uiLayoutSetOperatorContext(layout, lvl->opcontext); in menu_item_enum_rna_menu()
3470 lvl->opcontext = layout->root->opcontext; in uiItemMenuEnumR_prop()
5468 root->opcontext = WM_OP_INVOKE_REGION_WIN; in UI_block_layout()
5514 return layout->root->opcontext; in uiLayoutGetOperatorContext()
5597 void uiLayoutSetOperatorContext(uiLayout *layout, int opcontext) in uiLayoutSetOperatorContext() argument
[all …]
H A Dinterface_region_popover.c93 static void ui_popover_create_block(bContext *C, uiPopover *pup, int opcontext) in ui_popover_create_block() argument
110 uiLayoutSetOperatorContext(pup->layout, opcontext); in ui_popover_create_block()
H A Dinterface.c1618 extra_op_icon->optype_params->opcontext = opcontext; in ui_but_extra_operator_icon_add_ptr()
1644 short opcontext, in UI_but_extra_operator_icon_add() argument
4605 int opcontext, in ui_def_but_operator_ptr() argument
4628 but->opcontext = opcontext; in ui_def_but_operator_ptr()
5143 int opcontext, in uiDefButO_ptr() argument
5158 int opcontext, in uiDefButO() argument
5526 int opcontext, in uiDefIconButO_ptr() argument
5541 int opcontext, in uiDefIconButO() argument
5929 int opcontext, in uiDefIconTextButO_ptr() argument
5946 int opcontext, in uiDefIconTextButO() argument
[all …]
H A Dinterface_intern.h250 short opcontext; member
892 int opcontext,
H A Dinterface_handlers.c445 int opcontext; member
718 PointerRNA *ui_handle_afterfunc_add_operator(wmOperatorType *ot, int opcontext, bool create_props) in ui_handle_afterfunc_add_operator() argument
724 after->opcontext = opcontext; in ui_handle_afterfunc_add_operator()
796 after->opcontext = but->opcontext; in ui_apply_but_func()
815 but->opcontext = 0; in ui_apply_but_func()
935 WM_operator_name_call_ptr(C, after.optype, after.opcontext, (after.opptr) ? &opptr : NULL); in ui_apply_but_funcs_after()
4015 op_icon->optype_params->opcontext, in ui_but_extra_operator_icon_apply()
H A Dinterface_region_tooltip.c957 WM_operator_poll_context(C, but->optype, but->opcontext); in ui_tooltip_data_from_button()
H A Dinterface_templates.c1678 const int opcontext, in template_search_add_button_operator() argument
1687 block, UI_BTYPE_BUT, operator_name, opcontext, icon, 0, 0, UI_UNIT_X, UI_UNIT_Y, NULL); in template_search_add_button_operator()
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/
H A DWM_keymap.h172 int opcontext,
179 int opcontext,
H A DWM_types.h799 short opcontext; member
901 short opcontext; member
H A DWM_api.h370 int WM_menu_invoke_ex(struct bContext *C, struct wmOperator *op, int opcontext);
408 const short opcontext);
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/
H A DUI_interface.h647 int opcontext);
949 int opcontext,
959 int opcontext,
1132 int opcontext,
1142 int opcontext,
1328 int opcontext,
1339 int opcontext,
1656 short opcontext,
1899 void uiLayoutSetOperatorContext(uiLayout *layout, int opcontext);
H A DED_screen.h392 short opcontext);
404 short opcontext);
/dports/graphics/blender/blender-2.91.0/source/blender/makesrna/intern/
H A Drna_wm_api.c479 int opcontext, in rna_KeyConfig_find_item_from_operator() argument
490 C, idname_bl, opcontext, properties->data, include_mask, exclude_mask, &km); in rna_KeyConfig_find_item_from_operator()
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/
H A DDNA_userdef_types.h547 char opcontext; member
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dspace_view3d.c608 drop->opcontext = WM_OP_EXEC_DEFAULT; in view3d_collection_drop_copy()