|
Blender
V2.93
|
#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.
|
static |
Definition at line 380 of file graph_view.c.
References NULL, and bAnimContext::sl.
Referenced by graphkeys_create_ghostcurves_exec().
| void get_graph_keyframe_extents | ( | bAnimContext * | ac, |
| float * | xmin, | ||
| float * | xmax, | ||
| float * | ymin, | ||
| float * | ymax, | ||
| const bool | do_sel_only, | ||
| const bool | include_handles | ||
| ) |
Definition at line 55 of file graph_view.c.
References NULL, scene, bAnimContext::scene, and bAnimContext::sl.
Referenced by graph_main_region_draw(), graphkeys_previewrange_exec(), and graphkeys_viewall().
| void GRAPH_OT_ghost_curves_clear | ( | wmOperatorType * | ot | ) |
Definition at line 523 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_clear_ghostcurves_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_ghost_curves_create | ( | wmOperatorType * | ot | ) |
Definition at line 478 of file graph_view.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_create_ghostcurves_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_previewrange_set | ( | wmOperatorType * | ot | ) |
Definition at line 228 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_previewrange_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 304 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_viewall_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_frame | ( | wmOperatorType * | ot | ) |
Definition at line 359 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_view_frame_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 327 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_view_selected_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
|
static |
Definition at line 499 of file graph_view.c.
References ANIM_animdata_get_context(), BKE_fcurves_free(), BLI_listbase_is_empty(), C, CTX_wm_area(), ED_area_tag_redraw(), SpaceGraph_Runtime::ghost_curves, if(), OPERATOR_CANCELLED, OPERATOR_FINISHED, SpaceGraph::runtime, and bAnimContext::sl.
Referenced by GRAPH_OT_ghost_curves_clear().
|
static |
Definition at line 452 of file graph_view.c.
References ANIM_animdata_get_context(), C, create_ghost_curves(), CTX_wm_area(), View2D::cur, ED_area_tag_redraw(), OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimContext::region, ARegion::v2d, rctf::xmax, and rctf::xmin.
Referenced by GRAPH_OT_ghost_curves_create().
|
static |
Definition at line 199 of file graph_view.c.
References ANIM_animdata_get_context(), C, RenderData::flag, get_graph_keyframe_extents(), max, min, NC_SCENE, ND_FRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, RenderData::pefra, RenderData::psfra, Scene::r, round_fl_to_int(), scene, bAnimContext::scene, SCER_PRV_RANGE, and WM_event_add_notifier().
Referenced by GRAPH_OT_previewrange_set().
|
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().
|
static |
Definition at line 293 of file graph_view.c.
References C, graphkeys_viewall(), wmOperator::ptr, RNA_boolean_get(), and WM_operator_smooth_viewtx_get().
Referenced by GRAPH_OT_view_selected().
|
static |
Definition at line 246 of file graph_view.c.
References ANIM_animdata_get_context(), BLI_listbase_is_empty(), BLI_rctf_pad_y(), BLI_rctf_scale(), C, ED_context_get_markers(), get_graph_keyframe_extents(), OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimContext::region, UI_MARKER_MARGIN_Y, UI_TIME_SCRUB_MARGIN_Y, UI_view2d_smooth_view(), V2D_SCROLL_HANDLE_HEIGHT, ARegion::winy, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by graphkeys_view_selected_exec(), and graphkeys_viewall_exec().
|
static |
Definition at line 284 of file graph_view.c.
References C, graphkeys_viewall(), wmOperator::ptr, RNA_boolean_get(), and WM_operator_smooth_viewtx_get().
Referenced by GRAPH_OT_view_all().