diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/editors/space_graph/graph_intern.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/editors/space_graph/graph_intern.h')
-rw-r--r-- | source/blender/editors/space_graph/graph_intern.h | 52 |
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__ */ |