diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-18 04:20:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-18 04:22:00 +0300 |
commit | a374ff16b5e823ae37b69eb1995d36944b80c57f (patch) | |
tree | ddf35381dbff2df8d39a4d9a809f4102706b5f4f /source/blender/editors/curve/editfont.c | |
parent | eab00634812baf38b5b6535d72284236785dccd5 (diff) |
Cleanup: editor api naming
- use ED_ prefix for api calls
- use ED_*_select_pick for mouse selection (was already done in parts)
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 1eee5d04c56..9fba6468c98 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -1510,7 +1510,7 @@ void FONT_OT_textbox_remove(wmOperatorType *ot) /***************** editmode enter/exit ********************/ -void make_editText(Object *obedit) +void ED_curve_editfont_make(Object *obedit) { Curve *cu = obedit->data; EditFont *ef = cu->editfont; @@ -1546,7 +1546,7 @@ void make_editText(Object *obedit) BKE_vfont_select_clamp(obedit); } -void load_editText(Object *obedit) +void ED_curve_editfont_load(Object *obedit) { Curve *cu = obedit->data; EditFont *ef = cu->editfont; @@ -1575,7 +1575,7 @@ void load_editText(Object *obedit) cu->selend = ef->selend; } -void free_editText(Object *obedit) +void ED_curve_editfont_free(Object *obedit) { BKE_curve_editfont_free((Curve *)obedit->data); } @@ -1886,7 +1886,7 @@ void undo_push_font(bContext *C, const char *name) /** * TextBox selection */ -bool mouse_font(bContext *C, const int mval[2], bool extend, bool deselect, bool toggle) +bool ED_curve_editfont_select_pick(bContext *C, const int mval[2], bool extend, bool deselect, bool toggle) { Object *obedit = CTX_data_edit_object(C); Curve *cu = obedit->data; |