diff options
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_keyframing.h | 4 | ||||
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 5 | ||||
-rw-r--r-- | source/blender/editors/include/ED_numinput.h | 14 | ||||
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 6 |
4 files changed, 19 insertions, 10 deletions
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index 54570938de1..a893f03bd88 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -143,8 +143,8 @@ short insert_keyframe(struct Main *bmain, eInsertKeyFlags flag); /* Main Keyframing API call: - * Use this to delete keyframe on current frame for relevant channel. Will perform checks just in case. - */ + * Use this to delete keyframe on current frame for relevant channel. + * Will perform checks just in case. */ short delete_keyframe(struct Main *bmain, struct ReportList *reports, struct ID *id, diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index dcac5301da5..ce8521a1f6a 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -358,7 +358,10 @@ float ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vert void ED_vgroup_vert_active_mirror(struct Object *ob, int def_nr); /* mesh_data.c */ -// void ED_mesh_geometry_add(struct Mesh *mesh, struct ReportList *reports, int verts, int edges, int faces); +#if 0 +void ED_mesh_geometry_add( + struct Mesh *mesh, struct ReportList *reports, int verts, int edges, int faces); +#endif void ED_mesh_polys_add(struct Mesh *mesh, struct ReportList *reports, int count); void ED_mesh_tessfaces_add(struct Mesh *mesh, struct ReportList *reports, int count); void ED_mesh_edges_add(struct Mesh *mesh, struct ReportList *reports, int count); diff --git a/source/blender/editors/include/ED_numinput.h b/source/blender/editors/include/ED_numinput.h index 697a236341f..b13f228b1ec 100644 --- a/source/blender/editors/include/ED_numinput.h +++ b/source/blender/editors/include/ED_numinput.h @@ -78,12 +78,16 @@ struct UnitSettings; /** * There are important things to note here for code using numinput: - * - Values passed to #applyNumInput() should be valid and are stored as default ones (val_org), if it is not EDITED. - * - bool returned by #applyNumInput should be used to decide whether to apply numinput-specific post-process to data. - * - Once #applyNumInput has been called, #hasNumInput returns a valid value to decide whether to use numinput - * as drawstr source or not (i.e. to call #outputNumInput). + * - Values passed to #applyNumInput() should be valid and are stored as default ones (val_org), + * if it is not EDITED. + * - bool returned by #applyNumInput should be used to decide whether to apply + * numinput-specific post-process to data. + * - Once #applyNumInput has been called, + * #hasNumInput returns a valid value to decide whether to use numinput as drawstr source or not + * (i.e. to call #outputNumInput). * - * Those two steps have to be separated (so do not use a common call to #hasNumInput() to do both in the same time!). + * Those two steps have to be separated + * (so do not use a common call to #hasNumInput() to do both in the same time!). */ void initNumInput(NumInput *n); diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 1fc1fba4b4a..18962f9d9da 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -341,7 +341,8 @@ void UI_GetThemeColorShade3fv(int colorid, int offset, float col[3]); void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3]); void UI_GetThemeColorShade4ubv(int colorid, int offset, unsigned char col[4]); -// get three color values, range 0-255, complete with shading offset for the RGB components and blending +// get three color values, range 0-255, +// complete with shading offset for the RGB components and blending. void UI_GetThemeColorBlendShade3ubv( int colorid1, int colorid2, float fac, int offset, unsigned char col[3]); @@ -361,7 +362,8 @@ void UI_GetThemeColorShadeAlpha4ubv(int colorid, int alphaoffset, unsigned char col[4]); -// get four color values, range 0.0-1.0, complete with shading offset for the RGB components and blending +// get four color values, range 0.0-1.0, +// complete with shading offset for the RGB components and blending. void UI_GetThemeColorBlendShade3fv( int colorid1, int colorid2, float fac, int offset, float col[3]); void UI_GetThemeColorBlendShade4fv( |