Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | wmSpaceTypeListenerParams |
struct | SpaceType |
struct | wmRegionListenerParams |
struct | wmRegionMessageSubscribeParams |
struct | ARegionType |
struct | PanelType |
struct | uiListType |
struct | HeaderType |
struct | Header |
struct | MenuType |
struct | Menu |
Macros | |
#define | BKE_ST_MAXNAME 64 |
Typedefs | |
typedef struct wmSpaceTypeListenerParams | wmSpaceTypeListenerParams |
typedef struct SpaceType | SpaceType |
typedef struct wmRegionListenerParams | wmRegionListenerParams |
typedef struct wmRegionMessageSubscribeParams | wmRegionMessageSubscribeParams |
typedef struct ARegionType | ARegionType |
typedef struct PanelType | PanelType |
typedef void(* | uiListDrawItemFunc) (struct uiList *ui_list, struct bContext *C, struct uiLayout *layout, struct PointerRNA *dataptr, struct PointerRNA *itemptr, int icon, struct PointerRNA *active_dataptr, const char *active_propname, int index, int flt_flag) |
typedef void(* | uiListDrawFilterFunc) (struct uiList *ui_list, struct bContext *C, struct uiLayout *layout) |
typedef void(* | uiListFilterItemsFunc) (struct uiList *ui_list, struct bContext *C, struct PointerRNA *, const char *propname) |
typedef void(* | uiListListener) (struct uiList *ui_list, wmRegionListenerParams *params) |
typedef struct uiListType | uiListType |
typedef struct HeaderType | HeaderType |
typedef struct Header | Header |
typedef struct MenuType | MenuType |
typedef struct Menu | Menu |
Enumerations | |
enum | { PANEL_TYPE_DEFAULT_CLOSED = (1 << 0) , PANEL_TYPE_NO_HEADER = (1 << 1) , PANEL_TYPE_HEADER_EXPAND = (1 << 2) , PANEL_TYPE_LAYOUT_VERT_BAR = (1 << 3) , PANEL_TYPE_INSTANCED = (1 << 4) , PANEL_TYPE_NO_SEARCH = (1 << 7) } |
#define BKE_ST_MAXNAME 64 |
Definition at line 53 of file BKE_screen.h.
typedef struct ARegionType ARegionType |
typedef struct HeaderType HeaderType |
typedef void(* uiListDrawFilterFunc) (struct uiList *ui_list, struct bContext *C, struct uiLayout *layout) |
Definition at line 305 of file BKE_screen.h.
typedef void(* uiListDrawItemFunc) (struct uiList *ui_list, struct bContext *C, struct uiLayout *layout, struct PointerRNA *dataptr, struct PointerRNA *itemptr, int icon, struct PointerRNA *active_dataptr, const char *active_propname, int index, int flt_flag) |
Definition at line 293 of file BKE_screen.h.
typedef void(* uiListFilterItemsFunc) (struct uiList *ui_list, struct bContext *C, struct PointerRNA *, const char *propname) |
Definition at line 310 of file BKE_screen.h.
typedef void(* uiListListener) (struct uiList *ui_list, wmRegionListenerParams *params) |
Definition at line 316 of file BKE_screen.h.
typedef struct uiListType uiListType |
typedef struct wmRegionListenerParams wmRegionListenerParams |
typedef struct wmRegionMessageSubscribeParams wmRegionMessageSubscribeParams |
typedef struct wmSpaceTypeListenerParams wmSpaceTypeListenerParams |
anonymous enum |
Definition at line 278 of file BKE_screen.h.
Definition at line 883 of file screen.c.
References blender::compositor::area(), BKE_area_find_region_type(), BLI_findlink(), NULL, ARegion::regiontype, and RGN_TYPE_WINDOW.
Referenced by ED_undo_operator_repeat(), ED_view3d_context_activate(), ED_view3d_context_rv3d(), texture_paint_image_from_view_exec(), and wm_operator_call_internal().
Find a region of type region_type in the currently active space of area.
Referenced by animchannels_select_filter_invoke(), blend_file_thumb_from_camera(), blo_do_versions_260(), buttons_start_filter_exec(), clip_refresh(), datadropper_set_draw_callback_region(), do_version_area_change_space_to_space_action(), do_versions_area_ensure_tool_region(), ED_area_type_hud_ensure(), ED_clip_has_channels_region(), ED_clip_has_preview_region(), ED_clip_has_properties_region(), ED_drivers_editor_init(), blender::ed::space_node::ed_node_link_conditions(), ED_node_link_intersect_test(), ED_screens_header_tools_menu_create(), ED_view3d_cursor_snap_data_update(), file_ensure_valid_region_state(), file_execute_region_ensure(), file_smoothscroll_invoke(), file_tool_props_region_ensure(), file_ui_region_ensure(), hud_panel_operator_redo_poll(), hud_region_add(), last_redo_poll(), menu_items_from_ui_create(), blender::ed::space_node::node_area_listener(), outliner_deactivate(), region_scale_toggle_hidden(), region_toggle_exec(), spreadsheet_main_region_draw(), text_autocomplete_modal(), text_has_properties_region(), UI_view2d_fromcontext_rwin(), userpref_show_exec(), v3d_cursor_snap_draw_fn(), v3d_cursor_snap_poll_fn(), wm_handler_fileselect_do(), wm_keymap_item_find_props(), wm_operator_call_internal(), and WM_window_cursor_keymap_status_refresh().
Definition at line 898 of file screen.c.
References blender::compositor::area(), BLI_rcti_isect_pt_v(), ELEM, LISTBASE_FOREACH, NULL, RGN_TYPE_ANY, and xy.
Referenced by annotation_draw_modal(), BKE_screen_find_main_region_at_xy(), datadropper_id_sample_pt(), depthdropper_depth_sample_pt(), eyedropper_color_sample_fl(), eyedropper_cryptomatte_sample_fl(), eyedropper_get_property_button_under_mouse(), gpencil_draw_modal(), gpencil_fill_modal(), sample_detail(), and wm_handler_op_context_get_if_valid().
Referenced by ED_area_data_copy(), property_search_all_tabs(), and region_quadview_exec().
Doesn't free the region itself.
Definition at line 626 of file screen.c.
References BKE_area_region_panels_free(), BKE_regiontype_from_id(), BLI_freelistN(), BLI_ghash_free(), ARegion_Runtime::block_name_map, ARegionType::free, ARegion::gizmo_map, IDP_FreeProperty(), LISTBASE_FOREACH, MEM_SAFE_FREE, NULL, ARegion::panels, ARegion::panels_category, ARegion::panels_category_active, region_free_gizmomap_callback, ARegion::regiondata, ARegion::regiontype, ARegion::runtime, usdtokens::st(), ARegion::type, ARegion::ui_lists, and ARegion::ui_previews.
Referenced by BKE_screen_area_free(), BKE_spacedata_freelist(), blo_do_versions_250(), blo_do_versions_270(), blo_do_versions_280(), do_version_area_change_space_to_space_action(), ED_area_data_copy(), ED_region_remove(), property_search_all_tabs(), screen_free_data(), and ui_region_temp_remove().
Definition at line 616 of file screen.c.
References area_region_panels_free_recursive(), BLI_listbase_clear(), LISTBASE_FOREACH_MUTABLE, and MEM_SAFE_FREE.
Referenced by BKE_area_region_free(), blo_update_defaults_screen(), and ED_region_property_search().
void BKE_region_callback_free_gizmomap_set | ( | void(*)(struct wmGizmoMap *) | callback | ) |
Gizmo-maps of a region need to be freed with the region. Uses callback to avoid low-level call.
Definition at line 600 of file screen.c.
References callback, and region_free_gizmomap_callback.
Referenced by WM_init().
void BKE_region_callback_refresh_tag_gizmomap_set | ( | void(*)(struct wmGizmoMap *) | callback | ) |
Definition at line 575 of file screen.c.
References callback, and region_refresh_tag_gizmomap_callback.
Referenced by WM_init().
struct ARegion* BKE_region_find_in_listbase_by_type | ( | const struct ListBase * | regionbase, |
const int | region_type | ||
) |
Find a region of type region_type in provided regionbase.
Referenced by blo_do_versions_300(), and do_versions_after_linking_300().
struct ARegionType* BKE_regiontype_from_id | ( | const struct SpaceType * | st, |
int | regionid | ||
) |
Referenced by datadropper_init(), datadropper_set_draw_callback_region(), depthdropper_init(), DRW_draw_callbacks_post_scene(), ED_area_type_hud_ensure(), ED_view3d_buttons_region_layout_ex(), pyrna_callback_classmethod_add(), pyrna_callback_classmethod_remove(), uiItemPopoverPanelFromGroup(), wm_xr_raycast_init(), and wm_xr_raycast_uninit().
struct ARegionType* BKE_regiontype_from_id_or_first | ( | const struct SpaceType * | st, |
int | regionid | ||
) |
Referenced by area_offscreen_init(), and ED_area_init().
void BKE_screen_area_blend_read_lib | ( | struct BlendLibReader * | reader, |
struct ID * | parent_id, | ||
struct ScrArea * | area | ||
) |
Definition at line 1772 of file screen.c.
References SpaceAction::action, SpaceAction::ads, SpaceGraph::ads, SpaceNla::ads, blender::compositor::area(), BLI_mempool_iternew(), BLI_mempool_iterstep(), BLI_remlink(), BLO_read_id_address, View3D::camera, SpaceClip::clip, blender::compositor::context, SpaceSpreadsheet::context_path, SpaceNode::edittree, FILE_TAG_REBUILD_MAIN_FILES, bDopeSheet::filter_grp, ListBase::first, SpaceProperties::flag, SpaceNode::from, SpaceSeq::gpd, SpaceImage::gpd, TreeStoreElem::id, SpaceNode::id, SpaceImage::image, ListBase::last, ID::lib, LISTBASE_FOREACH, View3D::localvd, MaskSpaceInfo::mask, SpaceImage::mask_info, SpaceClip::mask_info, MEM_freeN, bNodeTreePath::next, bNodeTreePath::nodetree, SpaceNode::nodetree, ntree, ntreeFromID(), NULL, View3D::ob_center, SpaceProperties::pinid, SB_PIN_CONTEXT, SpaceScript::script, SCRIPT_SET_NULL, SpaceOutliner::search_tse, SO_TREESTORE_REBUILD, bDopeSheet::source, SPACE_ACTION, SPACE_CLIP, SPACE_FILE, SPACE_GRAPH, SPACE_IMAGE, SPACE_NLA, SPACE_NODE, SPACE_OUTLINER, SPACE_PROPERTIES, SPACE_SCRIPT, SPACE_SEQ, SPACE_SPREADSHEET, SPACE_TEXT, SPACE_VIEW3D, SpaceLink::spacetype, SPREADSHEET_CONTEXT_OBJECT, usdtokens::st(), SpaceOutliner::storeflag, SpaceFile::tags, SpaceNode::treepath, and SpaceOutliner::treestore.
Referenced by screen_blend_read_lib(), and window_manager_blend_read_lib().
Doesn't free the area itself.
Definition at line 670 of file screen.c.
References blender::compositor::area(), BKE_area_region_free(), BKE_spacedata_freelist(), BKE_spacetype_from_id(), BLI_freelistN(), LISTBASE_FOREACH, MEM_SAFE_FREE, and usdtokens::st().
Referenced by BKE_screen_area_map_free(), blo_do_versions_280(), ED_area_offscreen_free(), ED_area_swapspace(), and screen_delarea().
bool BKE_screen_area_map_blend_read_data | ( | struct BlendDataReader * | reader, |
struct ScrAreaMap * | area_map | ||
) |
Definition at line 1747 of file screen.c.
References blender::compositor::area(), ScrAreaMap::areabase, BKE_screen_sort_scrvert(), BLI_remlink(), BLO_read_data_address, BLO_read_list(), direct_link_area(), ScrAreaMap::edgebase, LISTBASE_FOREACH, NULL, and ScrAreaMap::vertbase.
Referenced by BKE_screen_blend_read_data(), and window_manager_blend_read_data().
void BKE_screen_area_map_blend_write | ( | struct BlendWriter * | writer, |
struct ScrAreaMap * | area_map | ||
) |
Definition at line 1346 of file screen.c.
References blender::compositor::area(), ScrAreaMap::areabase, BLO_write_struct, BLO_write_struct_list, ScrAreaMap::edgebase, LISTBASE_FOREACH, SPACE_EMPTY, ScrAreaMap::vertbase, and write_area().
Referenced by screen_blend_write(), and window_manager_blend_write().
struct ScrArea* BKE_screen_area_map_find_area_xy | ( | const struct ScrAreaMap * | areamap, |
int | spacetype, | ||
const int | xy[2] | ||
) |
void BKE_screen_area_map_free | ( | struct ScrAreaMap * | area_map | ) |
Definition at line 686 of file screen.c.
References blender::compositor::area(), ScrAreaMap::areabase, BKE_screen_area_free(), BLI_freelistN(), ScrAreaMap::edgebase, LISTBASE_FOREACH_MUTABLE, and ScrAreaMap::vertbase.
Referenced by ED_screen_global_areas_refresh(), screen_free_data(), and wm_window_free().
bool BKE_screen_blend_read_data | ( | struct BlendDataReader * | reader, |
struct bScreen * | screen | ||
) |
Cannot use IDTypeInfo callback yet, because of the return value.
Definition at line 242 of file screen.c.
References bScreen::active_region, AREAMAP_FROM_SCREEN, BKE_previewimg_blend_read(), BKE_screen_area_map_blend_read_data(), BLO_read_data_address, bScreen::context, ListBase::first, bScreen::id, ListBase::last, ID::name, NULL, bScreen::preview, and bScreen::regionbase.
Referenced by direct_link_id().
struct ARegion struct ARegion struct ScrArea* BKE_screen_find_area_from_space | ( | struct bScreen * | screen, |
struct SpaceLink * | sl | ||
) |
struct ScrArea struct ScrArea* BKE_screen_find_area_xy | ( | struct bScreen * | screen, |
int | spacetype, | ||
const int | xy[2] | ||
) |
Referenced by actionzone_modal(), area_join_modal(), area_split_modal(), datadropper_win_area_find(), depthdropper_depth_sample_pt(), ED_area_find_under_cursor(), eyedropper_cryptomatte_sample_fl(), eyedropper_get_property_button_under_mouse(), sample_detail(), screen_area_edge_from_cursor(), screenshot_invoke(), and wm_drags_draw().
struct ARegion struct ARegion struct ScrArea struct ScrArea* BKE_screen_find_big_area | ( | struct bScreen * | screen, |
int | spacetype, | ||
short | min | ||
) |
Definition at line 937 of file screen.c.
References blender::compositor::area(), bScreen::areabase, ELEM, LISTBASE_FOREACH, NULL, size(), and SPACE_TYPE_ANY.
Referenced by bake_init_api_data(), blend_file_thumb_from_camera(), ED_view3d_context_activate(), render_view_open(), texture_paint_image_from_view_exec(), texture_paint_image_from_view_poll(), wm_file_write(), and wm_window_new_exec().
struct ScrEdge* BKE_screen_find_edge | ( | const struct bScreen * | screen, |
struct ScrVert * | v1, | ||
struct ScrVert * | v2 | ||
) |
Referenced by area_findsharededge(), and screen_geom_vertices_scale_pass().
struct ARegion struct ARegion* BKE_screen_find_main_region_at_xy | ( | struct bScreen * | screen, |
int | space_type, | ||
const int | xy[2] | ||
) |
Referenced by face_set_extract_modal().
struct ARegion* BKE_screen_find_region_xy | ( | struct bScreen * | screen, |
int | regiontype, | ||
const int | xy[2] | ||
) |
Referenced by ui_button_press_invoke().
void BKE_screen_foreach_id_screen_area | ( | struct LibraryForeachIDData * | data, |
struct ScrArea * | area | ||
) |
Callback used by lib_query to walk over all ID usages (mimics foreach_id
callback of IDTypeInfo structure).
Definition at line 85 of file screen.c.
References SpaceAction::action, SpaceAction::ads, SpaceGraph::ads, SpaceNla::ads, blender::compositor::area(), BKE_LIB_FOREACHID_PROCESS_FUNCTION_CALL, BKE_LIB_FOREACHID_PROCESS_ID, BKE_LIB_FOREACHID_PROCESS_IDSUPER, BLI_mempool_iternew(), BLI_mempool_iterstep(), View3D::camera, SpaceClip::clip, blender::compositor::context, SpaceSpreadsheet::context_path, data, SpaceNode::edittree, ListBase::first, SpaceNode::from, SpaceSeq::gpd, SpaceImage::gpd, TreeStoreElem::id, SpaceNode::id, IDWALK_CB_EMBEDDED, IDWALK_CB_NOP, IDWALK_CB_USER, IDWALK_CB_USER_ONE, SpaceImage::image, LISTBASE_FOREACH, View3D::localvd, MaskSpaceInfo::mask, SpaceImage::mask_info, SpaceClip::mask_info, SpaceNode::nodetree, ntreeFromID(), NULL, View3D::ob_center, SpaceProperties::pinid, screen_foreach_id_dopesheet(), SpaceScript::script, SpaceOutliner::search_tse, SPACE_ACTION, SPACE_CLIP, SPACE_FILE, SPACE_GRAPH, SPACE_IMAGE, SPACE_NLA, SPACE_NODE, SPACE_OUTLINER, SPACE_PROPERTIES, SPACE_SCRIPT, SPACE_SEQ, SPACE_SPREADSHEET, SPACE_TEXT, SPACE_VIEW3D, SPREADSHEET_CONTEXT_OBJECT, usdtokens::st(), SpaceNode::treepath, and SpaceOutliner::treestore.
Referenced by screen_foreach_id(), and window_manager_foreach_id().
Free (or release) any data used by this screen (does not free the screen itself).
Definition at line 697 of file screen.c.
References bScreen::id, and screen_free_data().
Referenced by screen_data_copy().
Definition at line 580 of file screen.c.
References blender::compositor::area(), bScreen::areabase, LISTBASE_FOREACH, NULL, and region_refresh_tag_gizmomap_callback.
Referenced by setup_app_data().
Definition at line 1047 of file screen.c.
References blender::compositor::area(), bScreen::areabase, bScreen::do_refresh, ELEM, LISTBASE_FOREACH, RGN_ALIGN_BOTTOM, RGN_ALIGN_TOP, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER, SPACE_FILE, SPACE_OUTLINER, SPACE_PROPERTIES, SPACE_USERPREF, and USER_HEADER_BOTTOM.
Referenced by ED_screens_init().
Referenced by ED_workspace_layout_delete(), ED_workspace_layout_duplicate(), and workspace_layout_set_poll().
Referenced by screen_is_used_by_other_window(), and workspace_layout_set_poll().
Definition at line 777 of file screen.c.
References BLI_remlink(), bScreen::edgebase, LISTBASE_FOREACH, MEM_freeN, ScrEdge::next, ScrEdge::v1, and ScrEdge::v2.
Referenced by area_join_exit(), area_move_exit(), area_split(), area_split_exit(), and blo_do_versions_280().
Definition at line 725 of file screen.c.
References blender::compositor::area(), bScreen::areabase, BKE_screen_sort_scrvert(), BLI_remlink(), bScreen::edgebase, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MEM_freeN, NULL, v1, and bScreen::vertbase.
Referenced by area_move_exit(), area_split(), area_split_exit(), and screen_area_join_aligned().
Definition at line 793 of file screen.c.
References Freestyle::a, blender::compositor::area(), bScreen::areabase, BKE_screen_find_edge(), BLI_remlink(), bScreen::edgebase, ScrEdge::flag, LISTBASE_FOREACH_INDEX, LISTBASE_FOREACH_MUTABLE, MEM_freeN, and NULL.
Referenced by area_join_exit(), area_split(), and blo_do_versions_280().
Definition at line 838 of file screen.c.
References BLI_remlink(), bScreen::edgebase, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MEM_freeN, and bScreen::vertbase.
Referenced by area_join_exit(), and blo_do_versions_280().
Definition at line 716 of file screen.c.
Referenced by BKE_screen_area_map_blend_read_data(), BKE_screen_find_edge(), BKE_screen_remove_double_scrverts(), screen_data_copy(), and screen_geom_edge_add_ex().
And as patch for 2.48 and older.
Definition at line 1441 of file screen.c.
References copy_qt_qt(), copy_v3_v3(), RegionView3D::dist, View3D::gridsubdiv, LISTBASE_FOREACH, MEM_callocN, NULL, RegionView3D::ofs, RegionView3D::persp, RGN_TYPE_WINDOW, RegionView3D::view, and RegionView3D::viewquat.
Referenced by area_add_window_regions(), and direct_link_area().
Definition at line 994 of file screen.c.
References blender::compositor::area(), bScreen::areabase, BKE_screen_view3d_sync(), LISTBASE_FOREACH, scene, SPACE_VIEW3D, and SpaceLink::spacetype.
Referenced by ed_marker_move_apply(), ED_update_for_newframe(), ED_workspace_scene_data_sync(), screen_change_update(), and setup_app_data().
void BKE_screen_view3d_shading_blend_read_data | ( | struct BlendDataReader * | reader, |
struct View3DShading * | shading | ||
) |
Definition at line 1078 of file screen.c.
References BLO_read_data_address, IDP_BlendDataRead, and View3DShading::prop.
Referenced by direct_link_area(), direct_link_wm_xr_data(), and scene_blend_read_data().
void BKE_screen_view3d_shading_blend_write | ( | struct BlendWriter * | writer, |
struct View3DShading * | shading | ||
) |
Definition at line 1071 of file screen.c.
References IDP_BlendWrite(), and View3DShading::prop.
Referenced by scene_blend_write(), write_area(), and write_wm_xr_data().
void BKE_screen_view3d_shading_init | ( | struct View3DShading * | shading | ) |
Definition at line 1007 of file screen.c.
References DNA_struct_default_get.
Referenced by blo_do_versions_280(), and object_preview_render().
Definition at line 976 of file screen.c.
References Scene::camera, View3D::camera, LISTBASE_FOREACH, View3D::localvd, NULL, RegionView3D::persp, View3D::regionbase, RGN_TYPE_WINDOW, RV3D_CAMOB, RV3D_PERSP, scene, and View3D::scenelock.
Referenced by BKE_screen_view3d_scene_sync(), screen_set_3dview_camera(), and view3d_main_region_listener().
Definition at line 1032 of file screen.c.
References M_SQRT2, and sqrtf.
Referenced by ED_view3d_camera_view_zoom_scale(), view3d_center_camera_exec(), view3d_set_1_to_1_viewborder(), and view_zoom_to_window_xy_camera().
Definition at line 1027 of file screen.c.
Referenced by BKE_camera_params_from_view3d(), ED_view3d_camera_view_pan(), ED_view3d_camera_view_zoom_scale(), ED_view3d_win_to_3d(), view_zoom_to_window_xy_camera(), and viewzoom_apply_camera().
void BKE_spacedata_callback_id_remap_set | ( | void(*)(struct ScrArea *area, struct SpaceLink *sl, struct ID *old_id, struct ID *new_id) | func | ) |
Referenced by WM_init().
lb_dst | should be empty (will be cleared). |
Definition at line 499 of file screen.c.
References BKE_spacetype_from_id(), BLI_addtail(), BLI_listbase_clear(), LISTBASE_FOREACH, region_copylist(), SpaceLink::regionbase, and usdtokens::st().
Referenced by ED_area_data_copy().
Facility to set locks for drawing to survive (render) threads accessing drawing data.
Definition at line 516 of file screen.c.
References LISTBASE_FOREACH, spacetypes, and usdtokens::st().
Referenced by dpaint_bake_endjob(), dpaint_bake_startjob(), fluid_bake_endjob(), fluid_bake_startjob(), fluid_free_endjob(), fluid_free_startjob(), render_drawlock(), and WM_set_locked_interface().
struct ARegion* BKE_spacedata_find_region_type | ( | const struct SpaceLink * | slink, |
const struct ScrArea * | area, | ||
int | region_type | ||
) |
Version of BKE_area_find_region_type that also works if slink is not the active space of area.
Referenced by blo_do_versions_280().
Definition at line 411 of file screen.c.
References BKE_area_region_free(), BKE_spacetype_from_id(), BLI_freelistN(), LISTBASE_FOREACH, and usdtokens::st().
Referenced by BKE_screen_area_free(), ED_area_data_copy(), and spacedata_cleanup_exec().
Currently unused!
Definition at line 563 of file screen.c.
References blender::compositor::area(), NULL, and spacedata_id_remap_cb.
bool BKE_spacetype_exists | ( | int | spaceid | ) |
Definition at line 404 of file screen.c.
References BKE_spacetype_from_id(), and NULL.
Referenced by direct_link_area().
struct SpaceType* BKE_spacetype_from_id | ( | int | spaceid | ) |
Definition at line 353 of file screen.c.
References LISTBASE_FOREACH, NULL, spacetypes, and usdtokens::st().
Referenced by area_offscreen_init(), BKE_screen_area_free(), BKE_spacedata_copylist(), BKE_spacedata_freelist(), BKE_spacetype_exists(), BKE_spacetype_register(), blo_do_versions_250(), blo_do_versions_280(), datadropper_init(), depthdropper_init(), do_version_area_change_space_to_space_action(), DRW_draw_callbacks_post_scene(), ED_area_data_copy(), ED_area_init(), ED_area_newspace(), ED_spacedata_id_remap(), ED_spacedata_id_remap_single(), ED_view3d_buttons_region_layout_ex(), pyrna_callback_classmethod_add(), pyrna_callback_classmethod_remove(), screen_area_spacelink_add(), uiItemPopoverPanelFromGroup(), wm_xr_raycast_init(), and wm_xr_raycast_uninit().
Definition at line 391 of file screen.c.
References BKE_spacetype_from_id(), BLI_addtail(), MEM_freeN, SpaceType::name, spacetype_free(), spacetypes, and usdtokens::st().
Referenced by 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(), and ED_spacetype_xxx().
Definition at line 344 of file screen.c.
References BLI_freelistN(), LISTBASE_FOREACH, spacetype_free(), spacetypes, and usdtokens::st().
Referenced by BKE_blender_free().
Definition at line 386 of file screen.c.
References spacetypes.
Referenced by ED_spacemacros_init(), ED_spacetypes_init(), and ED_spacetypes_keymap().