Blender  V3.3
MOD_gpencil_ui_common.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
14 
15 struct ARegionType;
16 struct PanelType;
17 struct bContext;
18 struct uiLayout;
19 typedef void (*PanelDrawFn)(const bContext *, Panel *);
20 
21 void gpencil_modifier_masking_panel_draw(Panel *panel, bool use_material, bool use_vertex);
22 
25 
29 void gpencil_modifier_panel_end(struct uiLayout *layout, PointerRNA *ptr);
30 
32  struct PointerRNA *r_ob_ptr);
33 
39  PanelDrawFn draw);
40 
48  const char *name,
49  const char *label,
52  struct PanelType *parent);
53 
54 #ifdef __cplusplus
55 }
56 #endif
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void gpencil_modifier_curve_panel_draw(const bContext *C, Panel *panel)
void gpencil_modifier_masking_panel_draw(Panel *panel, bool use_material, bool use_vertex)
PanelType * gpencil_modifier_panel_register(struct ARegionType *region_type, GpencilModifierType type, PanelDrawFn draw)
void gpencil_modifier_curve_header_draw(const bContext *C, Panel *panel)
struct PanelType * gpencil_modifier_subpanel_register(struct ARegionType *region_type, const char *name, const char *label, PanelDrawFn draw_header, PanelDrawFn draw, struct PanelType *parent)
void(* PanelDrawFn)(const bContext *, Panel *)
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)
#define C
Definition: RandGen.cpp:25
const char * label
SyclQueue void void size_t num_bytes void
void(* draw)(const struct bContext *C, struct Panel *panel)
Definition: BKE_screen.h:248
void(* draw_header)(const struct bContext *C, struct Panel *panel)
Definition: BKE_screen.h:244
short region_type
Definition: BKE_screen.h:234
struct PanelType * parent
Definition: BKE_screen.h:270
PointerRNA * ptr
Definition: wm_files.c:3480