|
Blender V5.0
|
#include <cstdio>#include <cstring>#include "DNA_collection_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_math_base.h"#include "BLI_string_utf8.h"#include "BLI_utildefines.h"#include "BKE_context.hh"#include "BKE_lib_query.hh"#include "BKE_lib_remap.hh"#include "BKE_screen.hh"#include "ED_anim_api.hh"#include "ED_markers.hh"#include "ED_screen.hh"#include "ED_space_api.hh"#include "ED_time_scrub_ui.hh"#include "WM_api.hh"#include "WM_message.hh"#include "WM_types.hh"#include "RNA_access.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "BLO_read_write.hh"#include "nla_intern.hh"Go to the source code of this file.
| void ED_spacetype_nla | ( | ) |
Definition at line 656 of file space_nla.cc.
References BKE_spacetype_register(), BLI_addhead(), ARegionType::draw, ARegionType::draw_overlay, ED_area_type_hud(), ED_KEYMAP_ANIMATION, ED_KEYMAP_FOOTER, ED_KEYMAP_FRAMES, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, MEM_callocN(), ARegionType::message_subscribe, nla_buttons_region_draw(), nla_buttons_region_init(), nla_buttons_register(), nla_create(), nla_duplicate(), nla_footer_region_listener(), nla_foreach_id(), nla_free(), nla_header_region_draw(), nla_header_region_init(), nla_id_remap(), nla_init(), nla_keymap(), nla_listener(), nla_main_region_draw(), nla_main_region_draw_overlay(), nla_main_region_init(), nla_main_region_listener(), nla_main_region_message_subscribe(), nla_operatortypes(), nla_region_listener(), nla_space_blend_read_data(), nla_space_blend_write(), nla_track_region_draw(), nla_track_region_init(), nla_track_region_listener(), nla_track_region_message_subscribe(), ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, RGN_TYPE_CHANNELS, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, SPACE_NLA, STRNCPY_UTF8, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
Definition at line 372 of file space_nla.cc.
References C, and ED_region_panels().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 362 of file space_nla.cc.
References ED_region_panels_init(), RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_NLA, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
Definition at line 50 of file space_nla.cc.
References SpaceNla::ads, View2D::align, ARegion::alignment, BKE_area_region_new(), BLI_addtail(), View2D::cur, RenderData::efra, ARegion::flag, SpaceNla::flag, View2D::flag, float, View2D::keepofs, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN(), View2D::min, View2D::minzoom, Scene::r, SpaceNla::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_FLAG_HIDDEN, RGN_TYPE_CHANNELS, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, View2D::scroll, RenderData::sfra, SNLA_SHOW_MARKERS, bDopeSheet::source, SPACE_NLA, SpaceNla::spacetype, View2D::tot, U, USER_HEADER_BOTTOM, ARegion::v2d, V2D_ALIGN_NO_POS_Y, V2D_KEEPOFS_Y, V2D_LOCKZOOM_Y, V2D_SCROLL_BOTTOM, V2D_SCROLL_HORIZONTAL_HANDLES, V2D_SCROLL_RIGHT, V2D_VIEWSYNC_AREA_VERTICAL, ScrArea::winy, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_spacetype_nla().
Definition at line 154 of file space_nla.cc.
References SpaceNla::ads, and MEM_dupallocN().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 339 of file space_nla.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_SCENE, NC_SCREEN, ND_ANIMPLAY, ND_FRAME, and params.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 627 of file space_nla.cc.
References SpaceNla::ads, BKE_LIB_FOREACHID_PROCESS_ID, BKE_LIB_FOREACHID_PROCESS_IDSUPER, data, bDopeSheet::filter_grp, IDWALK_CB_DIRECT_WEAK_LINK, and bDopeSheet::source.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 129 of file space_nla.cc.
References SpaceNla::ads, BLI_freelistN(), bDopeSheet::chanbase, and MEM_freeN().
Referenced by ED_spacetype_nla().
Definition at line 334 of file space_nla.cc.
References C, and ED_region_header().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 329 of file space_nla.cc.
References ED_region_header_init().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 613 of file space_nla.cc.
References SpaceNla::ads, blender::bke::id::IDRemapper::apply(), bDopeSheet::filter_grp, ID_REMAP_APPLY_DEFAULT, and bDopeSheet::source.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 140 of file space_nla.cc.
References SpaceNla::ads, ED_area_tag_refresh(), ListBase::first, MEM_callocN(), bDopeSheet::source, ScrArea::spacedata, WM_window_find_by_area(), and WM_window_get_active_scene().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 573 of file space_nla.cc.
References wmNotifier::category, wmNotifier::data, ED_area_tag_redraw(), ED_area_tag_refresh(), NC_ANIMATION, NC_OBJECT, NC_SCENE, NC_SPACE, ND_OB_ACTIVE, ND_OB_SELECT, ND_SPACE_NLA, ND_TRANSFORM, and params.
Referenced by ED_spacetype_nla().
Definition at line 252 of file space_nla.cc.
References ANIM_animdata_get_context(), ANIM_draw_framerange(), ANIM_draw_previewrange(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_space_nla(), DRAW_MARKERS_MARGIN, draw_nla_main_data(), ED_markers_draw(), ED_markers_region_visible(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), SpaceNla::flag, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, round_db_to_int(), SNLA_DRAWTIME, TH_BACK, UI_ANIM_MINY, UI_ThemeClearColor(), UI_view2d_draw_lines_x__discrete_frames_or_seconds(), UI_view2d_text_cache_draw(), UI_view2d_view_ortho(), UI_view2d_view_orthoSpecial(), UI_view2d_view_restore(), ARegion::v2d, and ARegion::winy.
Referenced by ED_spacetype_nla().
Definition at line 311 of file space_nla.cc.
References C, CTX_data_scene(), CTX_wm_space_nla(), ED_time_scrub_draw_current_frame(), SpaceNla::flag, SNLA_DRAWTIME, UI_ANIM_MINY, UI_view2d_scrollers_draw(), ARegion::v2d, and ARegion::winy.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 239 of file space_nla.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_NLA, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 416 of file space_nla.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), ELEM, NA_EDITED, NA_RENAME, NC_ANIMATION, NC_ID, NC_NODE, NC_OBJECT, NC_SCENE, NC_SCREEN, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_FRAME, ND_FRAME_RANGE, ND_KEYS, ND_LAYER, ND_LAYER_CONTENT, ND_MARKERS, ND_OB_ACTIVE, ND_OB_SELECT, ND_RENDER_OPTIONS, ND_TRANSFORM, and params.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 474 of file space_nla.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), RenderData::flag, i, Scene::id, wmMsgSubscribeValue::notify, wmMsgSubscribeValue::owner, params, Scene::r, RNA_id_pointer_create(), SCER_PRV_RANGE, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 377 of file space_nla.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_ANIMATION, NC_OBJECT, NC_SCENE, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_DRAW, ND_FRAME, ND_KEYS, ND_LAYER_CONTENT, ND_MARKERS, ND_OB_ACTIVE, ND_OB_SELECT, and params.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 640 of file space_nla.cc.
References SpaceNla::ads, and BLO_read_struct.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 646 of file space_nla.cc.
References SpaceNla::ads, and BLO_write_struct.
Referenced by ED_spacetype_nla().
Definition at line 189 of file space_nla.cc.
References bAnimContext::ads, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, BLI_listbase_is_empty(), C, bAnimContext::data, bAnimContext::datatype, draw_nla_track_list(), ED_context_get_markers(), ED_time_scrub_channel_search_draw(), filter, HEADERY, NLATRACK_STEP, NLATRACK_TOT_HEIGHT, bAnimContext::sl, TH_BACK, View2D::tot, UI_ANIM_MINY, UI_MARKER_MARGIN_Y, UI_ThemeClearColor(), UI_view2d_curRect_clamp_y(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), ARegion::v2d, ARegion::winy, and rctf::ymin.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 165 of file space_nla.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, View2D::scroll, SPACE_EMPTY, SPACE_NLA, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler_poll(), WM_event_add_keymap_handler_v2d_mask(), WM_event_handler_region_v2d_mask_no_marker_poll(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 503 of file space_nla.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NA_RENAME, NC_ANIMATION, NC_ID, NC_OBJECT, NC_SCENE, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_DRAW, ND_FRAME, ND_KEYS, ND_LAYER_CONTENT, ND_OB_ACTIVE, ND_OB_SELECT, and params.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 546 of file space_nla.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), i, wmMsgSubscribeValue::notify, wmMsgSubscribeValue::owner, params, wmMsgParams_RNA::ptr, PointerRNA::type, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_nla().