|
Blender
V2.93
|
#include <stdio.h>#include <string.h>#include "DNA_collection_types.h"#include "DNA_scene_types.h"#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_screen.h"#include "ED_anim_api.h"#include "ED_markers.h"#include "ED_screen.h"#include "ED_space_api.h"#include "ED_time_scrub_ui.h"#include "WM_api.h"#include "WM_message.h"#include "WM_types.h"#include "RNA_access.h"#include "UI_interface.h"#include "UI_resources.h"#include "UI_view2d.h"#include "nla_intern.h"Go to the source code of this file.
| void ED_spacetype_nla | ( | void | ) |
Definition at line 595 of file space_nla.c.
References BKE_spacetype_register(), BKE_ST_MAXNAME, BLI_addhead(), SpaceType::create, ARegionType::draw, ARegionType::draw_overlay, SpaceType::duplicate, ED_KEYMAP_ANIMATION, ED_KEYMAP_FRAMES, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, SpaceType::free, HEADERY, SpaceType::id_remap, ARegionType::init, SpaceType::init, SpaceType::keymap, ARegionType::keymapflag, ARegionType::listener, SpaceType::listener, MEM_callocN, ARegionType::message_subscribe, SpaceType::name, nla_buttons_region_draw(), nla_buttons_region_init(), nla_buttons_register(), nla_channel_region_draw(), nla_channel_region_init(), nla_channel_region_listener(), nla_channel_region_message_subscribe(), nla_create(), nla_duplicate(), 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(), SpaceType::operatortypes, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, SpaceType::regiontypes, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, SPACE_NLA, SpaceType::spaceid, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
Definition at line 320 of file space_nla.c.
References C, and ED_region_panels().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 310 of file space_nla.c.
References wmWindowManager::defaultconf, ED_region_panels_init(), ARegion::handlers, SPACE_NLA, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
Definition at line 188 of file space_nla.c.
References bAnimContext::ads, ANIM_animdata_get_context(), C, draw_nla_channel_list(), ED_time_scrub_channel_search_draw(), NULL, TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 166 of file space_nla.c.
References wmWindowManager::defaultconf, ARegion::handlers, View2D::scroll, SPACE_NLA, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 464 of file space_nla.c.
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_KEYS, ND_LAYER_CONTENT, ND_OB_ACTIVE, ND_OB_SELECT, and params.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 506 of file space_nla.c.
References blender::compositor::area(), ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), bScreen::id, wmMsgSubscribeValue::owner, params, ptr, wmMsgParams_RNA::ptr, RNA_DopeSheet, RNA_pointer_create(), RNA_SpaceNLA, PointerRNA::type, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_nla().
Definition at line 58 of file space_nla.c.
References SpaceNla::ads, View2D::align, ARegion::alignment, blender::compositor::area(), SpaceNla::autosnap, BLI_addtail(), View2D::cur, EFRA, ARegion::flag, SpaceNla::flag, View2D::flag, float(), View2D::keepofs, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN, View2D::min, View2D::minzoom, SpaceNla::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_FLAG_HIDDEN, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, SACTSNAP_FRAME, scene, View2D::scroll, SFRA, SNLA_SHOW_MARKERS, bDopeSheet::source, SPACE_NLA, SpaceNla::spacetype, View2D::tot, 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, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_spacetype_nla().
Definition at line 155 of file space_nla.c.
References SpaceNla::ads, and MEM_dupallocN.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 131 of file space_nla.c.
References SpaceNla::ads, BLI_freelistN(), bDopeSheet::chanbase, and MEM_freeN.
Referenced by ED_spacetype_nla().
Definition at line 304 of file space_nla.c.
References C, and ED_region_header().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 299 of file space_nla.c.
References ED_region_header_init().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 580 of file space_nla.c.
References SpaceNla::ads, bDopeSheet::filter_grp, and bDopeSheet::source.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 142 of file space_nla.c.
References SpaceNla::ads, blender::compositor::area(), ED_area_tag_refresh(), if(), MEM_callocN, NULL, bDopeSheet::source, wmWindowManager::winactive, and WM_window_get_active_scene().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 540 of file space_nla.c.
References blender::compositor::area(), 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 227 of file space_nla.c.
References ANIM_animdata_get_context(), ANIM_draw_framerange(), ANIM_draw_previewrange(), C, CTX_data_scene(), CTX_wm_space_nla(), DRAW_MARKERS_MARGIN, draw_nla_main_data(), DRAWCFRA_UNIT_SECONDS, ED_markers_draw(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), SpaceNla::flag, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, scene, 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(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_nla().
Definition at line 284 of file space_nla.c.
References C, CTX_data_scene(), CTX_wm_space_nla(), ED_time_scrub_draw_current_frame(), SpaceNla::flag, NULL, scene, SNLA_DRAWTIME, UI_view2d_scrollers_draw(), and ARegion::v2d.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 214 of file space_nla.c.
References wmWindowManager::defaultconf, ARegion::handlers, 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 364 of file space_nla.c.
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 422 of file space_nla.c.
References blender::compositor::area(), ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), RenderData::flag, Scene::id, bScreen::id, wmMsgSubscribeValue::owner, params, ptr, Scene::r, RNA_id_pointer_create(), RNA_pointer_create(), RNA_SpaceNLA, scene, SCER_PRV_RANGE, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_nla().
|
static |
Definition at line 325 of file space_nla.c.
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().