Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_graph/graph_intern.h')
-rw-r--r--source/blender/editors/space_graph/graph_intern.h52
1 files changed, 30 insertions, 22 deletions
diff --git a/source/blender/editors/space_graph/graph_intern.h b/source/blender/editors/space_graph/graph_intern.h
index 617233f2a20..7d0a3a1f13d 100644
--- a/source/blender/editors/space_graph/graph_intern.h
+++ b/source/blender/editors/space_graph/graph_intern.h
@@ -43,7 +43,11 @@ struct ARegion *graph_has_buttons_region(struct ScrArea *sa);
/* graph_draw.c */
void graph_draw_channel_names(struct bContext *C, struct bAnimContext *ac, struct ARegion *ar);
-void graph_draw_curves(struct bAnimContext *ac, struct SpaceGraph *sipo, struct ARegion *ar, struct View2DGrid *grid, short sel);
+void graph_draw_curves(struct bAnimContext *ac,
+ struct SpaceGraph *sipo,
+ struct ARegion *ar,
+ struct View2DGrid *grid,
+ short sel);
void graph_draw_ghost_curves(struct bAnimContext *ac, struct SpaceGraph *sipo, struct ARegion *ar);
/* ***************************************** */
@@ -64,24 +68,29 @@ void GRAPH_OT_clickselect(struct wmOperatorType *ot);
/* defines for left-right select tool */
enum eGraphKeys_LeftRightSelect_Mode {
- GRAPHKEYS_LRSEL_TEST = 0,
- GRAPHKEYS_LRSEL_LEFT,
- GRAPHKEYS_LRSEL_RIGHT,
+ GRAPHKEYS_LRSEL_TEST = 0,
+ GRAPHKEYS_LRSEL_LEFT,
+ GRAPHKEYS_LRSEL_RIGHT,
};
/* defines for column-select mode */
enum eGraphKeys_ColumnSelect_Mode {
- GRAPHKEYS_COLUMNSEL_KEYS = 0,
- GRAPHKEYS_COLUMNSEL_CFRA,
- GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN,
- GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN,
+ GRAPHKEYS_COLUMNSEL_KEYS = 0,
+ GRAPHKEYS_COLUMNSEL_CFRA,
+ GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN,
+ GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN,
};
/* ***************************************** */
/* graph_edit.c */
-void get_graph_keyframe_extents(struct bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax,
- const bool do_selected, const bool include_handles);
+void get_graph_keyframe_extents(struct bAnimContext *ac,
+ float *xmin,
+ float *xmax,
+ float *ymin,
+ float *ymax,
+ const bool do_selected,
+ const bool include_handles);
void GRAPH_OT_previewrange_set(struct wmOperatorType *ot);
void GRAPH_OT_view_all(struct wmOperatorType *ot);
@@ -116,23 +125,23 @@ void GRAPH_OT_mirror(struct wmOperatorType *ot);
* NOTE: keep in sync with eEditKeyframes_Snap (in ED_keyframes_edit.h)
*/
enum eGraphKeys_Snap_Mode {
- GRAPHKEYS_SNAP_CFRA = 1,
- GRAPHKEYS_SNAP_NEAREST_FRAME,
- GRAPHKEYS_SNAP_NEAREST_SECOND,
- GRAPHKEYS_SNAP_NEAREST_MARKER,
- GRAPHKEYS_SNAP_HORIZONTAL,
- GRAPHKEYS_SNAP_VALUE,
+ GRAPHKEYS_SNAP_CFRA = 1,
+ GRAPHKEYS_SNAP_NEAREST_FRAME,
+ GRAPHKEYS_SNAP_NEAREST_SECOND,
+ GRAPHKEYS_SNAP_NEAREST_MARKER,
+ GRAPHKEYS_SNAP_HORIZONTAL,
+ GRAPHKEYS_SNAP_VALUE,
};
/* defines for mirror keyframes
* NOTE: keep in sync with eEditKeyframes_Mirror (in ED_keyframes_edit.h)
*/
enum eGraphKeys_Mirror_Mode {
- GRAPHKEYS_MIRROR_CFRA = 1,
- GRAPHKEYS_MIRROR_YAXIS,
- GRAPHKEYS_MIRROR_XAXIS,
- GRAPHKEYS_MIRROR_MARKER,
- GRAPHKEYS_MIRROR_VALUE,
+ GRAPHKEYS_MIRROR_CFRA = 1,
+ GRAPHKEYS_MIRROR_YAXIS,
+ GRAPHKEYS_MIRROR_XAXIS,
+ GRAPHKEYS_MIRROR_MARKER,
+ GRAPHKEYS_MIRROR_VALUE,
};
/* ----------- */
@@ -173,5 +182,4 @@ bool graphop_selected_fcurve_poll(struct bContext *C);
void graphedit_keymap(struct wmKeyConfig *keyconf);
void graphedit_operatortypes(void);
-
#endif /* __GRAPH_INTERN_H__ */