|
Blender V5.0
|
#include <cstdlib>#include "MEM_guardedalloc.h"#include "DNA_windowmanager_types.h"#include "BLI_listbase.h"#include "BKE_context.hh"#include "BKE_screen.hh"#include "GPU_state.hh"#include "UI_interface.hh"#include "UI_view2d.hh"#include "ED_anim_api.hh"#include "ED_armature.hh"#include "ED_asset.hh"#include "ED_clip.hh"#include "ED_curve.hh"#include "ED_curves.hh"#include "ED_curves_sculpt.hh"#include "ED_fileselect.hh"#include "ED_geometry.hh"#include "ED_gizmo_library.hh"#include "ED_gpencil_legacy.hh"#include "ED_grease_pencil.hh"#include "ED_lattice.hh"#include "ED_markers.hh"#include "ED_mask.hh"#include "ED_mball.hh"#include "ED_mesh.hh"#include "ED_node.hh"#include "ED_object.hh"#include "ED_paint.hh"#include "ED_physics.hh"#include "ED_pointcloud.hh"#include "ED_render.hh"#include "ED_scene.hh"#include "ED_screen.hh"#include "ED_sculpt.hh"#include "ED_sequencer.hh"#include "ED_sound.hh"#include "ED_space_api.hh"#include "ED_transform.hh"#include "ED_userpref.hh"#include "ED_util.hh"#include "ED_uvedit.hh"#include "io_ops.hh"Go to the source code of this file.
Classes | |
| struct | RegionDrawCB |
Functions | |
| void | ED_spacetypes_init () |
| void | ED_spacemacros_init () |
| void | ED_spacetypes_keymap (wmKeyConfig *keyconf) |
| void * | ED_region_draw_cb_activate (ARegionType *art, void(*draw)(const bContext *, ARegion *, void *), void *customdata, int type) |
| bool | ED_region_draw_cb_exit (ARegionType *art, void *handle) |
| static void | ed_region_draw_cb_draw (const bContext *C, ARegion *region, ARegionType *art, int type) |
| void | ED_region_draw_cb_draw (const bContext *C, ARegion *region, int type) |
| void | ED_region_surface_draw_cb_draw (ARegionType *art, int type) |
| void | ED_region_draw_cb_remove_by_type (ARegionType *art, void *draw_fn, void(*free)(void *)) |
| void * ED_region_draw_cb_activate | ( | ARegionType * | art, |
| void(* | draw )(const bContext *, ARegion *, void *), | ||
| void * | customdata, | ||
| int | type ) |
Definition at line 234 of file spacetypes.cc.
References BLI_addtail(), RegionDrawCB::customdata, RegionDrawCB::draw, ARegionType::drawcalls, MEM_callocN(), and RegionDrawCB::type.
Referenced by blender::ui::bonedropper_init(), blender::ui::bonedropper_set_draw_callback_region(), curve_draw_invoke(), blender::ed::curves::curves_draw_invoke(), datadropper_init(), datadropper_set_draw_callback_region(), depthdropper_init(), blender::ed::space_node::draw_draglink_tooltip_activate(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_edit_invoke(), ED_imbuf_sample_invoke(), ED_slider_create(), edbm_bevel_init(), edbm_inset_init(), blender::ed::sculpt_paint::grease_pencil_fill_update_overlay(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), initFlyInfo(), blender::ed::transform::initTransform(), initWalkInfo(), knifetool_init(), pyrna_callback_classmethod_add(), ringsel_init(), blender::ed::space_node::sample_invoke(), stitch_init_all(), view3d_interactive_add_begin(), blender::ed::object::voxel_size_edit_invoke(), wm_xr_raycast_init(), and wm_xr_session_controller_data_populate().
Definition at line 270 of file spacetypes.cc.
References C, ed_region_draw_cb_draw(), and ARegion::runtime.
Referenced by action_main_region_draw(), clip_main_region_draw(), blender::ed::space_node::draw_nodespace_back_pix(), blender::ed::vse::draw_registered_callbacks(), blender::ed::vse::draw_timeline_post_view_callbacks(), blender::ed::vse::draw_timeline_pre_view_callbacks(), drw_callbacks_post_scene(), drw_callbacks_post_scene_2D(), drw_callbacks_pre_scene(), drw_callbacks_pre_scene_2D(), ED_mask_draw_region(), ED_region_do_draw(), graph_main_region_draw(), nla_main_region_draw(), and blender::ed::space_node::node_draw_space().
|
static |
Definition at line 261 of file spacetypes.cc.
References C, ARegionType::drawcalls, and LISTBASE_FOREACH_MUTABLE.
Referenced by ED_region_draw_cb_draw(), and ED_region_surface_draw_cb_draw().
| bool ED_region_draw_cb_exit | ( | ARegionType * | art, |
| void * | handle ) |
Definition at line 249 of file spacetypes.cc.
References BLI_remlink(), ARegionType::drawcalls, LISTBASE_FOREACH, and MEM_freeN().
Referenced by blender::ui::bonedropper_exit(), blender::ui::bonedropper_set_draw_callback_region(), blender::ed::curves::curve_draw_exit(), curve_draw_exit(), datadropper_exit(), datadropper_set_draw_callback_region(), depthdropper_exit(), blender::ed::space_node::draw_draglink_tooltip_deactivate(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_edit_cancel(), blender::ed::sculpt_paint::dyntopo::dyntopo_detail_size_edit_modal(), ED_imbuf_sample_exit(), ED_slider_destroy(), edbm_bevel_exit(), edbm_inset_exit(), flyEnd(), blender::ed::sculpt_paint::grease_pencil_fill_exit(), blender::ed::sculpt_paint::grease_pencil_fill_update_overlay(), blender::ed::greasepencil::grease_pencil_primitive_exit(), knifetool_exit_ex(), blender::ed::transform::postTrans(), pyrna_callback_classmethod_remove(), ringsel_exit(), blender::ed::space_node::sample_exit(), stitch_exit(), view3d_interactive_add_exit(), blender::ed::object::voxel_size_edit_cancel(), blender::ed::object::voxel_size_edit_modal(), walkEnd(), wm_xr_raycast_uninit(), and wm_xr_session_controller_data_clear().
| void ED_region_draw_cb_remove_by_type | ( | ARegionType * | art, |
| void * | draw_fn, | ||
| void(* | free )(void *) ) |
Definition at line 280 of file spacetypes.cc.
References BLI_remlink(), ARegionType::drawcalls, free(), LISTBASE_FOREACH_MUTABLE, and MEM_freeN().
Referenced by BPY_callback_screen_free().
| void ED_region_surface_draw_cb_draw | ( | ARegionType * | art, |
| int | type ) |
Definition at line 275 of file spacetypes.cc.
References ed_region_draw_cb_draw().
Referenced by drw_callbacks_post_scene().
| void ED_spacemacros_init | ( | ) |
Definition at line 150 of file spacetypes.cc.
References BKE_spacetypes_list(), ED_dropboxes_ui(), ED_operatormacros_action(), ED_operatormacros_armature(), ED_operatormacros_clip(), ED_operatormacros_curve(), ED_operatormacros_file(), ED_operatormacros_graph(), ED_operatormacros_grease_pencil(), ED_operatormacros_mask(), ED_operatormacros_mesh(), ED_operatormacros_metaball(), ED_operatormacros_nla(), ED_operatormacros_node(), ED_operatormacros_paint(), blender::ed::vse::ED_operatormacros_sequencer(), ED_operatormacros_uvedit(), blender::ed::curves::operatormacros_curves(), blender::ed::object::operatormacros_object(), and blender::ed::pointcloud::operatormacros_pointcloud().
Referenced by WM_init().
| void ED_spacetypes_init | ( | ) |
Definition at line 61 of file spacetypes.cc.
References BKE_spacetypes_list(), ED_gizmotypes_arrow_3d(), ED_gizmotypes_blank_3d(), ED_gizmotypes_button_2d(), ED_gizmotypes_cage_2d(), ED_gizmotypes_cage_3d(), ED_gizmotypes_dial_3d(), ED_gizmotypes_move_3d(), ED_gizmotypes_preselect_3d(), ED_gizmotypes_primitive_3d(), ED_gizmotypes_snap_3d(), ED_operatortypes_anim(), ED_operatortypes_animchannels(), ED_operatortypes_armature(), ED_operatortypes_curve(), ED_operatortypes_edutils(), ED_operatortypes_gpencil_legacy(), ED_operatortypes_grease_pencil(), ED_operatortypes_io(), ED_operatortypes_lattice(), ED_operatortypes_marker(), ED_operatortypes_mask(), ED_operatortypes_mesh(), ED_operatortypes_metaball(), ED_operatortypes_paint(), ED_operatortypes_physics(), ED_operatortypes_render(), ED_operatortypes_scene(), ED_operatortypes_screen(), ED_operatortypes_sculpt_curves(), ED_operatortypes_sound(), ED_operatortypes_ui(), ED_operatortypes_userpref(), ED_operatortypes_uvedit(), ED_operatortypes_view2d(), ED_operatortypes_workspace(), ED_screen_user_menu_register(), ED_spacetype_action(), ED_spacetype_buttons(), ED_spacetype_clip(), ED_spacetype_console(), ED_spacetype_file(), ED_spacetype_image(), ED_spacetype_info(), ED_spacetype_ipo(), ED_spacetype_nla(), ED_spacetype_node(), ED_spacetype_outliner(), ED_spacetype_script(), blender::ed::vse::ED_spacetype_sequencer(), ED_spacetype_statusbar(), ED_spacetype_text(), ED_spacetype_topbar(), ED_spacetype_userpref(), ED_spacetype_view3d(), ED_uilisttypes_ui(), blender::ed::asset::operatortypes_asset(), blender::ed::curves::operatortypes_curves(), blender::ed::geometry::operatortypes_geometry(), blender::ed::object::operatortypes_object(), blender::ed::pointcloud::operatortypes_pointcloud(), blender::ed::sculpt_paint::operatortypes_sculpt(), blender::ed::spreadsheet::register_spacetype(), and U.
Referenced by WM_init().
| void ED_spacetypes_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 183 of file spacetypes.cc.
References BKE_spacetypes_list(), ED_keymap_anim(), ED_keymap_animchannels(), ED_keymap_armature(), ED_keymap_curve(), ED_keymap_gpencil_legacy(), ED_keymap_grease_pencil(), ED_keymap_lattice(), ED_keymap_marker(), ED_keymap_mask(), ED_keymap_mesh(), ED_keymap_metaball(), ED_keymap_paint(), ED_keymap_physics(), ED_keymap_screen(), ED_keymap_ui(), ED_keymap_uvedit(), ED_keymap_view2d(), blender::ed::curves::keymap_curves(), blender::ed::object::keymap_object(), blender::ed::pointcloud::keymap_pointcloud(), blender::ed::sculpt_paint::keymap_sculpt(), blender::ed::transform::keymap_transform(), and LISTBASE_FOREACH.
Referenced by WM_keyconfig_init().