|
Blender V5.0
|
#include <cstdio>#include <cstring>#include "DNA_action_types.h"#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 "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "WM_api.hh"#include "WM_message.hh"#include "WM_types.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.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 "BLO_read_write.hh"#include "GPU_matrix.hh"#include "action_intern.hh"Go to the source code of this file.
Definition at line 801 of file space_action.cc.
References C, and ED_region_panels().
Referenced by ED_spacetype_action().
|
static |
Definition at line 790 of file space_action.cc.
References ED_region_panels_init(), RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_ACTION, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
Definition at line 341 of file space_action.cc.
References bAnimContext::ads, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, BLI_listbase_is_empty(), C, bAnimContext::data, bAnimContext::datatype, draw_channel_names(), ED_time_scrub_channel_search_draw(), filter, bAnimContext::markers, set_v2d_height(), TH_BACK, UI_ThemeClearColor(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_action().
|
static |
Definition at line 322 of file space_action.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, View2D::scroll, SPACE_ACTION, SPACE_EMPTY, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
|
static |
Definition at line 395 of file space_action.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), ELEM, NA_RENAME, NA_SELECTED, NC_ANIMATION, NC_GPENCIL, NC_ID, NC_OBJECT, NC_SCENE, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_FRAME, ND_KEYS, ND_MODIFIER, ND_OB_ACTIVE, and params.
Referenced by ED_spacetype_action().
Definition at line 57 of file space_action.cc.
References SpaceAction::ads, ADS_FILTER_SUMMARY, ADS_FLAG_SUMMARY_COLLAPSED, ADS_OVERLAY_SHOW_OVERLAYS, ADS_SHOW_SCENE_STRIP_FRAME_RANGE, View2D::align, ARegion::alignment, BKE_area_region_new(), BLI_addtail(), ScrArea::butspacetype_subtype, SpaceAction::cache_display, View2D::cur, RenderData::efra, bDopeSheet::filterflag, ARegion::flag, SpaceAction::flag, SpaceActionOverlays::flag, View2D::flag, float, FLT_MAX, View2D::keepofs, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN(), View2D::min, View2D::minzoom, SpaceAction::mode, SpaceAction::mode_prev, SpaceAction::overlays, Scene::r, SpaceAction::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, SACTCONT_DOPESHEET, SACTCONT_TIMELINE, SACTION_SHOW_INTERPOLATION, SACTION_SHOW_MARKERS, View2D::scroll, RenderData::sfra, SPACE_ACTION, SpaceAction::spacetype, TIME_CACHE_CLOTH, TIME_CACHE_DISPLAY, TIME_CACHE_DYNAMICPAINT, TIME_CACHE_PARTICLES, TIME_CACHE_RIGIDBODY, TIME_CACHE_SIMULATION_NODES, TIME_CACHE_SMOKE, TIME_CACHE_SOFTBODY, 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_SCROLL_VERTICAL_HIDE, V2D_VIEWSYNC_AREA_VERTICAL, ScrArea::winy, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_spacetype_action().
Definition at line 166 of file space_action.cc.
References MEM_dupallocN(), and SpaceAction::runtime.
Referenced by ED_spacetype_action().
|
static |
Definition at line 760 of file space_action.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_SCENE, NC_SCREEN, ND_ANIMPLAY, ND_FRAME, and params.
Referenced by ED_spacetype_action().
|
static |
Definition at line 880 of file space_action.cc.
References SpaceAction::ads, BKE_LIB_FOREACHID_PROCESS_ID, BKE_LIB_FOREACHID_PROCESS_IDSUPER, BKE_lib_query_foreachid_process_flags_get(), data, bDopeSheet::filter_grp, SpaceAction_Runtime::flag, IDWALK_CB_DIRECT_WEAK_LINK, IDWALK_READONLY, SpaceAction::runtime, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, and bDopeSheet::source.
Referenced by ED_spacetype_action().
|
static |
Definition at line 154 of file space_action.cc.
Referenced by ED_spacetype_action().
Definition at line 385 of file space_action.cc.
References ANIM_animdata_get_context(), C, and ED_region_header().
Referenced by ED_spacetype_action().
|
static |
Definition at line 380 of file space_action.cc.
References ED_region_header_init().
Referenced by ED_spacetype_action().
|
static |
Definition at line 721 of file space_action.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NA_RENAME, NC_ANIMATION, NC_ID, NC_SCENE, NC_SCREEN, ND_ANIMCHAN, ND_KEYFRAME, ND_OB_ACTIVE, and params.
Referenced by ED_spacetype_action().
|
static |
Definition at line 870 of file space_action.cc.
References SpaceAction::ads, blender::bke::id::IDRemapper::apply(), bDopeSheet::filter_grp, ID_REMAP_APPLY_DEFAULT, and bDopeSheet::source.
Referenced by ED_spacetype_action().
|
static |
Definition at line 160 of file space_action.cc.
References ListBase::first, SpaceAction_Runtime::flag, SpaceAction::runtime, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
|
static |
Definition at line 574 of file space_action.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_area_tag_redraw(), ED_area_tag_refresh(), RenderData::efra, ELEM, ListBase::first, SpaceAction_Runtime::flag, float, LISTBASE_FOREACH, SpaceAction::mode, NA_ADDED, NA_EDITED, NA_REMOVED, NA_SELECTED, NC_ANIMATION, NC_GPENCIL, NC_MASK, NC_NODE, NC_OBJECT, NC_SCENE, NC_SPACE, NC_WINDOW, NC_WM, ND_ANIMCHAN, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_DATA, ND_FILEREAD, ND_FRAME_RANGE, ND_KEYFRAME, ND_MODIFIER, ND_NLA_ACTCHANGE, ND_OB_ACTIVE, ND_OB_SELECT, ND_PARTICLE, ND_POINTCACHE, ND_RENDER_RESULT, ND_SEQUENCER, ND_SPACE_CHANGED, ND_SPACE_DOPESHEET, ND_SPACE_TIME, ND_TRANSFORM, params, Scene::r, wmNotifier::reference, ScrArea::regionbase, RGN_TYPE_WINDOW, SpaceAction::runtime, SACTCONT_DOPESHEET, SACTCONT_GPENCIL, SACTCONT_MASK, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, RenderData::sfra, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
Definition at line 204 of file space_action.cc.
References bAnimContext::active_action, bAnimContext::active_action_user, ANIM_animdata_filter(), ANIM_animdata_get_context(), ANIM_draw_action_framerange(), ANIM_draw_framerange(), ANIM_draw_previewrange(), ANIM_draw_scene_strip_range(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, BKE_animdata_from_id(), BLI_listbase_is_empty(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_space_action(), bAnimContext::data, bAnimContext::datatype, draw_channel_strips(), DRAW_MARKERS_LOCAL, DRAW_MARKERS_MARGIN, ED_markers_draw(), ED_markers_region_visible(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), filter, SpaceAction::flag, FLT_MAX, bAnimContext::markers, Scene::markers, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, round_db_to_int(), ARegion::runtime, SACTION_DRAWTIME, bAnimContext::scene, View2D::scroll, set_v2d_height(), TH_BACK, UI_ANIM_MINY, UI_ThemeClearColor(), UI_view2d_draw_lines_x__discrete_frames_or_seconds(), UI_view2d_view_ortho(), UI_view2d_view_orthoSpecial(), UI_view2d_view_restore(), ARegion::v2d, V2D_SCROLL_BOTTOM, ARegion::winy, WM_gizmomap_draw(), and WM_GIZMOMAP_DRAWSTEP_2D.
Referenced by ED_spacetype_action().
Definition at line 298 of file space_action.cc.
References C, CTX_data_active_object(), CTX_data_scene(), CTX_wm_space_action(), ED_time_scrub_clamp_scroller_mask(), ED_time_scrub_draw_current_frame(), SpaceAction::flag, GPU_matrix_pop_projection(), GPU_matrix_push_projection(), View2D::mask, SACTION_DRAWTIME, timeline_draw_cache(), UI_ANIM_MINY, UI_view2d_scrollers_draw(), UI_view2d_view_orthoSpecial(), ARegion::v2d, and ARegion::winy.
Referenced by ED_spacetype_action().
|
static |
Definition at line 178 of file space_action.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_ACTION, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler(), WM_event_add_keymap_handler_poll(), WM_event_handler_region_v2d_mask_no_marker_poll(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
|
static |
Definition at line 482 of file space_action.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_COLLECTION, ND_BONE_SELECT, ND_FRAME, ND_FRAME_RANGE, ND_KEYS, ND_LAYER, ND_MARKERS, ND_OB_ACTIVE, ND_RENDER_OPTIONS, ND_TRANSFORM, and params.
Referenced by ED_spacetype_action().
Definition at line 842 of file space_action.cc.
References ANIM_sync_animchannels_to_data(), C, ED_area_tag_redraw(), ED_region_tag_redraw(), ListBase::first, SpaceAction_Runtime::flag, LISTBASE_FOREACH, ScrArea::regionbase, SpaceAction::runtime, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
|
static |
Definition at line 806 of file space_action.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_ANIMATION, NC_OBJECT, NC_SCENE, ND_BONE_ACTIVE, ND_BONE_SELECT, ND_FRAME, ND_KEYS, ND_MARKERS, ND_OB_ACTIVE, and params.
Referenced by ED_spacetype_action().
|
static |
Definition at line 782 of file space_action.cc.
References BLI_assert, SpaceAction::mode, params, SACTCONT_TIMELINE, and SPACE_ACTION.
Referenced by ED_spacetype_action().
|
static |
Definition at line 945 of file space_action.cc.
References SpaceAction::runtime.
Referenced by ED_spacetype_action().
|
static |
Definition at line 951 of file space_action.cc.
References BLO_write_struct.
Referenced by ED_spacetype_action().
|
static |
Definition at line 937 of file space_action.cc.
References ListBase::first, EnumPropertyItem::icon, max_ii(), SpaceAction::mode, RNA_enum_from_value(), rna_enum_space_action_mode_items, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
|
static |
Definition at line 929 of file space_action.cc.
References ListBase::first, max_ii(), SpaceAction::mode, EnumPropertyItem::name, RNA_enum_from_value(), rna_enum_space_action_mode_items, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
|
static |
Definition at line 897 of file space_action.cc.
References ListBase::first, SpaceAction::mode, SACTCONT_DOPESHEET, SACTCONT_TIMELINE, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
|
static |
Definition at line 922 of file space_action.cc.
References RNA_enum_items_add(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
|
static |
Definition at line 903 of file space_action.cc.
References ListBase::first, SpaceAction::mode, SpaceAction::mode_prev, SACTCONT_DOPESHEET, SACTCONT_TIMELINE, and ScrArea::spacedata.
Referenced by ED_spacetype_action().
| void ED_spacetype_action | ( | ) |
Definition at line 956 of file space_action.cc.
References action_buttons_area_draw(), action_buttons_area_init(), action_buttons_register(), action_channel_region_draw(), action_channel_region_init(), action_channel_region_listener(), action_create(), action_duplicate(), action_footer_region_listener(), action_foreach_id(), action_free(), action_header_region_draw(), action_header_region_init(), action_header_region_listener(), action_id_remap(), action_init(), action_keymap(), action_listener(), action_main_region_draw(), action_main_region_draw_overlay(), action_main_region_init(), action_main_region_listener(), action_operatortypes(), action_refresh(), action_region_listener(), action_region_poll_hide_in_timeline(), action_space_blend_read_data(), action_space_blend_write(), action_space_icon_get(), action_space_name_get(), action_space_subtype_get(), action_space_subtype_item_extend(), action_space_subtype_set(), 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_GIZMO, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, MEM_callocN(), ARegionType::message_subscribe, ARegionType::poll, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, RGN_TYPE_CHANNELS, RGN_TYPE_FOOTER, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, saction_channel_region_message_subscribe(), saction_main_region_message_subscribe(), SPACE_ACTION, STRNCPY_UTF8, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
|
static |
Definition at line 445 of file space_action.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_action(), and saction_main_region_message_subscribe().
|
static |
Definition at line 541 of file space_action.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(), saction_channel_region_message_subscribe(), SCER_PRV_RANGE, wmMsgSubscribeValue::user_data, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_action().
|
static |
Definition at line 194 of file space_action.cc.
References ANIM_UI_get_channels_total_height(), HEADERY, View2D::tot, UI_MARKER_MARGIN_Y, UI_view2d_curRect_clamp_y(), and rctf::ymin.
Referenced by action_channel_region_draw(), and action_main_region_draw().