Blender  V2.93
Functions
graph_view.c File Reference
#include <math.h>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_rect.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "BKE_context.h"
#include "BKE_fcurve.h"
#include "BKE_nla.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_markers.h"
#include "ED_screen.h"
#include "WM_api.h"
#include "WM_types.h"
#include "graph_intern.h"

Go to the source code of this file.

Functions

void get_graph_keyframe_extents (bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, const bool do_sel_only, const bool include_handles)
 
static int graphkeys_previewrange_exec (bContext *C, wmOperator *UNUSED(op))
 
void GRAPH_OT_previewrange_set (wmOperatorType *ot)
 
static int graphkeys_viewall (bContext *C, const bool do_sel_only, const bool include_handles, const int smooth_viewtx)
 
static int graphkeys_viewall_exec (bContext *C, wmOperator *op)
 
static int graphkeys_view_selected_exec (bContext *C, wmOperator *op)
 
void GRAPH_OT_view_all (wmOperatorType *ot)
 
void GRAPH_OT_view_selected (wmOperatorType *ot)
 
static int graphkeys_view_frame_exec (bContext *C, wmOperator *op)
 
void GRAPH_OT_view_frame (wmOperatorType *ot)
 
static void create_ghost_curves (bAnimContext *ac, int start, int end)
 
static int graphkeys_create_ghostcurves_exec (bContext *C, wmOperator *UNUSED(op))
 
void GRAPH_OT_ghost_curves_create (wmOperatorType *ot)
 
static int graphkeys_clear_ghostcurves_exec (bContext *C, wmOperator *UNUSED(op))
 
void GRAPH_OT_ghost_curves_clear (wmOperatorType *ot)
 

Function Documentation

◆ create_ghost_curves()

static void create_ghost_curves ( bAnimContext ac,
int  start,
int  end 
)
static

Definition at line 380 of file graph_view.c.

References NULL, and bAnimContext::sl.

Referenced by graphkeys_create_ghostcurves_exec().

◆ get_graph_keyframe_extents()

void get_graph_keyframe_extents ( bAnimContext ac,
float xmin,
float xmax,
float ymin,
float ymax,
const bool  do_sel_only,
const bool  include_handles 
)

◆ GRAPH_OT_ghost_curves_clear()

void GRAPH_OT_ghost_curves_clear ( wmOperatorType ot)

◆ GRAPH_OT_ghost_curves_create()

void GRAPH_OT_ghost_curves_create ( wmOperatorType ot)

◆ GRAPH_OT_previewrange_set()

void GRAPH_OT_previewrange_set ( wmOperatorType ot)

◆ GRAPH_OT_view_all()

void GRAPH_OT_view_all ( wmOperatorType ot)

◆ GRAPH_OT_view_frame()

void GRAPH_OT_view_frame ( wmOperatorType ot)

◆ GRAPH_OT_view_selected()

void GRAPH_OT_view_selected ( wmOperatorType ot)

◆ graphkeys_clear_ghostcurves_exec()

static int graphkeys_clear_ghostcurves_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ graphkeys_create_ghostcurves_exec()

static int graphkeys_create_ghostcurves_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ graphkeys_previewrange_exec()

static int graphkeys_previewrange_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ graphkeys_view_frame_exec()

static int graphkeys_view_frame_exec ( bContext C,
wmOperator op 
)
static

Definition at line 352 of file graph_view.c.

References ANIM_center_frame(), C, OPERATOR_FINISHED, and WM_operator_smooth_viewtx_get().

Referenced by GRAPH_OT_view_frame().

◆ graphkeys_view_selected_exec()

static int graphkeys_view_selected_exec ( bContext C,
wmOperator op 
)
static

◆ graphkeys_viewall()

static int graphkeys_viewall ( bContext C,
const bool  do_sel_only,
const bool  include_handles,
const int  smooth_viewtx 
)
static

◆ graphkeys_viewall_exec()

static int graphkeys_viewall_exec ( bContext C,
wmOperator op 
)
static