Blender  V3.3
graph_ops.c File Reference
#include <math.h>
#include <stdlib.h>
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"
#include "BLI_math_base.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_screen.h"
#include "ED_transform.h"
#include "graph_intern.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

Set Cursor

The 'cursor' in the Graph Editor consists of two parts: 1) Current Frame Indicator (as per ANIM_OT_change_frame) 2) Value Indicator (stored per Graph Editor instance)

static bool graphview_cursor_poll (bContext *C)
 
static void graphview_cursor_apply (bContext *C, wmOperator *op)
 
static int graphview_cursor_exec (bContext *C, wmOperator *op)
 
static void graphview_cursor_setprops (bContext *C, wmOperator *op, const wmEvent *event)
 
static int graphview_cursor_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int graphview_cursor_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void GRAPH_OT_cursor_set (wmOperatorType *ot)
 
Hide/Reveal
static int graphview_curves_hide_exec (bContext *C, wmOperator *op)
 
static void GRAPH_OT_hide (wmOperatorType *ot)
 
static int graphview_curves_reveal_exec (bContext *C, wmOperator *op)
 
static void GRAPH_OT_reveal (wmOperatorType *ot)
 
Registration: operator types
void graphedit_operatortypes (void)
 
void ED_operatormacros_graph (void)
 
Registration: Key-Maps
void graphedit_keymap (wmKeyConfig *keyconf)
 

Function Documentation

◆ ED_operatormacros_graph()

void ED_operatormacros_graph ( void  )

◆ GRAPH_OT_cursor_set()

static void GRAPH_OT_cursor_set ( wmOperatorType ot)
static

◆ GRAPH_OT_hide()

static void GRAPH_OT_hide ( wmOperatorType ot)
static

◆ GRAPH_OT_reveal()

static void GRAPH_OT_reveal ( wmOperatorType ot)
static

◆ graphedit_keymap()

void graphedit_keymap ( wmKeyConfig keyconf)

Definition at line 508 of file graph_ops.c.

References SPACE_GRAPH, and WM_keymap_ensure().

Referenced by ED_spacetype_ipo().

◆ graphedit_operatortypes()

void graphedit_operatortypes ( void  )

◆ graphview_cursor_apply()

static void graphview_cursor_apply ( bContext C,
wmOperator op 
)
static

◆ graphview_cursor_exec()

static int graphview_cursor_exec ( bContext C,
wmOperator op 
)
static

Definition at line 103 of file graph_ops.c.

References C, graphview_cursor_apply(), and OPERATOR_FINISHED.

Referenced by GRAPH_OT_cursor_set().

◆ graphview_cursor_invoke()

static int graphview_cursor_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ graphview_cursor_modal()

static int graphview_cursor_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ graphview_cursor_poll()

static bool graphview_cursor_poll ( bContext C)
static

Definition at line 47 of file graph_ops.c.

References C, ED_operator_graphedit_active(), and G.

Referenced by GRAPH_OT_cursor_set().

◆ graphview_cursor_setprops()

static void graphview_cursor_setprops ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ graphview_curves_hide_exec()

static int graphview_curves_hide_exec ( bContext C,
wmOperator op 
)
static

◆ graphview_curves_reveal_exec()

static int graphview_curves_reveal_exec ( bContext C,
wmOperator op 
)
static