diff options
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 | 15 |
1 files changed, 5 insertions, 10 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 c85e939b13f..6590c04f03e 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h @@ -32,20 +32,15 @@ struct PanelType; struct uiLayout; typedef void (*PanelDrawFn)(const bContext *, Panel *); -void gpencil_modifier_masking_panel_draw(const bContext *C, - Panel *panel, - bool use_material, - bool use_vertex); +void gpencil_modifier_masking_panel_draw(Panel *panel, bool use_material, bool use_vertex); -void gpencil_modifier_curve_header_draw(const bContext *C, Panel *panel); -void gpencil_modifier_curve_panel_draw(const bContext *C, Panel *panel); +void gpencil_modifier_curve_header_draw(const bContext *UNUSED(C), Panel *panel); +void gpencil_modifier_curve_panel_draw(const bContext *UNUSED(C), Panel *panel); void gpencil_modifier_panel_end(struct uiLayout *layout, PointerRNA *ptr); -void gpencil_modifier_panel_get_property_pointers(const bContext *C, - struct Panel *panel, - struct PointerRNA *r_ob_ptr, - struct PointerRNA *r_ptr); +struct PointerRNA *gpencil_modifier_panel_get_property_pointers(struct Panel *panel, + struct PointerRNA *r_ob_ptr); PanelType *gpencil_modifier_panel_register(struct ARegionType *region_type, GpencilModifierType type, |