Blender
V3.3
|
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "GPU_state.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_armature.h"
#include "ED_asset.h"
#include "ED_clip.h"
#include "ED_curve.h"
#include "ED_curves.h"
#include "ED_curves_sculpt.h"
#include "ED_fileselect.h"
#include "ED_geometry.h"
#include "ED_gizmo_library.h"
#include "ED_gpencil.h"
#include "ED_lattice.h"
#include "ED_markers.h"
#include "ED_mask.h"
#include "ED_mball.h"
#include "ED_mesh.h"
#include "ED_node.h"
#include "ED_object.h"
#include "ED_paint.h"
#include "ED_physics.h"
#include "ED_render.h"
#include "ED_scene.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "ED_sequencer.h"
#include "ED_sound.h"
#include "ED_space_api.h"
#include "ED_transform.h"
#include "ED_userpref.h"
#include "ED_util.h"
#include "ED_uvedit.h"
#include "io_ops.h"
Go to the source code of this file.
Classes | |
struct | RegionDrawCB |
Typedefs | |
typedef struct RegionDrawCB | RegionDrawCB |
typedef struct RegionDrawCB RegionDrawCB |
void* ED_region_draw_cb_activate | ( | ARegionType * | art, |
void(*)(const struct bContext *, struct ARegion *, void *) | draw, | ||
void * | customdata, | ||
int | type | ||
) |
Definition at line 226 of file spacetypes.c.
References BLI_addtail(), RegionDrawCB::customdata, RegionDrawCB::draw, ARegionType::drawcalls, MEM_callocN, RegionDrawCB::type, and type.
Referenced by curve_draw_invoke(), datadropper_init(), datadropper_set_draw_callback_region(), depthdropper_init(), blender::ed::space_node::draw_draglink_tooltip_activate(), dyntopo_detail_size_edit_invoke(), ED_imbuf_sample_invoke(), ED_slider_create(), edbm_bevel_init(), edbm_inset_init(), gpencil_fill_invoke(), gpencil_uv_transform_init(), initFlyInfo(), initTransform(), initWalkInfo(), knifetool_init(), pyrna_callback_classmethod_add(), ringsel_init(), blender::ed::space_node::sample_invoke(), stitch_init_all(), view3d_interactive_add_begin(), voxel_size_edit_invoke(), wm_xr_raycast_init(), and wm_xr_session_controller_data_populate().
|
static |
Definition at line 253 of file spacetypes.c.
References C, ARegionType::drawcalls, GPU_bgl_end(), LISTBASE_FOREACH_MUTABLE, and type.
Referenced by ED_region_draw_cb_draw(), and ED_region_surface_draw_cb_draw().
Definition at line 265 of file spacetypes.c.
References C, ed_region_draw_cb_draw(), type, and ARegion::type.
bool ED_region_draw_cb_exit | ( | ARegionType * | art, |
void * | handle | ||
) |
Definition at line 241 of file spacetypes.c.
References BLI_remlink(), ARegionType::drawcalls, LISTBASE_FOREACH, and MEM_freeN.
Referenced by curve_draw_exit(), datadropper_exit(), datadropper_set_draw_callback_region(), depthdropper_exit(), blender::ed::space_node::draw_draglink_tooltip_deactivate(), dyntopo_detail_size_edit_cancel(), dyntopo_detail_size_edit_modal(), ED_imbuf_sample_exit(), ED_slider_destroy(), edbm_bevel_exit(), edbm_inset_exit(), flyEnd(), gpencil_fill_exit(), gpencil_uv_transform_exit(), knifetool_exit_ex(), postTrans(), pyrna_callback_classmethod_remove(), ringsel_exit(), blender::ed::space_node::sample_exit(), stitch_exit(), view3d_interactive_add_exit(), voxel_size_edit_cancel(), 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(*)(void *) | free | ||
) |
Definition at line 275 of file spacetypes.c.
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 270 of file spacetypes.c.
References ed_region_draw_cb_draw(), NULL, and type.
Referenced by DRW_draw_callbacks_post_scene().
Definition at line 147 of file spacetypes.c.
References BKE_spacetypes_list(), ED_dropboxes_ui(), ED_operatormacros_action(), ED_operatormacros_armature(), ED_operatormacros_clip(), ED_operatormacros_curve(), ED_operatormacros_file(), ED_operatormacros_gpencil(), ED_operatormacros_graph(), ED_operatormacros_mask(), ED_operatormacros_mesh(), ED_operatormacros_metaball(), ED_operatormacros_nla(), ED_operatormacros_node(), ED_operatormacros_object(), ED_operatormacros_paint(), ED_operatormacros_sequencer(), ED_operatormacros_uvedit(), LISTBASE_FOREACH, spacetypes, and type.
Referenced by WM_init().
Definition at line 331 of file spacetypes.c.
References BKE_spacetype_register(), SPACE_VIEW3D, usdtokens::st(), xxx_create(), xxx_duplicate(), xxx_free(), xxx_init(), xxx_keymap(), and xxx_operatortypes().
Definition at line 60 of file spacetypes.c.
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_asset(), ED_operatortypes_curve(), ED_operatortypes_curves(), ED_operatortypes_edutils(), ED_operatortypes_geometry(), ED_operatortypes_gpencil(), ED_operatortypes_io(), ED_operatortypes_lattice(), ED_operatortypes_marker(), ED_operatortypes_mask(), ED_operatortypes_mesh(), ED_operatortypes_metaball(), ED_operatortypes_object(), ED_operatortypes_paint(), ED_operatortypes_physics(), ED_operatortypes_render(), ED_operatortypes_scene(), ED_operatortypes_screen(), ED_operatortypes_sculpt(), 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_spreadsheet(), ED_spacetype_statusbar(), ED_spacetype_text(), ED_spacetype_topbar(), ED_spacetype_userpref(), ED_spacetype_view3d(), ED_uilisttypes_ui(), LISTBASE_FOREACH, spacetypes, and type.
Referenced by WM_init().
void ED_spacetypes_keymap | ( | struct wmKeyConfig * | keyconf | ) |
Definition at line 178 of file spacetypes.c.
References BKE_spacetypes_list(), ED_keymap_anim(), ED_keymap_animchannels(), ED_keymap_armature(), ED_keymap_curve(), ED_keymap_gpencil(), ED_keymap_lattice(), ED_keymap_marker(), ED_keymap_mask(), ED_keymap_mesh(), ED_keymap_metaball(), ED_keymap_object(), ED_keymap_paint(), ED_keymap_physics(), ED_keymap_screen(), ED_keymap_transform(), ED_keymap_ui(), ED_keymap_uvedit(), ED_keymap_view2d(), LISTBASE_FOREACH, spacetypes, and type.
Referenced by WM_keyconfig_init().
Definition at line 299 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
|
static |
Definition at line 304 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
|
static |
Definition at line 325 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
Definition at line 320 of file spacetypes.c.
Referenced by ED_spacetype_xxx().