Blender  V3.3
MOD_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 /* so modifier types match their defines */
10 #include "MOD_modifiertypes.h"
11 
12 #include "DEG_depsgraph_build.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 struct ARegionType;
19 struct PanelType;
20 struct bContext;
21 struct uiLayout;
22 typedef void (*PanelDrawFn)(const bContext *, struct Panel *);
23 
24 void modifier_panel_buttons(const struct bContext *C, struct Panel *panel);
25 
30  struct PointerRNA *ptr,
31  struct PointerRNA *ob_ptr,
32  const char *vgroup_prop,
33  const char *invert_vgroup_prop,
34  const char *text);
35 
40 
42  struct PointerRNA *r_ob_ptr);
43 
50 
58  const char *name,
59  const char *label,
62  struct PanelType *parent);
63 
64 #ifdef __cplusplus
65 }
66 #endif
ModifierType
_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 modifier_panel_end(struct uiLayout *layout, PointerRNA *ptr)
Definition: MOD_ui_common.c:91
struct PanelType * modifier_panel_register(struct ARegionType *region_type, ModifierType type, PanelDrawFn draw)
struct PanelType * 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 *, struct Panel *)
Definition: MOD_ui_common.h:22
void modifier_vgroup_ui(struct uiLayout *layout, struct PointerRNA *ptr, struct PointerRNA *ob_ptr, const char *vgroup_prop, const char *invert_vgroup_prop, const char *text)
struct PointerRNA * modifier_panel_get_property_pointers(struct Panel *panel, struct PointerRNA *r_ob_ptr)
void modifier_panel_buttons(const struct bContext *C, struct Panel *panel)
#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
struct uiLayout * layout
PointerRNA * ptr
Definition: wm_files.c:3480