117 if (region ==
nullptr) {
159 switch (event->
type) {
198 ot->name =
"Set Cursor";
199 ot->idname =
"GRAPH_OT_cursor_set";
200 ot->description =
"Interactively set the current frame and value cursor";
225 ListBase anim_data = {
nullptr,
nullptr};
226 ListBase all_data = {
nullptr,
nullptr};
319 ot->name =
"Hide Curves";
320 ot->idname =
"GRAPH_OT_hide";
321 ot->description =
"Hide selected curves from Graph Editor view";
332 ot->srna,
"unselected",
false,
"Unselected",
"Hide unselected rather than selected curves");
340 ListBase anim_data = {
nullptr,
nullptr};
341 ListBase all_data = {
nullptr,
nullptr};
403 ot->name =
"Reveal Curves";
404 ot->idname =
"GRAPH_OT_reveal";
405 ot->description =
"Make previously hidden curves visible again in Graph Editor view";
513 "Make a copy of all selected keyframes and move them",
SpaceGraph * CTX_wm_space_graph(const bContext *C)
bScreen * CTX_wm_screen(const bContext *C)
Scene * CTX_data_scene(const bContext *C)
ARegion * CTX_wm_region(const bContext *C)
#define LISTBASE_FOREACH(type, var, list)
void void BLI_freelistN(ListBase *listbase) ATTR_NONNULL(1)
MINLINE int round_fl_to_int(float a)
void DEG_id_tag_update(ID *id, unsigned int flags)
@ SCER_LOCK_FRAME_SELECTION
#define FRAMENUMBER_MIN_CLAMP(cfra)
@ ACHANNEL_SETTING_VISIBLE
@ ACHANNEL_SETTING_SELECT
@ ANIMFILTER_DATA_VISIBLE
@ ANIMFILTER_CURVE_VISIBLE
@ ANIMFILTER_LIST_VISIBLE
@ ANIMFILTER_LIST_CHANNELS
bool ED_operator_graphedit_active(bContext *C)
void UI_view2d_region_to_view(const View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) ATTR_NONNULL()
void ANIM_channel_setting_set(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode)
short ANIM_channel_setting_get(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting)
void ANIM_flush_setting_anim_channels(bAnimContext *ac, ListBase *anim_data, bAnimListElem *ale_setting, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode)
void ANIM_animdata_freelist(ListBase *anim_data)
bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
size_t ANIM_animdata_filter(bAnimContext *ac, ListBase *anim_data, const eAnimFilter_Flags filter_mode, void *data, const eAnimCont_Types datatype)
void GRAPH_OT_delete(wmOperatorType *ot)
void GRAPH_OT_click_insert(wmOperatorType *ot)
void GRAPH_OT_fmodifier_paste(wmOperatorType *ot)
void GRAPH_OT_smooth(wmOperatorType *ot)
void GRAPH_OT_equalize_handles(wmOperatorType *ot)
void GRAPH_OT_keyframe_jump(wmOperatorType *ot)
void GRAPH_OT_snap_cursor_value(wmOperatorType *ot)
void GRAPH_OT_bake_keys(wmOperatorType *ot)
void GRAPH_OT_mirror(wmOperatorType *ot)
void GRAPH_OT_keys_to_samples(wmOperatorType *ot)
void GRAPH_OT_fmodifier_copy(wmOperatorType *ot)
void GRAPH_OT_samples_to_keys(wmOperatorType *ot)
void GRAPH_OT_handle_type(wmOperatorType *ot)
void GRAPH_OT_frame_jump(wmOperatorType *ot)
void GRAPH_OT_driver_variables_copy(wmOperatorType *ot)
void GRAPH_OT_extrapolation_type(wmOperatorType *ot)
void GRAPH_OT_sound_to_samples(wmOperatorType *ot)
void GRAPH_OT_driver_variables_paste(wmOperatorType *ot)
void GRAPH_OT_interpolation_type(wmOperatorType *ot)
void GRAPH_OT_easing_type(wmOperatorType *ot)
void GRAPH_OT_copy(wmOperatorType *ot)
void GRAPH_OT_driver_delete_invalid(wmOperatorType *ot)
void GRAPH_OT_keyframe_insert(wmOperatorType *ot)
void GRAPH_OT_duplicate(wmOperatorType *ot)
void GRAPH_OT_euler_filter(wmOperatorType *ot)
void GRAPH_OT_clean(wmOperatorType *ot)
void GRAPH_OT_snap(wmOperatorType *ot)
void GRAPH_OT_fmodifier_add(wmOperatorType *ot)
void GRAPH_OT_paste(wmOperatorType *ot)
void GRAPH_OT_butterworth_smooth(wmOperatorType *ot)
void GRAPH_OT_select_box(wmOperatorType *ot)
void GRAPH_OT_select_column(wmOperatorType *ot)
void GRAPH_OT_time_offset(wmOperatorType *ot)
void GRAPH_OT_blend_to_neighbor(wmOperatorType *ot)
void GRAPH_OT_blend_to_ease(wmOperatorType *ot)
void GRAPH_OT_select_lasso(wmOperatorType *ot)
void GRAPH_OT_ghost_curves_create(wmOperatorType *ot)
void GRAPH_OT_gaussian_smooth(wmOperatorType *ot)
void GRAPH_OT_blend_offset(wmOperatorType *ot)
void GRAPH_OT_select_circle(wmOperatorType *ot)
void GRAPH_OT_clickselect(wmOperatorType *ot)
void GRAPH_OT_select_more(wmOperatorType *ot)
void GRAPH_OT_breakdown(wmOperatorType *ot)
void GRAPH_OT_push_pull(wmOperatorType *ot)
void GRAPH_OT_select_linked(wmOperatorType *ot)
void GRAPH_OT_view_all(wmOperatorType *ot)
void GRAPH_OT_scale_average(wmOperatorType *ot)
void GRAPH_OT_view_frame(wmOperatorType *ot)
void GRAPH_OT_view_selected(wmOperatorType *ot)
void GRAPH_OT_match_slope(wmOperatorType *ot)
void GRAPH_OT_select_key_handles(wmOperatorType *ot)
void GRAPH_OT_previewrange_set(wmOperatorType *ot)
void GRAPH_OT_ghost_curves_clear(wmOperatorType *ot)
void GRAPH_OT_select_leftright(wmOperatorType *ot)
void GRAPH_OT_decimate(wmOperatorType *ot)
void GRAPH_OT_ease(wmOperatorType *ot)
void GRAPH_OT_scale_from_neighbor(wmOperatorType *ot)
void GRAPH_OT_shear(wmOperatorType *ot)
void GRAPH_OT_blend_to_default(wmOperatorType *ot)
void GRAPH_OT_select_all(wmOperatorType *ot)
void GRAPH_OT_select_less(wmOperatorType *ot)
void graphedit_operatortypes()
void ED_operatormacros_graph()
void graphedit_keymap(wmKeyConfig *keyconf)
static wmOperatorStatus graphview_curves_hide_exec(bContext *C, wmOperator *op)
static void graphview_cursor_apply(bContext *C, wmOperator *op)
static void graphview_cursor_setprops(bContext *C, wmOperator *op, const wmEvent *event)
static void GRAPH_OT_cursor_set(wmOperatorType *ot)
static void GRAPH_OT_hide(wmOperatorType *ot)
static wmOperatorStatus graphview_curves_reveal_exec(bContext *C, wmOperator *op)
static wmOperatorStatus graphview_cursor_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus graphview_cursor_modal(bContext *C, wmOperator *op, const wmEvent *event)
static void GRAPH_OT_reveal(wmOperatorType *ot)
static wmOperatorStatus graphview_cursor_exec(bContext *C, wmOperator *op)
static bool graphview_cursor_poll(bContext *C)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
float RNA_float_get(PointerRNA *ptr, const char *name)
void RNA_float_set(PointerRNA *ptr, const char *name, float value)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
wmEventHandler_Op * WM_event_add_modal_handler(bContext *C, wmOperator *op)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
wmOperatorTypeMacro * WM_operatortype_macro_define(wmOperatorType *ot, const char *idname)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
wmOperatorType * WM_operatortype_append_macro(const char *idname, const char *name, const char *description, int flag)