Blender  V3.3
Enumerations | Functions
action_intern.h File Reference

Go to the source code of this file.

Enumerations

enum  eActKeys_LeftRightSelect_Mode { ACTKEYS_LRSEL_TEST = 0 , ACTKEYS_LRSEL_LEFT , ACTKEYS_LRSEL_RIGHT }
 
enum  eActKeys_ColumnSelect_Mode { ACTKEYS_COLUMNSEL_KEYS = 0 , ACTKEYS_COLUMNSEL_CFRA , ACTKEYS_COLUMNSEL_MARKERS_COLUMN , ACTKEYS_COLUMNSEL_MARKERS_BETWEEN }
 
enum  eActKeys_Snap_Mode { ACTKEYS_SNAP_CFRA = 1 , ACTKEYS_SNAP_NEAREST_FRAME , ACTKEYS_SNAP_NEAREST_SECOND , ACTKEYS_SNAP_NEAREST_MARKER }
 
enum  eActKeys_Mirror_Mode { ACTKEYS_MIRROR_CFRA = 1 , ACTKEYS_MIRROR_YAXIS , ACTKEYS_MIRROR_XAXIS , ACTKEYS_MIRROR_MARKER }
 

Functions

void action_buttons_register (struct ARegionType *art)
 
void draw_channel_names (struct bContext *C, struct bAnimContext *ac, struct ARegion *region)
 
void draw_channel_strips (struct bAnimContext *ac, struct SpaceAction *saction, struct ARegion *region)
 
void timeline_draw_cache (struct SpaceAction *saction, struct Object *ob, struct Scene *scene)
 
void ACTION_OT_select_all (struct wmOperatorType *ot)
 
void ACTION_OT_select_box (struct wmOperatorType *ot)
 
void ACTION_OT_select_lasso (struct wmOperatorType *ot)
 
void ACTION_OT_select_circle (struct wmOperatorType *ot)
 
void ACTION_OT_select_column (struct wmOperatorType *ot)
 
void ACTION_OT_select_linked (struct wmOperatorType *ot)
 
void ACTION_OT_select_more (struct wmOperatorType *ot)
 
void ACTION_OT_select_less (struct wmOperatorType *ot)
 
void ACTION_OT_select_leftright (struct wmOperatorType *ot)
 
void ACTION_OT_clickselect (struct wmOperatorType *ot)
 
void ACTION_OT_previewrange_set (struct wmOperatorType *ot)
 
void ACTION_OT_view_all (struct wmOperatorType *ot)
 
void ACTION_OT_view_selected (struct wmOperatorType *ot)
 
void ACTION_OT_view_frame (struct wmOperatorType *ot)
 
void ACTION_OT_copy (struct wmOperatorType *ot)
 
void ACTION_OT_paste (struct wmOperatorType *ot)
 
void ACTION_OT_keyframe_insert (struct wmOperatorType *ot)
 
void ACTION_OT_duplicate (struct wmOperatorType *ot)
 
void ACTION_OT_delete (struct wmOperatorType *ot)
 
void ACTION_OT_clean (struct wmOperatorType *ot)
 
void ACTION_OT_sample (struct wmOperatorType *ot)
 
void ACTION_OT_keyframe_type (struct wmOperatorType *ot)
 
void ACTION_OT_handle_type (struct wmOperatorType *ot)
 
void ACTION_OT_interpolation_type (struct wmOperatorType *ot)
 
void ACTION_OT_extrapolation_type (struct wmOperatorType *ot)
 
void ACTION_OT_easing_type (struct wmOperatorType *ot)
 
void ACTION_OT_frame_jump (struct wmOperatorType *ot)
 
void ACTION_OT_snap (struct wmOperatorType *ot)
 
void ACTION_OT_mirror (struct wmOperatorType *ot)
 
void ACTION_OT_new (struct wmOperatorType *ot)
 
void ACTION_OT_unlink (struct wmOperatorType *ot)
 
void ACTION_OT_push_down (struct wmOperatorType *ot)
 
void ACTION_OT_stash (struct wmOperatorType *ot)
 
void ACTION_OT_stash_and_create (struct wmOperatorType *ot)
 
void ACTION_OT_layer_next (struct wmOperatorType *ot)
 
void ACTION_OT_layer_prev (struct wmOperatorType *ot)
 
void ACTION_OT_markers_make_local (struct wmOperatorType *ot)
 
void action_operatortypes (void)
 
void action_keymap (struct wmKeyConfig *keyconf)
 

Enumeration Type Documentation

◆ eActKeys_ColumnSelect_Mode

Enumerator
ACTKEYS_COLUMNSEL_KEYS 
ACTKEYS_COLUMNSEL_CFRA 
ACTKEYS_COLUMNSEL_MARKERS_COLUMN 
ACTKEYS_COLUMNSEL_MARKERS_BETWEEN 

Definition at line 64 of file action_intern.h.

◆ eActKeys_LeftRightSelect_Mode

Enumerator
ACTKEYS_LRSEL_TEST 
ACTKEYS_LRSEL_LEFT 
ACTKEYS_LRSEL_RIGHT 

Definition at line 57 of file action_intern.h.

◆ eActKeys_Mirror_Mode

Enumerator
ACTKEYS_MIRROR_CFRA 
ACTKEYS_MIRROR_YAXIS 
ACTKEYS_MIRROR_XAXIS 
ACTKEYS_MIRROR_MARKER 

Definition at line 124 of file action_intern.h.

◆ eActKeys_Snap_Mode

Enumerator
ACTKEYS_SNAP_CFRA 
ACTKEYS_SNAP_NEAREST_FRAME 
ACTKEYS_SNAP_NEAREST_SECOND 
ACTKEYS_SNAP_NEAREST_MARKER 

Definition at line 114 of file action_intern.h.

Function Documentation

◆ action_buttons_register()

void action_buttons_register ( struct ARegionType art)

◆ action_keymap()

void action_keymap ( struct wmKeyConfig keyconf)

Definition at line 94 of file action_ops.c.

References SPACE_ACTION, and WM_keymap_ensure().

Referenced by ED_spacetype_action().

◆ action_operatortypes()

void action_operatortypes ( void  )

◆ ACTION_OT_clean()

void ACTION_OT_clean ( struct wmOperatorType ot)

◆ ACTION_OT_clickselect()

void ACTION_OT_clickselect ( struct wmOperatorType ot)

◆ ACTION_OT_copy()

void ACTION_OT_copy ( struct wmOperatorType ot)

◆ ACTION_OT_delete()

void ACTION_OT_delete ( struct wmOperatorType ot)

◆ ACTION_OT_duplicate()

void ACTION_OT_duplicate ( struct wmOperatorType ot)

◆ ACTION_OT_easing_type()

void ACTION_OT_easing_type ( struct wmOperatorType ot)

◆ ACTION_OT_extrapolation_type()

void ACTION_OT_extrapolation_type ( struct wmOperatorType ot)

◆ ACTION_OT_frame_jump()

void ACTION_OT_frame_jump ( struct wmOperatorType ot)

◆ ACTION_OT_handle_type()

void ACTION_OT_handle_type ( struct wmOperatorType ot)

◆ ACTION_OT_interpolation_type()

void ACTION_OT_interpolation_type ( struct wmOperatorType ot)

◆ ACTION_OT_keyframe_insert()

void ACTION_OT_keyframe_insert ( struct wmOperatorType ot)

◆ ACTION_OT_keyframe_type()

void ACTION_OT_keyframe_type ( struct wmOperatorType ot)

◆ ACTION_OT_layer_next()

void ACTION_OT_layer_next ( struct wmOperatorType ot)

◆ ACTION_OT_layer_prev()

void ACTION_OT_layer_prev ( struct wmOperatorType ot)

◆ ACTION_OT_markers_make_local()

void ACTION_OT_markers_make_local ( struct wmOperatorType ot)

◆ ACTION_OT_mirror()

void ACTION_OT_mirror ( struct wmOperatorType ot)

◆ ACTION_OT_new()

void ACTION_OT_new ( struct wmOperatorType ot)

◆ ACTION_OT_paste()

void ACTION_OT_paste ( struct wmOperatorType ot)

◆ ACTION_OT_previewrange_set()

void ACTION_OT_previewrange_set ( struct wmOperatorType ot)

◆ ACTION_OT_push_down()

void ACTION_OT_push_down ( struct wmOperatorType ot)

◆ ACTION_OT_sample()

void ACTION_OT_sample ( struct wmOperatorType ot)

◆ ACTION_OT_select_all()

void ACTION_OT_select_all ( struct wmOperatorType ot)

◆ ACTION_OT_select_box()

void ACTION_OT_select_box ( struct wmOperatorType ot)

◆ ACTION_OT_select_circle()

void ACTION_OT_select_circle ( struct wmOperatorType ot)

◆ ACTION_OT_select_column()

void ACTION_OT_select_column ( struct wmOperatorType ot)

◆ ACTION_OT_select_lasso()

void ACTION_OT_select_lasso ( struct wmOperatorType ot)

◆ ACTION_OT_select_leftright()

void ACTION_OT_select_leftright ( struct wmOperatorType ot)

◆ ACTION_OT_select_less()

void ACTION_OT_select_less ( struct wmOperatorType ot)

◆ ACTION_OT_select_linked()

void ACTION_OT_select_linked ( struct wmOperatorType ot)

◆ ACTION_OT_select_more()

void ACTION_OT_select_more ( struct wmOperatorType ot)

◆ ACTION_OT_snap()

void ACTION_OT_snap ( struct wmOperatorType ot)

◆ ACTION_OT_stash()

void ACTION_OT_stash ( struct wmOperatorType ot)

◆ ACTION_OT_stash_and_create()

void ACTION_OT_stash_and_create ( struct wmOperatorType ot)

◆ ACTION_OT_unlink()

void ACTION_OT_unlink ( struct wmOperatorType ot)

◆ ACTION_OT_view_all()

void ACTION_OT_view_all ( struct wmOperatorType ot)

◆ ACTION_OT_view_frame()

void ACTION_OT_view_frame ( struct wmOperatorType ot)

◆ ACTION_OT_view_selected()

void ACTION_OT_view_selected ( struct wmOperatorType ot)

◆ draw_channel_names()

void draw_channel_names ( struct bContext C,
struct bAnimContext ac,
struct ARegion region 
)

◆ draw_channel_strips()

void draw_channel_strips ( struct bAnimContext ac,
struct SpaceAction saction,
struct ARegion region 
)

Draw keyframes in each channel.

Definition at line 165 of file action_draw.c.

References ACHANNEL_FIRST_TOP, ACHANNEL_HEIGHT, ACHANNEL_SETTING_SELECT, ACHANNEL_STEP, ACHANNEL_TOT_HEIGHT, ThemeWireColor::active, SpaceAction::ads, ALE_ACT, ALE_ALL, ALE_FCURVE, ALE_GPFRAME, ALE_GROUP, ALE_MASKLAY, ALE_NONE, ALE_OB, ALE_SCE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_get_typeinfo(), ANIM_channel_setting_get(), ANIM_nla_mapping_get(), ANIMCONT_ACTION, ANIMCONT_DOPESHEET, ANIMCONT_GPENCIL, ANIMCONT_MASK, ANIMCONT_SHAPEKEY, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_DSSKEY, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACTD, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_OBJECT, ANIMTYPE_SCENE, ANIMTYPE_SUMMARY, bGPDlayer::color, color, bActionGroup::cs, View2D::cur, bActionGroup::customCol, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, bAnimListElem::datatype, draw_action_channel(), draw_agroup_channel(), draw_channel_action_ranges(), draw_fcurve_channel(), draw_gpl_channel(), draw_masklay_channel(), draw_object_channel(), draw_scene_channel(), draw_summary_channel(), ED_keylist_draw_list_create(), ED_keylist_draw_list_flush(), ED_keylist_draw_list_free(), RenderData::efra, ELEM, EXTRA_SCROLL_PAD, filter(), ListBase::first, SpaceAction::flag, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINES, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), FCurve::grp, bAnimChannelType::has_setting, height, immBegin(), immBindBuiltinProgram(), immEnd(), immRectf(), immUnbindProgram(), immUniformColor3f(), immUniformColor3ubvAlpha(), immUniformColor4ubv(), immUniformThemeColor(), immVertex2f(), immVertexFormat(), IN_RANGE, bAnimListElem::key_data, MIN2, SpaceAction::mode, bAnimListElem::next, NULL, pos, Scene::r, rgb_float_to_uchar(), SACTCONT_TIMELINE, SACTION_MOVING, SACTION_SHOW_EXTREMES, SACTION_SHOW_INTERPOLATION, bAnimContext::scene, ThemeWireColor::select, RenderData::sfra, ThemeWireColor::solid, TH_ANIM_ACTIVE, TH_DOPESHEET_CHANNELOB, TH_DOPESHEET_CHANNELSUBOB, TH_GROUP, TH_GROUP_ACTIVE, TH_HILITE, TH_SHADE2, SpaceAction::timeslide, View2D::tot, bAnimListElem::type, UI_GetThemeColor4ubv(), USER_ANIM_SHOW_CHANNEL_GROUP_COLORS, ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, rctf::ymin, and bAnimContext::yscale_fac.

Referenced by action_main_region_draw().

◆ timeline_draw_cache()

void timeline_draw_cache ( struct SpaceAction saction,
struct Object ob,
struct Scene scene 
)