|
Blender
V2.93
|
#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_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 |
Functions | |
| void | ED_spacetypes_init (void) |
| void | ED_spacemacros_init (void) |
| void | ED_spacetypes_keymap (wmKeyConfig *keyconf) |
| void * | ED_region_draw_cb_activate (ARegionType *art, void(*draw)(const struct bContext *, struct ARegion *, void *), void *customdata, int type) |
| void | ED_region_draw_cb_exit (ARegionType *art, void *handle) |
| void | ED_region_draw_cb_draw (const bContext *C, ARegion *region, int type) |
| void | ED_region_draw_cb_remove_by_type (ARegionType *art, void *draw_fn, void(*free)(void *)) |
| void | ED_spacetype_xxx (void) |
| static SpaceLink * | xxx_create (const ScrArea *UNUSED(area), const Scene *UNUSED(scene)) |
| static void | xxx_free (SpaceLink *UNUSED(sl)) |
| static void | xxx_init (wmWindowManager *UNUSED(wm), ScrArea *UNUSED(area)) |
| static SpaceLink * | xxx_duplicate (SpaceLink *UNUSED(sl)) |
| static void | xxx_operatortypes (void) |
| static void | xxx_keymap (wmKeyConfig *UNUSED(keyconf)) |
| 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 238 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(), dyntopo_detail_size_edit_invoke(), ED_imbuf_sample_invoke(), edbm_bevel_init(), edbm_inset_init(), gpencil_fill_invoke(), gpencil_uv_transform_init(), initFlyInfo(), initTransform(), initWalkInfo(), knifetool_init(), pyrna_callback_classmethod_add(), ringsel_init(), sample_invoke(), stitch_init_all(), view3d_interactive_add_begin(), and voxel_size_edit_invoke().
Definition at line 264 of file spacetypes.c.
References C, ARegionType::drawcalls, GPU_bgl_end(), LISTBASE_FOREACH_MUTABLE, type, and ARegion::type.
| void ED_region_draw_cb_exit | ( | ARegionType * | art, |
| void * | handle | ||
| ) |
Definition at line 253 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(), dyntopo_detail_size_edit_cancel(), dyntopo_detail_size_edit_modal(), ED_imbuf_sample_exit(), edbm_bevel_exit(), edbm_inset_exit(), flyEnd(), gpencil_fill_exit(), gpencil_uv_transform_exit(), knifetool_exit_ex(), postTrans(), pyrna_callback_classmethod_remove(), ringsel_exit(), sample_exit(), stitch_exit(), view3d_interactive_add_exit(), voxel_size_edit_cancel(), voxel_size_edit_modal(), and walkEnd().
| void ED_region_draw_cb_remove_by_type | ( | ARegionType * | art, |
| void * | draw_fn, | ||
| void(*)(void *) | free | ||
| ) |
Definition at line 276 of file spacetypes.c.
References BLI_remlink(), ARegionType::drawcalls, free(), LISTBASE_FOREACH_MUTABLE, and MEM_freeN.
Referenced by BPY_callback_screen_free().
| void ED_spacemacros_init | ( | void | ) |
Definition at line 157 of file spacetypes.c.
References BKE_spacetypes_list(), 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_node(), ED_operatormacros_object(), ED_operatormacros_paint(), ED_operatormacros_sequencer(), ED_operatormacros_uvedit(), LISTBASE_FOREACH, spacetypes, and type.
Referenced by WM_init().
| void ED_spacetype_xxx | ( | void | ) |
Definition at line 332 of file spacetypes.c.
References BKE_spacetype_register(), SpaceType::create, SpaceType::duplicate, SpaceType::free, SpaceType::init, SpaceType::keymap, SpaceType::operatortypes, SPACE_VIEW3D, SpaceType::spaceid, xxx_create(), xxx_duplicate(), xxx_free(), xxx_init(), xxx_keymap(), and xxx_operatortypes().
| void ED_spacetypes_init | ( | void | ) |
Definition at line 74 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_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_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(), LISTBASE_FOREACH, spacetypes, and type.
Referenced by WM_init().
| void ED_spacetypes_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 190 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().
|
static |
Definition at line 300 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
|
static |
Definition at line 305 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
|
static |
Definition at line 326 of file spacetypes.c.
Referenced by ED_spacetype_xxx().
|
static |
Definition at line 321 of file spacetypes.c.
Referenced by ED_spacetype_xxx().