|
Blender
V2.93
|
#include <stdio.h>#include <string.h>#include "DNA_action_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_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 734 of file space_action.c.
References C, and ED_region_panels().
Referenced by ED_spacetype_action().
|
static |
Definition at line 724 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 271 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 254 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 312 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 62 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, EFRA, bDopeSheet::filterflag, SpaceAction::flag, ARegion::flag, View2D::flag, float(), View2D::keepofs, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, MEM_callocN, View2D::min, View2D::minzoom, SpaceAction::mode, SpaceAction::mode_prev, SpaceAction::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, SACTCONT_DOPESHEET, SACTION_SHOW_INTERPOLATION, SACTION_SHOW_MARKERS, SACTSNAP_FRAME, View2D::scroll, 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 152 of file space_action.c.
References MEM_dupallocN.
Referenced by ED_spacetype_action().
|
static |
Definition at line 140 of file space_action.c.
Referenced by ED_spacetype_action().
Definition at line 302 of file space_action.c.
References ANIM_animdata_get_context(), C, and ED_region_header().
Referenced by ED_spacetype_action().
|
static |
Definition at line 297 of file space_action.c.
References ED_region_header_init().
Referenced by ED_spacetype_action().
|
static |
Definition at line 663 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 805 of file space_action.c.
References SpaceAction::action, SpaceAction::ads, bDopeSheet::filter_grp, and bDopeSheet::source.
Referenced by ED_spacetype_action().
|
static |
Definition at line 146 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 510 of file space_action.c.
References wmNotifier::action, blender::compositor::area(), wmNotifier::category, wmNotifier::data, ED_area_tag_redraw(), ED_area_tag_refresh(), 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, wmNotifier::reference, RGN_TYPE_WINDOW, SpaceAction::runtime, SACTCONT_GPENCIL, SACTCONT_MASK, SACTCONT_TIMELINE, SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC, scene, and SFRA.
Referenced by ED_spacetype_action().
Definition at line 175 of file space_action.c.
References ANIM_animdata_get_context(), 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, DRAWCFRA_UNIT_SECONDS, ED_markers_draw(), ED_region_draw_cb_draw(), ED_time_scrub_draw(), SpaceAction::flag, bAnimContext::markers, Scene::markers, SpaceAction::mode, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, 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(), and ARegion::v2d.
Referenced by ED_spacetype_action().
Definition at line 239 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 162 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 406 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 775 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 739 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 826 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 846 of file space_action.c.
References RNA_enum_items_add(), and rna_enum_space_action_mode_items.
Referenced by ED_spacetype_action().
|
static |
Definition at line 832 of file space_action.c.
References blender::compositor::area(), SpaceAction::mode, SpaceAction::mode_prev, and SACTCONT_TIMELINE.
Referenced by ED_spacetype_action().
| void ED_spacetype_action | ( | void | ) |
Definition at line 854 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(), 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, SpaceType::operatortypes, ARegionType::prefsizex, ARegionType::prefsizey, SpaceType::refresh, ARegionType::regionid, SpaceType::regiontypes, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_UI, RGN_TYPE_WINDOW, saction_channel_region_message_subscribe(), saction_main_region_message_subscribe(), SPACE_ACTION, SpaceType::space_subtype_get, SpaceType::space_subtype_item_extend, SpaceType::space_subtype_set, SpaceType::spaceid, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
|
static |
Definition at line 362 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_ActionGroup, RNA_DopeSheet, RNA_FCurve, RNA_FCurveSample, RNA_GPencilFrame, RNA_GPencilLayer, RNA_GreasePencil, RNA_Keyframe, RNA_pointer_create(), RNA_SpaceDopeSheetEditor, PointerRNA::type, and WM_msg_subscribe_rna_params().
Referenced by ED_spacetype_action(), and saction_main_region_message_subscribe().
|
static |
Definition at line 464 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(), RNA_SpaceDopeSheetEditor, saction_channel_region_message_subscribe(), scene, SCER_PRV_RANGE, and WM_msg_subscribe_rna().
Referenced by ED_spacetype_action().