Blender
V3.3
|
#include <stdio.h>
#include <string.h>
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_collection_types.h"
#include "DNA_object_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_lib_remap.h"
#include "BKE_nla.h"
#include "BKE_screen.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.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 "action_intern.h"
Go to the source code of this file.
Definition at line 723 of file space_action.c.
References C, and ED_region_panels().
Referenced by ED_spacetype_action().
|
static |
Definition at line 713 of file space_action.c.
References wmWindowManager::defaultconf, ED_region_panels_init(), ARegion::handlers, SPACE_ACTION, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
Definition at line 266 of file space_action.c.
References bAnimContext::ads, ANIM_animdata_get_context(), C, draw_channel_names(), ED_time_scrub_channel_search_draw(), TH_BACK, UI_ThemeClearColor(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_action().
|
static |
Definition at line 249 of file space_action.c.
References wmWindowManager::defaultconf, ARegion::handlers, View2D::scroll, SPACE_ACTION, 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 307 of file space_action.c.
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 49 of file space_action.c.
References SpaceAction::ads, ADS_FILTER_SUMMARY, View2D::align, ARegion::alignment, blender::compositor::area(), SpaceAction::autosnap, BLI_addtail(), SpaceAction::cache_display, View2D::cur, RenderData::efra, bDopeSheet::filterflag, SpaceAction::flag, View2D::flag, float(), View2D::keepofs, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN, View2D::min, View2D::minzoom, SpaceAction::mode, SpaceAction::mode_prev, Scene::r, SpaceAction::regionbase, ARegion::regiontype, 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, SACTSNAP_FRAME, scene, 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_SMOKE, TIME_CACHE_SOFTBODY, 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_action().
Definition at line 138 of file space_action.c.
References MEM_dupallocN, and SpaceAction::runtime.
Referenced by ED_spacetype_action().
Definition at line 126 of file space_action.c.
Referenced by ED_spacetype_action().
Definition at line 297 of file space_action.c.
References ANIM_animdata_get_context(), C, and ED_region_header().
Referenced by ED_spacetype_action().
|
static |
Definition at line 292 of file space_action.c.
References ED_region_header_init().
Referenced by ED_spacetype_action().
|
static |
Definition at line 652 of file space_action.c.
References wmNotifier::action, blender::compositor::area(), 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 794 of file space_action.c.
References SpaceAction::action, SpaceAction::ads, BKE_id_remapper_apply(), bDopeSheet::filter_grp, ID_REMAP_APPLY_DEFAULT, and bDopeSheet::source.
Referenced by ED_spacetype_action().
|
static |
Definition at line 132 of file space_action.c.
References blender::compositor::area(), SpaceAction_Runtime::flag, SpaceAction::runtime, and SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC.
Referenced by ED_spacetype_action().
|
static |
Definition at line 499 of file space_action.c.
References wmNotifier::action, blender::compositor::area(), wmNotifier::category, wmNotifier::data, ED_area_tag_redraw(), ED_area_tag_refresh(), RenderData::efra, 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, Scene::r, wmNotifier::reference, RGN_TYPE_WINDOW, SpaceAction::runtime, SACTCONT_DOPESHEET, SACTCONT_GPENCIL, SACTCONT_MASK, SACTCONT_TIMELINE, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, scene, and RenderData::sfra.
Referenced by ED_spacetype_action().
Definition at line 163 of file space_action.c.
References SpaceAction::action, ANIM_animdata_get_context(), ANIM_draw_action_framerange(), ANIM_draw_framerange(), ANIM_draw_previewrange(), C, CTX_data_active_object(), CTX_data_scene(), CTX_wm_space_action(), 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, ARegion::gizmo_map, bAnimContext::markers, Scene::markers, SpaceAction::mode, NULL, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, SACTCONT_ACTION, SACTCONT_SHAPEKEY, SACTCONT_TIMELINE, SACTION_DRAWTIME, SACTION_SHOW_MARKERS, scene, bAnimContext::scene, TH_BACK, timeline_draw_cache(), 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, WM_gizmomap_draw(), and WM_GIZMOMAP_DRAWSTEP_2D.
Referenced by ED_spacetype_action().
Definition at line 234 of file space_action.c.
References C, CTX_data_scene(), CTX_wm_space_action(), ED_time_scrub_draw_current_frame(), SpaceAction::flag, NULL, SACTION_DRAWTIME, scene, UI_view2d_scrollers_draw(), and ARegion::v2d.
Referenced by ED_spacetype_action().
|
static |
Definition at line 150 of file space_action.c.
References wmWindowManager::defaultconf, ARegion::handlers, 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_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_action().
|
static |
Definition at line 401 of file space_action.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_MARKERS, ND_OB_ACTIVE, ND_RENDER_OPTIONS, ND_TRANSFORM, and params.
Referenced by ED_spacetype_action().
Definition at line 764 of file space_action.c.
References ANIM_sync_animchannels_to_data(), blender::compositor::area(), C, ED_area_tag_redraw(), ED_region_tag_redraw(), SpaceAction_Runtime::flag, if(), ARegion::next, SpaceAction::runtime, and SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC.
Referenced by ED_spacetype_action().
|
static |
Definition at line 728 of file space_action.c.
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 810 of file space_action.c.
References blender::compositor::area(), SpaceAction::mode, SACTCONT_DOPESHEET, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
|
static |
Definition at line 830 of file space_action.c.
References RNA_enum_items_add(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
Definition at line 816 of file space_action.c.
References blender::compositor::area(), SpaceAction::mode, SpaceAction::mode_prev, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
Definition at line 837 of file space_action.c.
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_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_subtype_get(), action_space_subtype_item_extend(), action_space_subtype_set(), BKE_spacetype_register(), BKE_ST_MAXNAME, BLI_addhead(), ARegionType::draw, ARegionType::draw_overlay, 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, MEM_callocN, 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, usdtokens::st(), and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
|
static |
Definition at line 357 of file space_action.c.
References blender::compositor::area(), ARRAY_SIZE, ED_region_do_msg_notify_tag_redraw(), bScreen::id, wmMsgSubscribeValue::owner, params, ptr, wmMsgParams_RNA::ptr, RNA_pointer_create(), PointerRNA::type, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_action(), and saction_main_region_message_subscribe().
|
static |
Definition at line 459 of file space_action.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(), saction_channel_region_message_subscribe(), scene, SCER_PRV_RANGE, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_action().