|
Blender V4.3
|
#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_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 "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 756 of file space_action.cc.
References ED_region_panels().
Referenced by ED_spacetype_action().
|
static |
Definition at line 746 of file space_action.cc.
References wmWindowManager::defaultconf, ED_region_panels_init(), RGN_TYPE_WINDOW, SPACE_ACTION, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
Definition at line 297 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(), bAnimContext::data, bAnimContext::datatype, draw_channel_names(), ED_time_scrub_channel_search_draw(), bAnimContext::markers, set_v2d_height(), TH_BACK, UI_ThemeClearColor(), UI_view2d_view_ortho(), and UI_view2d_view_restore().
Referenced by ED_spacetype_action().
|
static |
Definition at line 280 of file space_action.cc.
References wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_ACTION, SPACE_EMPTY, UI_view2d_region_reinit(), V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, 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 351 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 55 of file space_action.cc.
References SpaceAction::ads, ADS_FILTER_SUMMARY, BLI_addtail(), SpaceAction::cache_display, bDopeSheet::filterflag, SpaceAction::flag, float, FLT_MAX, MAXFRAMEF, SpaceAction::mode, SpaceAction::mode_prev, SpaceAction::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, SACTCONT_DOPESHEET, SACTION_SHOW_INTERPOLATION, SACTION_SHOW_MARKERS, 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, 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_action().
Definition at line 141 of file space_action.cc.
References MEM_dupallocN, and SpaceAction::runtime.
Referenced by ED_spacetype_action().
|
static |
Definition at line 836 of file space_action.cc.
References SpaceAction::action, SpaceAction::ads, BKE_LIB_FOREACHID_PROCESS_ID, BKE_LIB_FOREACHID_PROCESS_IDSUPER, BKE_lib_query_foreachid_process_flags_get(), 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 129 of file space_action.cc.
Referenced by ED_spacetype_action().
Definition at line 341 of file space_action.cc.
References ANIM_animdata_get_context(), and ED_region_header().
Referenced by ED_spacetype_action().
|
static |
Definition at line 336 of file space_action.cc.
References ED_region_header_init().
Referenced by ED_spacetype_action().
|
static |
Definition at line 685 of file space_action.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), SpaceAction::mode, NA_RENAME, NC_ANIMATION, NC_ID, NC_SCENE, NC_SCREEN, ND_ANIMCHAN, ND_ANIMPLAY, ND_FRAME, ND_FRAME_RANGE, ND_KEYFRAME, ND_KEYINGSET, ND_OB_ACTIVE, ND_OB_SELECT, ND_RENDER_OPTIONS, ND_RENDER_RESULT, params, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
|
static |
Definition at line 825 of file space_action.cc.
References SpaceAction::action, 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 135 of file space_action.cc.
References SpaceAction_Runtime::flag, SpaceAction::runtime, and SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC.
Referenced by ED_spacetype_action().
|
static |
Definition at line 531 of file space_action.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_area_tag_redraw(), ED_area_tag_refresh(), ELEM, 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, wmNotifier::reference, RGN_TYPE_WINDOW, SpaceAction::runtime, SACTCONT_DOPESHEET, SACTCONT_GPENCIL, SACTCONT_MASK, SACTCONT_TIMELINE, and SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC.
Referenced by ED_spacetype_action().
Definition at line 176 of file space_action.cc.
References SpaceAction::action, ANIM_animdata_filter(), ANIM_animdata_get_context(), ANIM_draw_action_framerange(), ANIM_draw_framerange(), ANIM_draw_previewrange(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, BLI_listbase_is_empty(), CTX_data_scene(), CTX_wm_space_action(), bAnimContext::data, bAnimContext::datatype, draw_channel_strips(), DRAW_MARKERS_LOCAL, DRAW_MARKERS_MARGIN, ED_actedit_animdata_from_context(), ED_markers_draw(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), ELEM, SpaceAction::flag, FLT_MAX, bAnimContext::markers, Scene::markers, SpaceAction::mode, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, SACTCONT_ACTION, SACTCONT_SHAPEKEY, SACTION_DRAWTIME, SACTION_SHOW_MARKERS, bAnimContext::scene, set_v2d_height(), TH_BACK, UI_ThemeClearColor(), UI_view2d_draw_lines_x__discrete_frames_or_seconds(), UI_view2d_view_ortho(), UI_view2d_view_orthoSpecial(), UI_view2d_view_restore(), WM_gizmomap_draw(), and WM_GIZMOMAP_DRAWSTEP_2D.
Referenced by ED_spacetype_action().
Definition at line 254 of file space_action.cc.
References CTX_data_active_object(), CTX_data_scene(), CTX_wm_space_action(), ED_time_scrub_draw_current_frame(), SpaceAction::flag, GPU_matrix_pop_projection(), GPU_matrix_push_projection(), HEADERY, SpaceAction::mode, SACTCONT_TIMELINE, SACTION_DRAWTIME, timeline_draw_cache(), UI_SCALE_FAC, UI_view2d_scrollers_draw(), and UI_view2d_view_orthoSpecial().
Referenced by ED_spacetype_action().
|
static |
Definition at line 153 of file space_action.cc.
References wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_ACTION, 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_action().
|
static |
Definition at line 439 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 797 of file space_action.cc.
References ANIM_sync_animchannels_to_data(), ED_area_tag_redraw(), ED_region_tag_redraw(), SpaceAction_Runtime::flag, LISTBASE_FOREACH, SpaceAction::runtime, and SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC.
Referenced by ED_spacetype_action().
|
static |
Definition at line 761 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 903 of file space_action.cc.
References SpaceAction::runtime.
Referenced by ED_spacetype_action().
|
static |
Definition at line 909 of file space_action.cc.
References BLO_write_struct.
Referenced by ED_spacetype_action().
Definition at line 895 of file space_action.cc.
References EnumPropertyItem::icon, max_ii(), SpaceAction::mode, RNA_enum_from_value(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
|
static |
Definition at line 887 of file space_action.cc.
References max_ii(), SpaceAction::mode, EnumPropertyItem::name, RNA_enum_from_value(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
Definition at line 860 of file space_action.cc.
References SpaceAction::mode, SACTCONT_DOPESHEET, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
|
static |
Definition at line 880 of file space_action.cc.
References RNA_enum_items_add(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
Definition at line 866 of file space_action.cc.
References SpaceAction::mode, SpaceAction::mode_prev, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
| void ED_spacetype_action | ( | ) |
Definition at line 914 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_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_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_FRAMES, ED_KEYMAP_GIZMO, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, ARegionType::message_subscribe, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, saction_channel_region_message_subscribe(), saction_main_region_message_subscribe(), SPACE_ACTION, STRNCPY, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
|
static |
Definition at line 401 of file space_action.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), wmMsgSubscribeValue::owner, params, wmMsgParams_RNA::ptr, PointerRNA::type, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_action(), and saction_main_region_message_subscribe().
|
static |
Definition at line 498 of file space_action.cc.
References ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), wmMsgSubscribeValue::owner, params, RNA_id_pointer_create(), saction_channel_region_message_subscribe(), SCER_PRV_RANGE, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_action().
|
static |
Definition at line 166 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().