|
Blender V4.3
|
#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_blenlib.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 609 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_FRAMES, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, ARegionType::message_subscribe, nla_buttons_region_draw(), nla_buttons_region_init(), nla_buttons_register(), nla_create(), nla_duplicate(), 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_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, SPACE_NLA, STRNCPY, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
Definition at line 324 of file space_nla.cc.
References ED_region_panels().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 314 of file space_nla.cc.
References wmWindowManager::defaultconf, ED_region_panels_init(), RGN_TYPE_WINDOW, SPACE_NLA, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
Definition at line 48 of file space_nla.cc.
References SpaceNla::ads, BLI_addtail(), SpaceNla::flag, float, MAXFRAMEF, SpaceNla::regionbase, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, SNLA_SHOW_MARKERS, bDopeSheet::source, SPACE_NLA, SpaceNla::spacetype, USER_HEADER_BOTTOM, V2D_ALIGN_NO_POS_Y, V2D_KEEPOFS_Y, V2D_LOCKZOOM_Y, V2D_SCROLL_BOTTOM, V2D_SCROLL_HORIZONTAL_HANDLES, V2D_SCROLL_RIGHT, and V2D_VIEWSYNC_AREA_VERTICAL.
Referenced by ED_spacetype_nla().
Definition at line 144 of file space_nla.cc.
References SpaceNla::ads, and MEM_dupallocN.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 580 of file space_nla.cc.
References SpaceNla::ads, BKE_LIB_FOREACHID_PROCESS_ID, BKE_LIB_FOREACHID_PROCESS_IDSUPER, bDopeSheet::filter_grp, IDWALK_CB_DIRECT_WEAK_LINK, and bDopeSheet::source.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 119 of file space_nla.cc.
References SpaceNla::ads, BLI_freelistN(), bDopeSheet::chanbase, and MEM_freeN().
Referenced by ED_spacetype_nla().
Definition at line 308 of file space_nla.cc.
References ED_region_header().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 303 of file space_nla.cc.
References ED_region_header_init().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 566 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 130 of file space_nla.cc.
References SpaceNla::ads, ED_area_tag_refresh(), bDopeSheet::source, WM_window_find_by_area(), and WM_window_get_active_scene().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 526 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 237 of file space_nla.cc.
References ANIM_animdata_get_context(), ANIM_draw_framerange(), ANIM_draw_previewrange(), CTX_data_scene(), CTX_wm_space_nla(), DRAW_MARKERS_MARGIN, draw_nla_main_data(), ED_markers_draw(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), SpaceNla::flag, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, SNLA_DRAWTIME, SNLA_SHOW_MARKERS, TH_BACK, UI_ThemeClearColor(), UI_view2d_draw_lines_x__discrete_frames_or_seconds(), UI_view2d_text_cache_draw(), UI_view2d_view_ortho(), UI_view2d_view_orthoSpecial(), and UI_view2d_view_restore().
Referenced by ED_spacetype_nla().
Definition at line 288 of file space_nla.cc.
References CTX_data_scene(), CTX_wm_space_nla(), ED_time_scrub_draw_current_frame(), SpaceNla::flag, SNLA_DRAWTIME, and UI_view2d_scrollers_draw().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 224 of file space_nla.cc.
References wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_NLA, UI_view2d_region_reinit(), V2D_COMMONVIEW_CUSTOM, 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 368 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 426 of file space_nla.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), wmMsgSubscribeValue::notify, wmMsgSubscribeValue::owner, params, RNA_id_pointer_create(), SCER_PRV_RANGE, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 329 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 593 of file space_nla.cc.
References SpaceNla::ads, and BLO_read_struct.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 599 of file space_nla.cc.
References SpaceNla::ads, and BLO_write_struct.
Referenced by ED_spacetype_nla().
Definition at line 177 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(), bAnimContext::data, bAnimContext::datatype, draw_nla_track_list(), ED_context_get_markers(), ED_time_scrub_channel_search_draw(), HEADERY, NLATRACK_STEP, NLATRACK_TOT_HEIGHT, bAnimContext::sl, TH_BACK, View2D::tot, UI_MARKER_MARGIN_Y, UI_ThemeClearColor(), UI_view2d_curRect_clamp_y(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and rctf::ymin.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 155 of file space_nla.cc.
References wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_EMPTY, SPACE_NLA, UI_view2d_region_reinit(), V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 455 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 498 of file space_nla.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), wmMsgSubscribeValue::notify, wmMsgSubscribeValue::owner, params, wmMsgParams_RNA::ptr, PointerRNA::type, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_nla().