diff options
Diffstat (limited to 'source/blender/editors/include/ED_curve.h')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 58e64f30b05..6d53209688d 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -31,13 +31,10 @@ #ifndef __ED_CURVE_H__ #define __ED_CURVE_H__ -struct Base; struct bContext; struct Nurb; struct Object; -struct Scene; struct Text; -struct View3D; struct wmOperator; struct wmKeyConfig; struct Curve; @@ -51,11 +48,6 @@ void ED_operatormacros_curve(void); void ED_keymap_curve(struct wmKeyConfig *keyconf); /* editcurve.c */ -void ED_curve_deselect_all(struct EditNurb *editnurb); -void ED_curve_select_all(struct EditNurb *editnurb); -void ED_curve_select_swap(struct EditNurb *editnurb, bool hide_handles); - - void undo_push_curve(struct bContext *C, const char *name); ListBase *object_editcurve_get(struct Object *ob); @@ -67,10 +59,20 @@ bool mouse_nurb(struct bContext *C, const int mval[2], bool extend, bool dese struct Nurb *add_nurbs_primitive(struct bContext *C, struct Object *obedit, float mat[4][4], int type, int newob); -int isNurbsel(struct Nurb *nu); +bool ED_curve_nurb_select_check(struct Curve *cu, struct Nurb *nu); +int ED_curve_nurb_select_count(struct Curve *cu, struct Nurb *nu); +void ED_curve_nurb_select_all(struct Nurb *nu); +void ED_curve_nurb_deselect_all(struct Nurb *nu); int join_curve_exec(struct bContext *C, struct wmOperator *op); +/* editcurve_select.c */ +bool ED_curve_select_check(struct Curve *cu, struct EditNurb *editnurb); +void ED_curve_deselect_all(struct EditNurb *editnurb); +void ED_curve_select_all(struct EditNurb *editnurb); +void ED_curve_select_swap(struct EditNurb *editnurb, bool hide_handles); +bool ED_curve_select_nth(struct Curve *cu, int nth, int skip, int offset); + /* editfont.h */ void undo_push_font(struct bContext *C, const char *name); void make_editText(struct Object *obedit); @@ -79,8 +81,6 @@ void free_editText(struct Object *obedit); void ED_text_to_object(struct bContext *C, struct Text *text, const bool split_lines); -bool ED_curve_select_nth(struct Curve *cu, int nth); - 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); @@ -90,7 +90,9 @@ bool ED_curve_active_center(struct Curve *cu, float center[3]); bool mouse_font(struct bContext *C, const int mval[2], bool extend, bool deselect, bool toggle); +#if 0 /* debug only */ void printknots(struct Object *obedit); +#endif #endif /* __ED_CURVE_H__ */ |