|
Blender
V2.59
|
#include "RNA_types.h"Go to the source code of this file.
Definition in file BKE_screen.h.
| #define BKE_ST_MAXNAME 64 |
Definition at line 62 of file BKE_screen.h.
Referenced by ED_spacetype_action(), ED_spacetype_buttons(), ED_spacetype_console(), ED_spacetype_file(), ED_spacetype_image(), ED_spacetype_info(), ED_spacetype_ipo(), ED_spacetype_logic(), ED_spacetype_nla(), ED_spacetype_node(), ED_spacetype_outliner(), ED_spacetype_script(), ED_spacetype_sequencer(), ED_spacetype_sound(), ED_spacetype_text(), ED_spacetype_time(), ED_spacetype_userpref(), ED_spacetype_view3d(), wm_call_menu_exec(), and WM_OT_call_menu().
| typedef struct ARegionType ARegionType |
| typedef struct HeaderType HeaderType |
Definition at line 343 of file screen.c.
References ListBase::first, ARegion::next, NULL, ScrArea::regionbase, and ARegion::regiontype.
Referenced by ed_default_handlers(), ED_undo_operator_repeat(), ED_view3d_context_rv3d(), file_smoothscroll_invoke(), graph_has_buttons_region(), header_flip_exec(), image_has_buttons_region(), image_has_scope_region(), logic_has_buttons_region(), nla_has_buttons_region(), node_has_buttons_region(), sequencer_has_buttons_region(), text_has_properties_region(), time_refresh(), UI_view2d_fromcontext_rwin(), view3d_has_buttons_region(), view3d_main_area_draw(), WM_init_game(), wm_keymap_item_find_props(), and wm_operator_call_internal().
Definition at line 161 of file screen.c.
References BKE_regiontype_from_id(), BLI_duplicatelist(), ARegionType::duplicate, ListBase::first, ARegion::handlers, ListBase::last, MEM_dupallocN(), Panel::next, ARegion::next, NULL, ARegion::panels, Panel::paneltab, ARegion::prev, ARegion::regiondata, ARegion::regiontype, ARegion::swinid, View2D::tab_offset, ARegion::uiblocks, and ARegion::v2d.
Referenced by area_copy_data(), region_copylist(), and region_quadview_exec().
Definition at line 261 of file screen.c.
References BKE_regiontype_from_id(), BLI_freelistN(), ARegionType::free, MEM_freeN(), NULL, ARegion::panels, ARegion::regiondata, ARegion::regiontype, View2D::tab_offset, ARegion::type, and ARegion::v2d.
Referenced by area_copy_data(), BKE_screen_area_free(), BKE_spacedata_freelist(), do_versions(), free_screen(), region_quadview_exec(), and ui_remove_temporary_region().
| struct ARegionType* BKE_regiontype_from_id | ( | struct SpaceType * | st, |
| int | regionid | ||
| ) | [read] |
Definition at line 105 of file screen.c.
References ListBase::first, SpaceType::name, ARegionType::next, ARegionType::regionid, SpaceType::regiontypes, and SpaceType::spaceid.
Referenced by BKE_area_region_copy(), BKE_area_region_free(), ED_area_initialize(), and screen_refresh_headersizes().
| void BKE_screen_area_free | ( | struct ScrArea * | sa | ) |
Definition at line 285 of file screen.c.
References ScrArea::actionzones, BKE_area_region_free(), BKE_spacedata_freelist(), BKE_spacetype_from_id(), BLI_freelistN(), ListBase::first, ARegion::next, ScrArea::regionbase, ScrArea::spacedata, and ScrArea::spacetype.
Referenced by ED_area_swapspace(), free_screen(), and screen_delarea().
Definition at line 402 of file screen.c.
References bScreen::areabase, BKE_screen_view3d_sync(), ListBase::first, bScreen::id, SpaceLink::next, ID::next, ScrArea::next, bScreen::scene, SPACE_VIEW3D, ScrArea::spacedata, and SpaceLink::spacetype.
Referenced by handle_view3d_lock().
| void BKE_screen_view3d_scene_sync | ( | struct bScreen * | sc | ) |
Definition at line 387 of file screen.c.
References bScreen::areabase, BKE_screen_view3d_sync(), ListBase::first, SpaceLink::next, ScrArea::next, bScreen::scene, SPACE_VIEW3D, ScrArea::spacedata, and SpaceLink::spacetype.
Referenced by ED_update_for_newframe().
Definition at line 356 of file screen.c.
References View3D::camera, Scene::camera, ListBase::first, View3D::lay, Scene::lay, View3D::layact, View3D::localvd, ARegion::next, NULL, RegionView3D::persp, View3D::regionbase, ARegion::regiondata, ARegion::regiontype, RGN_TYPE_WINDOW, RV3D_CAMOB, RV3D_PERSP, and View3D::scenelock.
Referenced by BKE_screen_view3d_main_sync(), BKE_screen_view3d_scene_sync(), and ED_screen_set_scene().
| float BKE_screen_view3d_zoom_from_fac | ( | float | zoomfac | ) |
Definition at line 433 of file screen.c.
References M_SQRT2, and sqrtf.
Referenced by view3d_center_camera_exec(), and view3d_set_1_to_1_viewborder().
| float BKE_screen_view3d_zoom_to_fac | ( | float | camzoom | ) |
Definition at line 428 of file screen.c.
Referenced by ED_view3d_calc_camera_border(), ED_view3d_viewplane_get(), StartKetsjiShell(), and viewmove_apply().
Definition at line 322 of file screen.c.
References bScreen::areabase, ListBase::first, Scene::lay, ScrArea::next, SPACE_VIEW3D, ScrArea::spacedata, and ScrArea::spacetype.
Referenced by dag_current_scene_layers(), and ED_update_for_newframe().
Definition at line 221 of file screen.c.
References BKE_spacetype_from_id(), BLI_addtail(), SpaceType::duplicate, ListBase::first, ListBase::last, SpaceLink::next, NULL, region_copylist(), SpaceLink::regionbase, and SpaceLink::spacetype.
Referenced by area_copy_data().
| void BKE_spacedata_draw_locks | ( | int | set | ) |
Definition at line 243 of file screen.c.
References ARegionType::do_lock, ListBase::first, ARegionType::lock, SpaceType::next, ARegionType::next, and SpaceType::regiontypes.
Referenced by render_drawlock().
| void BKE_spacedata_freelist | ( | ListBase * | lb | ) |
Definition at line 140 of file screen.c.
References BKE_area_region_free(), BKE_spacetype_from_id(), BLI_freelistN(), ListBase::first, SpaceType::free, SpaceLink::next, ARegion::next, SpaceLink::regionbase, and SpaceLink::spacetype.
Referenced by area_copy_data(), BKE_screen_area_free(), and spacedata_cleanup().
| struct SpaceType* BKE_spacetype_from_id | ( | int | spaceid | ) | [read] |
Definition at line 94 of file screen.c.
References ListBase::first, SpaceType::next, NULL, and SpaceType::spaceid.
Referenced by area_copy_data(), BKE_screen_area_free(), BKE_spacedata_copylist(), BKE_spacedata_freelist(), BKE_spacetype_register(), do_versions(), ED_area_initialize(), ED_area_newspace(), and view3d_panel_tool_shelf().
| void BKE_spacetype_register | ( | struct SpaceType * | st | ) |
Definition at line 123 of file screen.c.
References BKE_spacetype_from_id(), BLI_addtail(), MEM_freeN(), SpaceType::name, SpaceType::spaceid, and spacetype_free().
Referenced by ED_spacetype_action(), ED_spacetype_buttons(), ED_spacetype_console(), ED_spacetype_file(), ED_spacetype_image(), ED_spacetype_info(), ED_spacetype_ipo(), ED_spacetype_logic(), ED_spacetype_nla(), ED_spacetype_node(), ED_spacetype_outliner(), ED_spacetype_script(), ED_spacetype_sequencer(), ED_spacetype_sound(), ED_spacetype_text(), ED_spacetype_time(), ED_spacetype_userpref(), ED_spacetype_view3d(), and ED_spacetype_xxx().
| void BKE_spacetypes_free | ( | void | ) |
Definition at line 83 of file screen.c.
References BLI_freelistN(), ListBase::first, SpaceType::next, and spacetype_free().
Referenced by free_blender().
| struct ListBase* BKE_spacetypes_list | ( | void | ) | [read] |
Definition at line 118 of file screen.c.
References spacetypes.
Referenced by ED_spacetypes_init(), ED_spacetypes_keymap(), and screen_refresh_headersizes().
| void free_screen | ( | struct bScreen * | sc | ) |
Definition at line 301 of file screen.c.
References bScreen::areabase, BKE_area_region_free(), BKE_screen_area_free(), BLI_freelistN(), bScreen::edgebase, ListBase::first, ScrArea::next, ARegion::next, NULL, bScreen::regionbase, and bScreen::vertbase.
Referenced by ED_screen_full_toggle(), free_libblock(), and screen_copy().