diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-02 04:07:18 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-02 04:11:08 +0300 |
commit | aa500c4fcabe7dad834b91572c75bee760041ede (patch) | |
tree | 4dd6884ac9713cf3e8fd64a1050c49c6833b58d6 | |
parent | eabdcdcd44b93943dc5aa595c7614d5ccdd11d6e (diff) |
Cleanup: use back-slash for doxygen commands, color after parameters
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 2 | ||||
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_System.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_lib_remap.h | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 6 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_element.hh | 4 | ||||
-rw-r--r-- | source/blender/functions/FN_multi_function_procedure_optimization.hh | 6 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.hh | 2 | ||||
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 12 | ||||
-rw-r--r-- | source/blender/io/wavefront_obj/exporter/obj_export_io.hh | 2 | ||||
-rw-r--r-- | source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh | 2 |
12 files changed, 22 insertions, 22 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 18439350238..4e48a908c00 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -253,7 +253,7 @@ extern int GHOST_GetFullScreen(GHOST_SystemHandle systemhandle); * Get the Window under the cursor. * \param x: The x-coordinate of the cursor. * \param y: The y-coordinate of the cursor. - * @return The window under the cursor or nullptr in none. + * \return The window under the cursor or nullptr in none. */ extern GHOST_WindowHandle GHOST_GetWindowUnderCursor(GHOST_SystemHandle systemhandle, int32_t x, diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h index a33879522f4..ed193ee7e5d 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.h @@ -313,7 +313,7 @@ class GHOST_ISystem { * Get the Window under the cursor. * \param x: The x-coordinate of the cursor. * \param y: The y-coordinate of the cursor. - * @return The window under the cursor or nullptr if none. + * \return The window under the cursor or nullptr if none. */ virtual GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y) = 0; diff --git a/intern/ghost/intern/GHOST_System.h b/intern/ghost/intern/GHOST_System.h index 0911b35f617..0e1e3f734ae 100644 --- a/intern/ghost/intern/GHOST_System.h +++ b/intern/ghost/intern/GHOST_System.h @@ -161,7 +161,7 @@ class GHOST_System : public GHOST_ISystem { * Get the Window under the cursor. * \param x: The x-coordinate of the cursor. * \param y: The y-coordinate of the cursor. - * @return The window under the cursor or nullptr if none. + * \return The window under the cursor or nullptr if none. */ GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y); diff --git a/intern/ghost/intern/GHOST_SystemCocoa.h b/intern/ghost/intern/GHOST_SystemCocoa.h index 926d50b7942..8b6dfb4efed 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.h +++ b/intern/ghost/intern/GHOST_SystemCocoa.h @@ -113,7 +113,7 @@ class GHOST_SystemCocoa : public GHOST_System { * Get the Window under the cursor. * \param x: The x-coordinate of the cursor. * \param y: The y-coordinate of the cursor. - * @return The window under the cursor or nullptr if none. + * \return The window under the cursor or nullptr if none. */ GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y); diff --git a/source/blender/blenkernel/BKE_lib_remap.h b/source/blender/blenkernel/BKE_lib_remap.h index 94b94303ec9..fd7d39fc250 100644 --- a/source/blender/blenkernel/BKE_lib_remap.h +++ b/source/blender/blenkernel/BKE_lib_remap.h @@ -220,7 +220,7 @@ IDRemapperApplyResult BKE_id_remapper_apply(const struct IDRemapper *id_remapper * Use this function when `ID_REMAP_APPLY_UNMAP_WHEN_REMAPPING_TO_SELF`. In this case * the #id_self parameter is required. Otherwise the #BKE_id_remapper_apply can be used. * - * \param id_self required for ID_REMAP_APPLY_UNMAP_WHEN_REMAPPING_TO_SELF. + * \param id_self: required for ID_REMAP_APPLY_UNMAP_WHEN_REMAPPING_TO_SELF. * When remapping to id_self it will then be remapped to NULL. */ IDRemapperApplyResult BKE_id_remapper_apply_ex(const struct IDRemapper *id_remapper, diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index a6b412b2b7e..6f9df4d8252 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -1105,10 +1105,10 @@ bool SCULPT_search_sphere_cb(PBVHNode *node, void *data_v); bool SCULPT_search_circle_cb(PBVHNode *node, void *data_v); /** - * Initialize a point-in-brush test with a given falloff shape + * Initialize a point-in-brush test with a given falloff shape. * - * \param falloff_shape PAINT_FALLOFF_SHAPE_SPHERE or PAINT_FALLOFF_SHAPE_TUBE - * \return The brush falloff function + * \param falloff_shape: #PAINT_FALLOFF_SHAPE_SPHERE or #PAINT_FALLOFF_SHAPE_TUBE. + * \return The brush falloff function. */ SculptBrushTestFn SCULPT_brush_test_init_with_falloff_shape(SculptSession *ss, SculptBrushTest *test, diff --git a/source/blender/editors/space_outliner/tree/tree_element.hh b/source/blender/editors/space_outliner/tree/tree_element.hh index 996f51eee82..2fbc86705b9 100644 --- a/source/blender/editors/space_outliner/tree/tree_element.hh +++ b/source/blender/editors/space_outliner/tree/tree_element.hh @@ -89,8 +89,8 @@ void tree_element_expand(const AbstractTreeElement &tree_element, SpaceOutliner /** * Get actual warning data of a tree element, if any. * - * \param r_icon The icon to display as warning. - * \param r_message The message to display as warning. + * \param r_icon: The icon to display as warning. + * \param r_message: The message to display as warning. * \return true if there is a warning, false otherwise. */ bool tree_element_warnings_get(struct TreeElement *te, int *r_icon, const char **r_message); diff --git a/source/blender/functions/FN_multi_function_procedure_optimization.hh b/source/blender/functions/FN_multi_function_procedure_optimization.hh index 6e1e804c804..f5a02d84d42 100644 --- a/source/blender/functions/FN_multi_function_procedure_optimization.hh +++ b/source/blender/functions/FN_multi_function_procedure_optimization.hh @@ -38,9 +38,9 @@ namespace blender::fn::procedure_optimization { * For simplicity, and because this is the most common use case, this optimization currently only * works on a single chain of instructions. Destruct instructions are not moved across branches. * - * \param procedure The procedure that should be optimized. - * \param block_end_instr The instruction that points to the last instruction within a linear chain - * of instructions. The algorithm moves instructions backward starting at this instruction. + * \param procedure: The procedure that should be optimized. + * \param block_end_instr: The instruction that points to the last instruction within a linear + * chain of instructions. The algorithm moves instructions backward starting at this instruction. */ void move_destructs_up(MFProcedure &procedure, MFInstruction &block_end_instr); diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh index e05dce57674..bf74d44d9a7 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.hh +++ b/source/blender/gpu/intern/gpu_shader_create_info.hh @@ -255,7 +255,7 @@ struct StageInterfaceInfo { }; /** - * @brief Describe inputs & outputs, stage interfaces, resources and sources of a shader. + * \brief Describe inputs & outputs, stage interfaces, resources and sources of a shader. * If all data is correctly provided, this is all that is needed to create and compile * a GPUShader. * diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 6b35e84ca51..8929a467670 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -900,16 +900,16 @@ typedef enum eIMBTransformMode { /** * \brief Transform source image buffer onto destination image buffer using a transform matrix. * - * \param src Image buffer to read from. - * \param dst Image buffer to write to. rect or rect_float must already be initialized. + * \param src: Image buffer to read from. + * \param dst: Image buffer to write to. rect or rect_float must already be initialized. * - dst buffer must be a 4 channel buffers. * - Only one data type buffer will be used (rect_float has priority over rect) - * \param mode Cropping/Wrap repeat effect to apply during transformation. - * \param filter Interpolation to use during sampling. - * \param transform_matrix Transformation matrix to use. + * \param mode: Cropping/Wrap repeat effect to apply during transformation. + * \param filter: Interpolation to use during sampling. + * \param transform_matrix: Transformation matrix to use. * The given matrix should transform between dst pixel space to src pixel space. * One unit is one pixel. - * \param src_crop cropping region how to crop the source buffer. Should only be passed when mode + * \param src_crop: Cropping region how to crop the source buffer. Should only be passed when mode * is set to #IMB_TRANSFORM_MODE_CROP_SRC. For any other mode this should be empty. * * During transformation no data/color conversion will happens. diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh index 7016dff2a29..3bee93b36a5 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh +++ b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh @@ -310,7 +310,7 @@ class FormatHandler : NonCopyable, NonMovable { /** * Example invocation: `writer->write<eMTLSyntaxElement::newmtl>("foo")`. * - * \param key Must match what the instance's filetype expects; i.e., `eMTLSyntaxElement` for + * \param key: Must match what the instance's filetype expects; i.e., `eMTLSyntaxElement` for * `eFileType::MTL`. */ template<typename FileTypeTraits<filetype>::SyntaxType key, typename... T> diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh index 9b9c8483464..5b11c85b7a4 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh +++ b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.hh @@ -189,7 +189,7 @@ class OBJMesh : NonCopyable { } /** * Calculate a polygon's polygon/loop normal indices. - * \param poly_index Index of the polygon to calculate indices for. + * \param poly_index: Index of the polygon to calculate indices for. * \return Vector of normal indices, aligned with vertices of polygon. */ Vector<int> calc_poly_normal_indices(int poly_index) const; |