|
Blender V4.3
|
#include <cstdlib>#include "MEM_guardedalloc.h"#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "DNA_windowmanager_types.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_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 231 of file spacetypes.cc.
References BLI_addtail(), RegionDrawCB::customdata, RegionDrawCB::draw, ARegionType::drawcalls, 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(), 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 ed_region_draw_cb_draw().
Referenced by action_main_region_draw(), clip_main_region_draw(), blender::ed::space_node::draw_nodespace_back_pix(), draw_timeline_post_view_callbacks(), draw_timeline_pre_view_callbacks(), DRW_draw_callbacks_post_scene(), DRW_draw_callbacks_pre_scene(), DRW_draw_render_loop_2d_ex(), ED_mask_draw_region(), ED_region_do_draw(), graph_main_region_draw(), nla_main_region_draw(), blender::ed::space_node::node_draw_space(), and sequencer_draw_preview().
|
static |
Definition at line 258 of file spacetypes.cc.
References ARegionType::drawcalls, GPU_bgl_end(), 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 246 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(), 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_draw_callbacks_post_scene().
| void ED_spacemacros_init | ( | ) |
Definition at line 149 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(), ED_operatormacros_sequencer(), and ED_operatormacros_uvedit().
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_geometry(), 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(), ED_spacetype_sequencer(), ED_spacetype_statusbar(), ED_spacetype_text(), ED_spacetype_topbar(), ED_spacetype_userpref(), ED_spacetype_view3d(), and ED_uilisttypes_ui().
Referenced by WM_init().
| void ED_spacetypes_keymap | ( | wmKeyConfig * | keyconf | ) |
wm.cc. Definition at line 181 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_transform(), ED_keymap_ui(), ED_keymap_uvedit(), ED_keymap_view2d(), and LISTBASE_FOREACH.
Referenced by WM_keyconfig_init().