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/include/ED_curve.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/include/ED_curve.h')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 3e8821efbd0..d6d5ae299b7 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -40,27 +40,29 @@ struct wmKeyConfig; struct wmOperator; /* curve_ops.c */ -void ED_operatortypes_curve(void); -void ED_operatormacros_curve(void); -void ED_keymap_curve(struct wmKeyConfig *keyconf); +void ED_operatortypes_curve(void); +void ED_operatormacros_curve(void); +void ED_keymap_curve(struct wmKeyConfig *keyconf); /* editcurve.c */ struct ListBase *object_editcurve_get(struct Object *ob); -void ED_curve_editnurb_load(struct Main *bmain, struct Object *obedit); -void ED_curve_editnurb_make(struct Object *obedit); -void ED_curve_editnurb_free(struct Object *obedit); +void ED_curve_editnurb_load(struct Main *bmain, struct Object *obedit); +void ED_curve_editnurb_make(struct Object *obedit); +void ED_curve_editnurb_free(struct Object *obedit); -bool ED_curve_editnurb_select_pick(struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); +bool ED_curve_editnurb_select_pick( + struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); -struct Nurb *ED_curve_add_nurbs_primitive(struct bContext *C, struct Object *obedit, float mat[4][4], int type, int newob); +struct Nurb *ED_curve_add_nurbs_primitive( + struct bContext *C, struct Object *obedit, float mat[4][4], int type, int newob); -bool ED_curve_nurb_select_check(struct View3D *v3d, struct Nurb *nu); -int ED_curve_nurb_select_count(struct View3D *v3d, struct Nurb *nu); -bool ED_curve_nurb_select_all(const struct Nurb *nu); -bool ED_curve_nurb_deselect_all(const struct Nurb *nu); +bool ED_curve_nurb_select_check(struct View3D *v3d, struct Nurb *nu); +int ED_curve_nurb_select_count(struct View3D *v3d, struct Nurb *nu); +bool ED_curve_nurb_select_all(const struct Nurb *nu); +bool ED_curve_nurb_deselect_all(const struct Nurb *nu); -int join_curve_exec(struct bContext *C, struct wmOperator *op); +int join_curve_exec(struct bContext *C, struct wmOperator *op); /* editcurve_select.c */ bool ED_curve_select_check(struct View3D *v3d, struct EditNurb *editnurb); @@ -75,25 +77,28 @@ int ED_curve_select_count(struct View3D *v3d, struct EditNurb *editnurb); void ED_curve_undosys_type(struct UndoType *ut); /* editfont.c */ -void ED_curve_editfont_load(struct Object *obedit); -void ED_curve_editfont_make(struct Object *obedit); -void ED_curve_editfont_free(struct Object *obedit); +void ED_curve_editfont_load(struct Object *obedit); +void ED_curve_editfont_make(struct Object *obedit); +void ED_curve_editfont_free(struct Object *obedit); -void ED_text_to_object(struct bContext *C, struct Text *text, const bool split_lines); +void ED_text_to_object(struct bContext *C, struct Text *text, const bool split_lines); -void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, struct BezTriple *src, int count); +void ED_curve_beztcpy(struct EditNurb *editnurb, + struct BezTriple *dst, + struct BezTriple *src, + int count); void ED_curve_bpcpy(struct EditNurb *editnurb, struct BPoint *dst, struct BPoint *src, int count); int ED_curve_updateAnimPaths(struct Main *bmain, struct Curve *cu); bool ED_curve_active_center(struct Curve *cu, float center[3]); -bool ED_curve_editfont_select_pick(struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); +bool ED_curve_editfont_select_pick( + struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); /* editfont_undo.c */ void ED_font_undosys_type(struct UndoType *ut); - #if 0 /* debug only */ void printknots(struct Object *obedit); |