diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:11:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:11:29 +0300 |
commit | 15a428eab0e0a0ca63953d71e8fc719e4a06c612 (patch) | |
tree | 7d4581c41890bb589fed0fffe917dd87a3b4eac8 /source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h | |
parent | 8aed5dbcf8e05675be8128b6197026e480622254 (diff) |
Cleanup: move public doc-strings into headers for 'gpencil_modifiers'
Removed doc-strings for operator definitions as they didn't provide
useful information in addition to the operators own description.
Ref T92709
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h b/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h index 782b36d47ed..2cccd6e15dd 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h @@ -37,15 +37,27 @@ void gpencil_modifier_masking_panel_draw(Panel *panel, bool use_material, bool u void gpencil_modifier_curve_header_draw(const bContext *C, Panel *panel); void gpencil_modifier_curve_panel_draw(const bContext *C, Panel *panel); +/** + * Draw modifier error message. + */ void gpencil_modifier_panel_end(struct uiLayout *layout, PointerRNA *ptr); struct PointerRNA *gpencil_modifier_panel_get_property_pointers(struct Panel *panel, struct PointerRNA *r_ob_ptr); +/** + * Create a panel in the context's region + */ PanelType *gpencil_modifier_panel_register(struct ARegionType *region_type, GpencilModifierType type, PanelDrawFn draw); +/** + * Add a child panel to the parent. + * + * \note To create the panel type's idname, it appends the \a name argument to the \a parent's + * idname. + */ struct PanelType *gpencil_modifier_subpanel_register(struct ARegionType *region_type, const char *name, const char *label, |