Blender  V3.3
FX_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 #include "FX_shader_types.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 struct ARegionType;
16 struct PanelType;
17 struct bContext;
18 struct uiLayout;
19 typedef void (*PanelDrawFn)(const bContext *, Panel *);
20 
24 void shaderfx_panel_end(struct uiLayout *layout, PointerRNA *ptr);
25 
30  struct PointerRNA *r_ob_ptr);
31 
36 
44  const char *name,
45  const char *label,
48  struct PanelType *parent);
49 
50 #ifdef __cplusplus
51 }
52 #endif
ShaderFxType
struct PointerRNA * shaderfx_panel_get_property_pointers(struct Panel *panel, struct PointerRNA *r_ob_ptr)
Definition: FX_ui_common.c:93
PanelType * shaderfx_panel_register(ARegionType *region_type, ShaderFxType type, PanelDrawFn draw)
Definition: FX_ui_common.c:223
void shaderfx_panel_end(struct uiLayout *layout, PointerRNA *ptr)
Definition: FX_ui_common.c:84
void(* PanelDrawFn)(const bContext *, Panel *)
Definition: FX_ui_common.h:19
struct PanelType * shaderfx_subpanel_register(struct ARegionType *region_type, const char *name, const char *label, PanelDrawFn draw_header, PanelDrawFn draw, struct PanelType *parent)
Definition: FX_ui_common.c:248
_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
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