83 #define UI_SEP_CHAR '|'
84 #define UI_SEP_CHAR_S "|"
88 #define UI_MENU_ARROW_SEP "\xe2\x96\xb6"
91 #define UI_MAX_DRAW_STR 400
92 #define UI_MAX_NAME_STR 128
93 #define UI_MAX_SHORTCUT_STR 64
101 #define UI_REGION_OVERLAP_MARGIN (U.widget_unit / 3)
104 #define UI_SCREEN_MARGIN 10
235 #define UI_DEFAULT_TEXT_POINTS 11.0f
238 #define UI_DEFAULT_TITLE_POINTS 11.0f
240 #define UI_PANEL_WIDTH 340
241 #define UI_COMPACT_PANEL_WIDTH 160
242 #define UI_SIDEBAR_PANEL_WIDTH 220
243 #define UI_NAVIGATION_REGION_WIDTH UI_COMPACT_PANEL_WIDTH
244 #define UI_NARROW_NAVIGATION_REGION_WIDTH 100
246 #define UI_PANEL_CATEGORY_MARGIN_WIDTH (U.widget_unit * 1.0f)
250 #define UI_PANEL_MARGIN_X (U.widget_unit * 0.4f)
251 #define UI_PANEL_MARGIN_Y (U.widget_unit * 0.1f)
305 #define UI_DPI_FAC (U.dpi_fac)
307 #define UI_DPI_ICON_SIZE ((float)16 * UI_DPI_FAC)
326 #define UI_BUT_POIN_TYPES (UI_BUT_POIN_FLOAT | UI_BUT_POIN_SHORT | UI_BUT_POIN_CHAR)
396 #define BUTTYPE (63 << 9)
422 const unsigned char col[3],
423 unsigned char alpha);
425 const struct rctf *rect,
bool filled,
float rad,
const float col[3],
float alpha);
427 const float inner1[4],
428 const float inner2[4],
430 const float outline[4],
435 int UI_draw_roundbox_corner_get(
void);
450 const struct rctf *rect,
451 const float title_aspect[2],
452 const float action_aspect[2]);
463 const struct rcti *rect,
464 const struct rcti *slider,
532 const struct rcti *item_rect,
537 typedef char *(*uiButToolTipFunc)(
struct bContext *
C,
void *argN,
const char *tip);
567 typedef void *(*uiBlockInteractionBeginFn)(
struct bContext *
C,
602 typedef void *(*uiCopyArgFunc)(
const void *arg);
611 #define UI_but_is_decorator(but) ((but)->type == UI_BTYPE_DECORATOR)
638 const char *block_name,
694 const char *propname,
733 void uiPupBlockOperator(
struct bContext *
C,
885 bool remove_on_failure);
1045 const char *propname,
1188 const char *propname,
1290 const char *propname,
1381 #define EDTSRC_I18N_OP_NAME "UI_OT_edittranslation"
1587 const int tot_width,
1703 void (*func)(
const struct bContext *
C,
void *,
void *,
void *,
struct rcti *rect),
1722 const void *rna_poin_data,
1723 const char *rna_prop_id);
1759 #define AUTOCOMPLETE_NO_MATCH 0
1760 #define AUTOCOMPLETE_FULL_MATCH 1
1761 #define AUTOCOMPLETE_PARTIAL_MATCH 2
1797 uiBut *but,
const char *path,
int icon,
struct ImBuf *imb,
float scale,
bool use_free);
1820 struct Panel *panel,
1890 const char *panel_idname,
1900 #define INSTANCED_PANEL_UNIQUE_STR_LEN 16
1971 #define UI_UNIT_X ((void)0, U.widget_unit)
1972 #define UI_UNIT_Y ((void)0, U.widget_unit)
2013 #define UI_HEADER_OFFSET ((void)0, 0.4f * UI_UNIT_X)
2027 #define UI_ALPHA_CHECKER_DARK 100
2028 #define UI_ALPHA_CHECKER_LIGHT 160
2194 const char *propname,
2197 const char *unlinkop,
2204 const char *propname,
2207 const char *unlinkop,
2213 const char *propname,
2216 const char *unlinkop,
2227 const char *propname,
2241 const char *propname,
2242 const char *proptypename,
2251 const char *propname,
2253 const char *searchpropname,
2255 const char *unlinkop);
2259 const char *propname,
2261 const char *searchpropname,
2263 const char *unlinkop,
2275 const char *propname,
2293 const char *propname,
2308 const char *preview_id);
2311 const char *propname,
2322 const char *propname,
2325 float icon_scale_popup);
2331 const char *propname,
2347 const char *propname,
2350 bool lock_luminosity,
2354 const char *propname,
2358 const char *propname,
2366 const char *propname,
2368 const char *used_propname,
2373 const char *propname,
2418 bool text_fallback);
2422 const char *propname,
2433 const char *propname);
2441 const char *propname,
2469 #define UI_UL_DEFAULT_CLASS_NAME "UI_UL_list"
2488 const char *listtype_name,
2489 const char *list_id,
2491 const char *propname,
2493 const char *active_propname,
2494 const char *item_dyntip_propname,
2502 const char *listtype_name,
2505 const char *propname,
2507 const char *active_propname,
2508 const char *item_dyntip_propname,
2538 const char *propname,
2543 const char *propname,
2549 const char *propname,
2554 const char *propname);
2558 const char *propname);
2574 const char *asset_library_propname,
2576 const char *assets_propname,
2578 const char *active_propname,
2581 const char *activate_opname,
2583 const char *drag_opname,
2591 bool create_properties);
2597 bool create_properties);
2600 void uiItemO(
uiLayout *layout,
const char *name,
int icon,
const char *opname);
2605 const char *propname,
2611 const char *propname,
2620 const char *propname,
2626 const char *propname,
2633 const char *propname,
2639 const char *propname,
2645 const char *propname,
2651 const char *propname,
2677 const char *menu_id,
2682 const char *propname,
2705 const char *panel_type);
2714 const char *menu_type);
2725 const char *propname,
2735 const char *propname,
2747 bool results_are_suggestions);
2750 const char *propname,
2752 const char *searchpropname,
2757 const char *propname,
2790 void uiItemL_ex(
uiLayout *layout,
const char *name,
int icon,
bool highlight,
bool redalert);
2803 void uiItemM(
uiLayout *layout,
const char *menuname,
const char *name,
int icon);
2825 void uiItemV(
uiLayout *layout,
const char *name,
int icon,
int argval);
2838 const char *panel_type,
2846 const char *category);
2859 const char *propname,
2866 const char *propname,
2873 const char *propname,
2924 bool *r_use_path_from_id,
2930 bool use_path_from_id,
2964 bool *r_is_userdef);
2998 const struct rcti *rect,
3008 const struct rcti *rect,
3017 const struct rcti *rect,
3035 const float col_fg[4],
3036 const float col_bg[4]);
3152 const struct ARegion *searchbox_region,
3153 const struct rcti *item_rect,
3157 #define UI_TOOLTIP_DELAY 0.5
3158 #define UI_TOOLTIP_DELAY_LABEL 0.2
3161 #define UI_PRECISION_FLOAT_MAX 6
3163 #define UI_PRECISION_FLOAT_SCALE 0.01f
3166 #define UI_FSTYLE_WIDGET (const uiFontStyle *)&(UI_style_get()->widget)
3192 #define USE_UI_TOOLBAR_HACK
3195 #define USE_UI_POPOVER_ONCE
3221 const struct wmDrag *drag,
3222 const char **r_disabled_hint);
#define ATTR_WARN_UNUSED_RESULT
#define ATTR_NONNULL(...)
#define CPP_ARG_DEFAULT(default_value)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_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 const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_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
_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 const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
void uiItemBooleanO(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value)
int UI_text_colorid_from_report_type(int type)
struct wmOperator * UI_context_active_operator_get(const struct bContext *C)
void uiItemS_ex(uiLayout *layout, float factor)
bool UI_but_online_manual_id(const uiBut *but, char *r_str, size_t maxlength) ATTR_WARN_UNUSED_RESULT
@ UI_BUT_ALIGN_STITCH_TOP
@ UI_BUT_ANIMATED_CHANGED
@ UI_BUT_ALIGN_STITCH_LEFT
void UI_but_flag_disable(uiBut *but, int flag)
void UI_but_disable(uiBut *but, const char *disabled_hint)
void uiTemplateIDPreview(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int rows, int cols, int filter, bool hide_buttons)
void UI_but_func_pushed_state_set(uiBut *but, uiButPushedStateFunc func, const void *arg)
uiBut * uiDefButC(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, char *poin, float min, float max, float a1, float a2, const char *tip)
bool uiLayoutGetActivateInit(uiLayout *layout)
void UI_panel_category_active_set_default(struct ARegion *region, const char *idname)
@ UI_PROP_BUTS_ANY_FAILED_CHECK
@ UI_PROP_BUTS_NONE_ADDED
uiBut * uiDefIconTextBut(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
uiLayout * uiLayoutRowWithHeading(uiLayout *layout, bool align, const char *heading)
void UI_but_drag_set_rna(uiBut *but, struct PointerRNA *ptr)
void UI_widgetbase_draw_cache_begin(void)
bool UI_context_copy_to_selected_check(struct PointerRNA *ptr, struct PointerRNA *ptr_link, struct PropertyRNA *prop, const char *path, bool use_path_from_id, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop)
uiBut * uiDefButBitI(uiBlock *block, int type, int bit, int retval, const char *str, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetActive(uiLayout *layout, bool active)
void uiItemEnumR_string_prop(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value, const char *name, int icon)
void uiItemEnumO_string(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value)
void uiItemFullR_with_popover(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon, const char *panel_type)
uiBut * uiDefIconTextButR_prop(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
void UI_paneltype_draw(struct bContext *C, struct PanelType *pt, struct uiLayout *layout)
eUIEmbossType UI_block_emboss_get(uiBlock *block)
void UI_panel_category_clear_all(struct ARegion *region)
int UI_searchbox_size_x(void)
uiBlock * UI_region_block_find_mouse_over(const struct ARegion *region, const int xy[2], bool only_clip)
bool UI_view_item_drop_handle(struct bContext *C, const uiViewItemHandle *item_, const struct ListBase *drags)
bool uiLayoutGetPropDecorate(uiLayout *layout)
void UI_style_init_default(void)
void uiTemplateMovieClip(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, bool compact)
struct bContextStore * uiLayoutGetContextStore(uiLayout *layout)
int uiLayoutGetAlignment(uiLayout *layout)
uiBlock * uiLayoutGetBlock(uiLayout *layout)
void uiItemPopoverPanelFromGroup(uiLayout *layout, struct bContext *C, int space_id, int region_id, const char *context, const char *category)
void uiLayoutSetUnitsY(uiLayout *layout, float unit)
@ UI_BUT_ACTIVATE_ON_INIT
uiBut * uiDefPulldownBut(uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip)
uiBut * uiDefIconTextMenuBut(uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, const char *str, int x, int y, short width, short height, const char *tip)
void UI_panel_category_draw_all(struct ARegion *region, const char *category_id_active)
void uiTemplateOperatorPropertyButs(const struct bContext *C, uiLayout *layout, struct wmOperator *op, eButLabelAlign label_align, short flag)
@ UI_EMBOSS_NONE_OR_STATUS
void UI_fontstyle_set(const struct uiFontStyle *fs)
void UI_panels_begin(const struct bContext *C, struct ARegion *region)
void uiTemplateNodeView(uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input)
void uiTemplateColormanagedViewSettings(struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname)
void UI_popup_menu_but_set(uiPopupMenu *pup, struct ARegion *butregion, uiBut *but)
void uiTemplateConstraints(uiLayout *layout, struct bContext *C, bool use_bone_constraints)
const struct uiStyle * UI_style_get_dpi(void)
uiLayout * uiLayoutColumnWithHeading(uiLayout *layout, bool align, const char *heading)
uiBut * uiDefIconBut(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
void UI_block_theme_style_set(uiBlock *block, char theme_style)
int UI_pie_menu_invoke_from_rna_enum(struct bContext *C, const char *title, const char *path, const struct wmEvent *event)
void uiTemplateSearch(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop)
uiBut * uiDefButImage(uiBlock *block, void *imbuf, int x, int y, short width, short height, const uchar color[4])
void uiTemplateCurveMapping(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int type, bool levels, bool brush, bool neg_slope, bool tone)
int UI_searchbox_size_y(void)
bool UI_panel_can_be_pinned(const struct Panel *panel)
void uiLayoutSetEnabled(uiLayout *layout, bool enabled)
void UI_panel_context_pointer_set(struct Panel *panel, const char *name, struct PointerRNA *ptr)
void UI_popup_block_close(struct bContext *C, struct wmWindow *win, uiBlock *block)
void UI_panel_header_buttons_begin(struct Panel *panel)
void uiTemplateCacheFileLayers(uiLayout *layout, const struct bContext *C, struct PointerRNA *fileptr)
void UI_draw_icon_tri(float x, float y, char dir, const float[4])
void UI_popup_block_invoke_ex(struct bContext *C, uiBlockCreateFunc func, void *arg, uiFreeArgFunc arg_free, bool can_refresh)
void UI_but_node_link_set(uiBut *but, struct bNodeSocket *socket, const float draw_color[4])
struct ARegion * UI_tooltip_create_from_button(struct bContext *C, struct ARegion *butregion, uiBut *but, bool is_label)
uiLayout * uiLayoutColumn(uiLayout *layout, bool align)
bool UI_block_apply_search_filter(uiBlock *block, const char *search_filter)
bool UI_block_can_add_separator(const uiBlock *block)
int UI_icon_from_report_type(int type)
void UI_blocklist_free(const struct bContext *C, struct ARegion *region)
struct ARegion *(* uiButSearchCreateFn)(struct bContext *C, struct ARegion *butregion, struct uiButSearch *search_but)
uiBut * uiDefIconButBitC(uiBlock *block, int type, int bit, int retval, int icon, int x, int y, short width, short height, char *poin, float min, float max, float a1, float a2, const char *tip)
void UI_drop_color_copy(struct bContext *C, struct wmDrag *drag, struct wmDropBox *drop)
void UI_block_interaction_set(uiBlock *block, uiBlockInteraction_CallbackData *callbacks)
uiLayout * uiLayoutGridFlow(uiLayout *layout, bool row_major, int columns_len, bool even_columns, bool even_rows, bool align)
void uiTemplateRunningJobs(uiLayout *layout, struct bContext *C)
uiLayout * uiLayoutOverlap(uiLayout *layout)
void UI_draw_roundbox_4fv(const struct rctf *rect, bool filled, float rad, const float col[4])
void uiTemplatePathBuilder(uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *root_ptr, const char *text)
uiBut * uiDefButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, const char *str, int x, int y, short width, short height, const char *tip)
void uiTemplateCacheFileVelocity(uiLayout *layout, struct PointerRNA *fileptr)
void UI_panel_label_offset(const struct uiBlock *block, int *r_x, int *r_y)
int(* uiButCompleteFunc)(struct bContext *C, char *str, void *arg)
void UI_menutype_draw(struct bContext *C, struct MenuType *mt, struct uiLayout *layout)
void uiLayoutSetFixedSize(uiLayout *layout, bool fixed_size)
void(* uiButHandleNFunc)(struct bContext *C, void *argN, void *arg2)
void uiItemPopoverPanel_ptr(uiLayout *layout, const struct bContext *C, struct PanelType *pt, const char *name, int icon)
void uiTemplateIcon(uiLayout *layout, int icon_value, float icon_scale)
void UI_popup_handlers_remove_all(struct bContext *C, struct ListBase *handlers)
const struct PointerRNA * UI_but_context_ptr_get(const uiBut *but, const char *name, const StructRNA *type CPP_ARG_DEFAULT(nullptr))
uiBut * uiDefBut(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
int UI_blocklist_min_y_get(struct ListBase *lb)
void(* uiButHandleHoldFunc)(struct bContext *C, struct ARegion *butregion, uiBut *but)
uiBut * uiDefButF(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, float *poin, float min, float max, float a1, float a2, const char *tip)
float uiLayoutGetUnitsY(uiLayout *layout)
uiPropertySplitWrapper uiItemPropertySplitWrapperCreate(uiLayout *parent_layout)
void uiTemplateHeader3D_mode(uiLayout *layout, struct bContext *C)
uiBut * uiDefIconButI(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetScaleY(uiLayout *layout, float scale)
void UI_block_lock_clear(uiBlock *block)
void(* uiBlockHandleFunc)(struct bContext *C, void *arg, int event)
void UI_but_func_search_set_results_are_suggestions(uiBut *but, bool value)
uiLayout * uiTemplateGpencilModifier(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr)
void UI_block_bounds_set_normal(struct uiBlock *block, int addval)
void UI_but_func_tooltip_set(uiBut *but, uiButToolTipFunc func, void *arg, uiFreeArgFunc free_arg)
void *(* uiBlockInteractionBeginFn)(struct bContext *C, const struct uiBlockInteraction_Params *params, void *arg1)
void UI_blocklist_update_window_matrix(const struct bContext *C, const struct ListBase *lb)
const char * UI_panel_category_active_get(struct ARegion *region, bool set_fallback)
void UI_block_bounds_set_popup(uiBlock *block, int addval, const int bounds_offset[2])
bool UI_but_active_only_ex(const struct bContext *C, struct ARegion *region, uiBlock *block, uiBut *but, bool remove_on_failure)
struct PointerRNA * UI_but_operator_ptr_get(uiBut *but)
void UI_fontstyle_draw_ex(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, size_t str_len, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params, int *r_xofs, int *r_yofs, struct ResultBLF *r_info)
void uiTemplateGpencilModifiers(uiLayout *layout, struct bContext *C)
struct uiLayout * UI_pie_menu_layout(struct uiPieMenu *pie)
struct PointerRNA * UI_but_extra_operator_icon_opptr_get(struct uiButExtraOpIcon *extra_icon)
void uiTemplateShaderFx(uiLayout *layout, struct bContext *C)
void UI_draw_text_underline(int pos_x, int pos_y, int len, int height, const float color[4])
int UI_but_unit_type_get(const uiBut *but)
int UI_panel_size_y(const struct Panel *panel)
uiBut * uiDefIconTextButI(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
uiBut * uiDefIconTextBlockBut(uiBlock *block, uiBlockCreateFunc func, void *arg, int icon, const char *str, int x, int y, short width, short height, const char *tip)
void uiItemIntO(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value)
void uiTemplateColorspaceSettings(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname)
bool UI_butstore_is_valid(uiButStore *bs)
void uiItemL(uiLayout *layout, const char *name, int icon)
void uiItemMenuEnumO(uiLayout *layout, struct bContext *C, const char *opname, const char *propname, const char *name, int icon)
void uiLayoutSetActiveDefault(uiLayout *layout, bool active_default)
const struct uiStyle * UI_style_get(void)
uiBut * uiDefAutoButR(uiBlock *block, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, const char *name, int icon, int x, int y, int width, int height)
uiLayout * uiItemsAlertBox(uiBlock *block, int size, eAlertIcon icon)
int(* uiButPushedStateFunc)(struct uiBut *but, const void *arg)
void uiItemFullR_with_menu(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon, const char *menu_type)
ENUM_OPERATORS(eAutoPropButsReturn, UI_PROP_BUTS_ANY_FAILED_CHECK)
@ UI_BLOCK_THEME_STYLE_REGULAR
@ UI_BLOCK_THEME_STYLE_POPUP
uiBut * uiDefIconButR(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetRedAlert(uiLayout *layout, bool redalert)
void uiItemMenuEnumFullO_ptr(uiLayout *layout, struct bContext *C, struct wmOperatorType *ot, const char *propname, const char *name, int icon, struct PointerRNA *r_opptr)
void UI_but_func_search_set(uiBut *but, uiButSearchCreateFn search_create_fn, uiButSearchUpdateFn search_update_fn, void *arg, bool free_arg, uiFreeArgFunc search_arg_free_fn, uiButHandleFunc search_exec_fn, void *active)
uiBut * uiDefIconButR_prop(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
uiBut * UI_context_active_but_get(const struct bContext *C)
bool UI_but_is_userdef(const uiBut *but)
void uiTemplateHistogram(uiLayout *layout, struct PointerRNA *ptr, const char *propname)
struct ARegion * UI_tooltip_create_from_button_or_extra_icon(struct bContext *C, struct ARegion *butregion, uiBut *but, uiButExtraOpIcon *extra_icon, bool is_label)
bool UI_view_item_is_active(const uiViewItemHandle *item_handle)
void uiTemplateCacheFileProcedural(uiLayout *layout, const struct bContext *C, struct PointerRNA *fileptr)
struct Panel * UI_panel_find_by_type(struct ListBase *lb, const struct PanelType *pt)
struct PointerRNA * UI_panel_custom_data_get(const struct Panel *panel)
bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid, int but_flag, uint8_t name_prefix_offset)
void uiItemsFullEnumO_items(uiLayout *layout, struct wmOperatorType *ot, struct PointerRNA ptr, struct PropertyRNA *prop, struct IDProperty *properties, wmOperatorCallContext context, int flag, const struct EnumPropertyItem *item_array, int totitem)
void uiItemFullOMenuHold_ptr(uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, wmOperatorCallContext context, int flag, const char *menu_id, struct PointerRNA *r_opptr)
uiBut * uiDefIconBlockBut(uiBlock *block, uiBlockCreateFunc func, void *arg, int retval, int icon, int x, int y, short width, short height, const char *tip)
bool UI_but_is_utf8(const uiBut *but)
uiLayout * uiLayoutAbsolute(uiLayout *layout, bool align)
void(* uiBlockInteractionUpdateFn)(struct bContext *C, const struct uiBlockInteraction_Params *params, void *arg1, void *user_data)
uiViewItemHandle * UI_region_views_find_active_item(const struct ARegion *region)
void uiItemPopoverPanel(uiLayout *layout, const struct bContext *C, const char *panel_type, const char *name, int icon)
void uiTemplateImageViews(uiLayout *layout, struct PointerRNA *imaptr)
void uiLayoutSetScaleX(uiLayout *layout, float scale)
bool UI_block_is_empty(const uiBlock *block)
struct uiLayout * UI_popover_layout(uiPopover *pup)
void UI_but_func_menu_step_set(uiBut *but, uiMenuStepFunc func)
uiViewItemHandle * UI_region_views_find_item_at(const struct ARegion *region, const int xy[2]) ATTR_NONNULL()
void uiTemplateIconView(uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool show_labels, float icon_scale, float icon_scale_popup)
void UI_panel_category_active_set(struct ARegion *region, const char *idname)
struct ARegion * UI_tooltip_create_from_search_item_generic(struct bContext *C, const struct ARegion *searchbox_region, const struct rcti *item_rect, const uiSearchItemTooltipData *item_tooltip_data)
float uiLayoutGetUnitsX(uiLayout *layout)
int UI_icon_colorid_from_report_type(int type)
bool UI_but_active_drop_name(const struct bContext *C)
void UI_fontstyle_draw_simple(const struct uiFontStyle *fs, float x, float y, const char *str, const uchar col[4])
void uiTemplateEditModeSelection(uiLayout *layout, struct bContext *C)
void ED_dropboxes_ui(void)
void UI_block_flag_disable(uiBlock *block, int flag)
bool UI_but_active_drop_color(struct bContext *C)
char *(* uiButToolTipFunc)(struct bContext *C, void *argN, const char *tip)
void *(* uiCopyArgFunc)(const void *arg)
void UI_draw_roundbox_3fv_alpha(const struct rctf *rect, bool filled, float rad, const float col[3], float alpha)
void UI_popover_once_clear(uiPopover *pup)
void UI_panel_custom_data_set(struct Panel *panel, struct PointerRNA *custom_data)
struct uiLayout * UI_popup_menu_layout(uiPopupMenu *pup)
struct Panel * UI_panel_add_instanced(const struct bContext *C, struct ARegion *region, struct ListBase *panels, const char *panel_idname, struct PointerRNA *custom_data)
struct uiBlockInteraction_CallbackData uiBlockInteraction_CallbackData
void UI_but_drawflag_enable(uiBut *but, int flag)
uiLayout * uiLayoutBox(uiLayout *layout)
void UI_butstore_update(uiBlock *block)
void uiLayoutContextCopy(uiLayout *layout, struct bContextStore *context)
void UI_blocklist_free_inactive(const struct bContext *C, struct ARegion *region)
void uiTemplateImageSettings(uiLayout *layout, struct PointerRNA *imfptr, bool color_management)
int UI_but_return_value_get(uiBut *but)
void UI_but_tooltip_refresh(struct bContext *C, uiBut *but)
void UI_but_func_search_set_tooltip(uiBut *but, uiButSearchTooltipFn tooltip_fn)
void uiLayoutSetAlignment(uiLayout *layout, char alignment)
void uiDefAutoButsArrayR(uiBlock *block, PointerRNA *ptr, PropertyRNA *prop, const int icon, const int x, const int y, const int tot_width, const int height)
bool uiLayoutGetEnabled(uiLayout *layout)
bool UI_textbutton_activate_but(const struct bContext *C, uiBut *but)
void uiItemV(uiLayout *layout, const char *name, int icon, int argval)
void UI_butstore_free(uiBlock *block, uiButStore *bs)
void UI_but_tooltip_timer_remove(struct bContext *C, uiBut *but)
struct PanelCategoryStack * UI_panel_category_active_find(struct ARegion *region, const char *idname)
uiBlock * uiLayoutAbsoluteBlock(uiLayout *layout)
@ UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED
@ UI_TEMPLATE_OP_PROPS_SHOW_EMPTY
@ UI_TEMPLATE_OP_PROPS_SHOW_TITLE
@ UI_TEMPLATE_OP_PROPS_COMPACT
@ UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT
void uiTemplateIDTabs(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *menu, int filter)
void uiLayoutSetPropSep(uiLayout *layout, bool is_sep)
void(* uiButSearchUpdateFn)(const struct bContext *C, void *arg, const char *str, uiSearchItems *items, bool is_first)
bool UI_view_item_drag_start(struct bContext *C, const uiViewItemHandle *item_)
void UI_draw_roundbox_corner_set(int type)
struct PointerRNA * UI_region_panel_custom_data_under_cursor(const struct bContext *C, const struct wmEvent *event)
void UI_but_number_step_size_set(uiBut *but, float step_size)
AutoComplete * UI_autocomplete_begin(const char *startname, size_t maxlen)
void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg)
void uiItemS(uiLayout *layout)
void ED_operatortypes_ui(void)
void UI_but_func_menu_search(uiBut *but)
bool(* uiButIdentityCompareFunc)(const uiBut *a, const uiBut *b)
void uiItemMenuEnumR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name, int icon)
void uiTemplateMenuSearch(uiLayout *layout)
void UI_but_func_identity_compare_set(uiBut *but, uiButIdentityCompareFunc cmp_fn)
@ UI_BUT_LABEL_ALIGN_SPLIT_COLUMN
@ UI_BUT_LABEL_ALIGN_NONE
@ UI_BUT_LABEL_ALIGN_COLUMN
void UI_region_message_subscribe(struct ARegion *region, struct wmMsgBus *mbus)
int uiTemplateRecentFiles(struct uiLayout *layout, int rows)
void UI_region_free_active_but_all(struct bContext *context, struct ARegion *region)
void UI_context_active_but_prop_get_templateID(struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop)
struct PanelCategoryDyn * UI_panel_category_find(const struct ARegion *region, const char *idname)
float uiLayoutGetScaleY(uiLayout *layout)
void uiTemplateOperatorSearch(uiLayout *layout)
void uiTemplateVectorscope(uiLayout *layout, struct PointerRNA *ptr, const char *propname)
struct PanelType * UI_but_paneltype_get(uiBut *but)
bool UI_panel_is_active(const struct Panel *panel)
void uiTemplateCryptoPicker(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int icon)
void uiTemplateReportsBanner(uiLayout *layout, struct bContext *C)
void uiTemplateFileSelectPath(uiLayout *layout, struct bContext *C, struct FileSelectParams *params)
struct uiStringInfo uiStringInfo
float UI_text_clip_middle_ex(const struct uiFontStyle *fstyle, char *str, float okwidth, float minwidth, size_t max_len, char rpart_sep)
void uiItemEnumO(uiLayout *layout, const char *opname, const char *name, int icon, const char *propname, int value)
void UI_popup_menu_reports(struct bContext *C, struct ReportList *reports) ATTR_NONNULL()
void UI_editsource_but_replace(const uiBut *old_but, uiBut *new_but)
void UI_panel_end(struct Panel *panel, int width, int height)
uiLayout * uiLayoutRow(uiLayout *layout, bool align)
bool uiLayoutGetActive(uiLayout *layout)
uiLayout * uiLayoutColumnFlow(uiLayout *layout, int number, bool align)
void UI_list_panel_unique_str(struct Panel *panel, char *r_name)
void uiItemFullO_ptr(uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, wmOperatorCallContext context, int flag, struct PointerRNA *r_opptr)
void uiItemsEnumR(uiLayout *layout, struct PointerRNA *ptr, const char *propname)
void UI_blocklist_update_view_for_buttons(const struct bContext *C, const struct ListBase *lb)
void UI_panels_free_instanced(const struct bContext *C, struct ARegion *region)
void uiTemplateImageInfo(uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser)
bool UI_panel_list_matches_data(struct ARegion *region, struct ListBase *data, uiListPanelIDFromDataFunc panel_idname_func)
void(* uiFreeArgFunc)(void *arg)
void UI_butstore_unregister(uiButStore *bs_handle, uiBut **but_p)
void UI_but_drag_set_id(uiBut *but, struct ID *id)
bool UI_butstore_register_update(uiBlock *block, uiBut *but_dst, const uiBut *but_src)
bool uiLayoutGetKeepAspect(uiLayout *layout)
void ED_keymap_ui(struct wmKeyConfig *keyconf)
User Interface Keymap.
uiBut * uiDefIconButS(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
bool uiLayoutGetPropSep(uiLayout *layout)
uiBut * uiDefIconButBitS(uiBlock *block, int type, int bit, int retval, int icon, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
void uiTemplateCurveProfile(uiLayout *layout, struct PointerRNA *ptr, const char *propname)
int UI_pie_menu_invoke_from_operator_enum(struct bContext *C, const char *title, const char *opname, const char *propname, const struct wmEvent *event)
bool UI_popup_menu_end_or_cancel(struct bContext *C, struct uiPopupMenu *pup)
void uiTemplatePalette(uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool colors)
void UI_but_drag_set_image(uiBut *but, const char *path, int icon, struct ImBuf *imb, float scale, bool use_free)
uiLayout * uiLayoutListBox(uiLayout *layout, struct uiList *ui_list, struct PointerRNA *actptr, struct PropertyRNA *actprop)
void UI_but_func_operator_search(uiBut *but)
int UI_autocomplete_end(AutoComplete *autocpl, char *autoname)
void UI_widgetbase_draw_cache_end(void)
void uiLayoutSetUnitsX(uiLayout *layout, float unit)
void uiItemFloatO(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, float value)
void UI_editsource_active_but_test(uiBut *but)
void uiTemplateLayers(uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *used_ptr, const char *used_propname, int active_layer)
void UI_panel_category_add(struct ARegion *region, const char *name)
eUIEmbossType uiLayoutGetEmboss(uiLayout *layout)
void UI_block_end(const struct bContext *C, uiBlock *block)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
@ UI_ITEM_R_FORCE_BLANK_DECORATE
@ UI_ITEM_R_CHECKBOX_INVERT
bool UI_block_is_search_only(const uiBlock *block)
int int UI_fontstyle_string_width_with_block_aspect(const struct uiFontStyle *fs, const char *str, float aspect) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
uiBut * uiDefButR(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
@ UI_TEMPLATE_ASSET_DRAW_NO_NAMES
@ UI_TEMPLATE_ASSET_DRAW_NO_LIBRARY
@ UI_TEMPLATE_ASSET_DRAW_NO_FILTER
void UI_but_type_set_menu_from_pulldown(uiBut *but)
void UI_context_active_but_prop_handle(struct bContext *C, bool handle_undo)
int UI_icon_from_id(const struct ID *id)
void uiLayoutSetTooltipFunc(uiLayout *layout, uiButToolTipFunc func, void *arg, uiCopyArgFunc copy_arg, uiFreeArgFunc free_arg)
uiBut * uiDefSearchButO_ptr(uiBlock *block, struct wmOperatorType *ot, struct IDProperty *properties, void *arg, int retval, int icon, int maxlen, int x, int y, short width, short height, float a1, float a2, const char *tip)
bool UI_view_item_can_drop(const uiViewItemHandle *item_, const struct wmDrag *drag, const char **r_disabled_hint)
int uiLayoutGetLocalDir(const uiLayout *layout)
@ UI_BLOCK_BOUNDS_PIE_CENTER
@ UI_BLOCK_BOUNDS_POPUP_MOUSE
@ UI_BLOCK_BOUNDS_POPUP_CENTER
@ UI_BLOCK_BOUNDS_POPUP_MENU
void UI_block_emboss_set(uiBlock *block, eUIEmbossType emboss)
void UI_popup_block_ex(struct bContext *C, uiBlockCreateFunc func, uiBlockHandleFunc popup_func, uiBlockCancelFunc cancel_func, void *arg, struct wmOperator *op)
uiBut * uiDefButS(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
void uiItemSpacer(uiLayout *layout)
struct uiPropertySplitWrapper uiPropertySplitWrapper
void UI_but_drag_set_path(uiBut *but, const char *path, bool use_free)
uiBut * uiDefIconTextButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip)
void uiLayoutSetKeepAspect(uiLayout *layout, bool keepaspect)
int UI_icon_from_keymap_item(const struct wmKeyMapItem *kmi, int r_icon_mod[4])
void UI_popup_handlers_add(struct bContext *C, struct ListBase *handlers, uiPopupBlockHandle *popup, char flag)
void uiTemplateKeymapItemProperties(uiLayout *layout, struct PointerRNA *ptr)
void UI_block_draw(const struct bContext *C, struct uiBlock *block)
uiBut * uiDefIconTextButO_ptr(uiBlock *block, int type, struct wmOperatorType *ot, wmOperatorCallContext opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip)
bool uiLayoutGetFixedSize(uiLayout *layout)
void UI_block_func_set(uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2)
struct ARegion *(* uiButSearchTooltipFn)(struct bContext *C, struct ARegion *region, const struct rcti *item_rect, void *arg, void *active)
struct uiList * uiTemplateList_ex(uiLayout *layout, struct bContext *C, const char *listtype_name, const char *list_id, struct PointerRNA *dataptr, const char *propname, struct PointerRNA *active_dataptr, const char *active_propname, const char *item_dyntip_propname, int rows, int maxrows, int layout_type, int columns, enum uiTemplateListFlags flags, void *customdata)
void UI_but_func_search_set_context_menu(uiBut *but, uiButSearchContextMenuFn context_menu_fn)
struct uiViewHandle uiViewHandle
void uiItemMenuEnumFullO(uiLayout *layout, struct bContext *C, const char *opname, const char *propname, const char *name, int icon, struct PointerRNA *r_opptr)
void UI_block_bounds_set_menu(uiBlock *block, int addval, const int bounds_offset[2])
void(* uiButHandleRenameFunc)(struct bContext *C, void *arg, char *origstr)
bool UI_but_active_only(const struct bContext *C, struct ARegion *region, uiBlock *block, uiBut *but)
void uiItemEnumR_prop(uiLayout *layout, const char *name, int icon, struct PointerRNA *ptr, struct PropertyRNA *prop, int value)
bool UI_editsource_enable_check(void)
void uiTemplateOperatorRedoProperties(uiLayout *layout, const struct bContext *C)
void UI_but_func_rename_set(uiBut *but, uiButHandleRenameFunc func, void *arg1)
uiBut * uiDefBlockButN(uiBlock *block, uiBlockCreateFunc func, void *argN, const char *str, int x, int y, short width, short height, const char *tip)
void UI_tooltip_free(struct bContext *C, struct bScreen *screen, struct ARegion *region)
uiPopupMenu * UI_popup_menu_begin_ex(struct bContext *C, const char *title, const char *block_name, int icon) ATTR_NONNULL()
bool UI_block_is_empty_ex(const uiBlock *block, bool skip_title)
void uiItemMContents(uiLayout *layout, const char *menuname)
void UI_popover_end(struct bContext *C, struct uiPopover *pup, struct wmKeyMap *keymap)
void UI_but_drawflag_disable(uiBut *but, int flag)
bool uiLayoutGetActiveDefault(uiLayout *layout)
void(* uiListPanelIDFromDataFunc)(void *data_link, char *r_idname)
int uiLayoutGetOperatorContext(uiLayout *layout)
uiBut * uiDefIconButO_ptr(uiBlock *block, int type, struct wmOperatorType *ot, wmOperatorCallContext opcontext, int icon, int x, int y, short width, short height, const char *tip)
bool UI_view_item_matches(const uiViewItemHandle *a_handle, const uiViewItemHandle *b_handle)
struct wmOperatorType * UI_but_operatortype_get_from_enum_menu(struct uiBut *but, struct PropertyRNA **r_prop)
int UI_preview_tile_size_x(void)
uiLayout * UI_block_layout(uiBlock *block, int dir, int type, int x, int y, int size, int em, int padding, const struct uiStyle *style)
void uiItemsEnumO(uiLayout *layout, const char *opname, const char *propname)
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
void UI_panel_header_buttons_end(struct Panel *panel)
void UI_fontstyle_draw(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, size_t str_len, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params)
bool uiTemplateCacheFilePointer(struct PointerRNA *ptr, const char *propname, struct PointerRNA *r_file_ptr)
void(* uiButHandleFunc)(struct bContext *C, void *arg1, void *arg2)
bool UI_butstore_is_registered(uiBlock *block, uiBut *but)
void UI_block_bounds_set_text(uiBlock *block, int addval)
void UI_but_func_set(uiBut *but, uiButHandleFunc func, void *arg1, void *arg2)
void uiTemplateModifiers(uiLayout *layout, struct bContext *C)
void uiTemplateNodeSocket(uiLayout *layout, struct bContext *C, float color[4])
struct MenuType * UI_but_menutype_get(uiBut *but)
void uiItemM_ptr(uiLayout *layout, struct MenuType *mt, const char *name, int icon)
void UI_draw_roundbox_3ub_alpha(const struct rctf *rect, bool filled, float rad, const unsigned char col[3], unsigned char alpha)
uiBut * uiDefButR_prop(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
uiBut * uiDefButBitS(uiBlock *block, int type, int bit, int retval, const char *str, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
uiButStore * UI_butstore_create(uiBlock *block)
void UI_panels_end(const struct bContext *C, struct ARegion *region, int *r_x, int *r_y)
void uiTemplateImage(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr, bool compact, bool multiview)
void UI_block_align_begin(uiBlock *block)
uiLayout * uiLayoutRadial(uiLayout *layout)
bool UI_panel_category_is_visible(const struct ARegion *region)
uiBut * uiDefBlockBut(uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip)
@ BUT_GET_RNASTRUCT_IDENTIFIER
@ BUT_GET_RNAPROP_IDENTIFIER
@ BUT_GET_RNA_LABEL_CONTEXT
@ BUT_GET_RNAENUM_IDENTIFIER
uiBut * uiDefIconMenuBut(uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, int x, int y, short width, short height, const char *tip)
uiBut * UI_region_active_but_get(const struct ARegion *region)
void uiTemplateImageLayers(uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser)
void UI_but_execute(const struct bContext *C, struct ARegion *region, uiBut *but)
void UI_butstore_register(uiButStore *bs_handle, uiBut **but_p)
void uiLayoutSetEmboss(uiLayout *layout, eUIEmbossType emboss)
void UI_pie_menu_end(struct bContext *C, uiPieMenu *pie)
bool UI_panel_should_show_background(const struct ARegion *region, const struct PanelType *panel_type)
void UI_view_item_context_menu_build(struct bContext *C, const uiViewItemHandle *item_handle, uiLayout *column)
int uiLayoutGetWidth(uiLayout *layout)
void uiItemPointerR_prop(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, struct PointerRNA *searchptr, struct PropertyRNA *searchprop, const char *name, int icon, bool results_are_suggestions)
void UI_butstore_clear(uiBlock *block)
uiBut * uiDefIconTextButR(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
void uiItemO(uiLayout *layout, const char *name, int icon, const char *opname)
void uiItemEnumR_string(uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *value, const char *name, int icon)
void UI_draw_roundbox_aa(const struct rctf *rect, bool filled, float rad, const float color[4])
void uiTemplateMovieclipInformation(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr)
void uiLayoutSetContextPointer(uiLayout *layout, const char *name, struct PointerRNA *ptr)
void uiTemplateStatusInfo(uiLayout *layout, struct bContext *C)
void UI_block_free(const struct bContext *C, uiBlock *block)
void UI_context_active_but_clear(struct bContext *C, struct wmWindow *win, struct ARegion *region)
void ED_uilisttypes_ui(void)
void uiItemTabsEnumR_prop(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, struct PointerRNA *ptr_highlight, struct PropertyRNA *prop_highlight, bool icon_only)
bool UI_view_item_can_rename(const uiViewItemHandle *item_handle)
bool UI_block_active_only_flagged_buttons(const struct bContext *C, struct ARegion *region, struct uiBlock *block)
void uiTemplateAssetView(struct uiLayout *layout, struct bContext *C, const char *list_id, struct PointerRNA *asset_library_dataptr, const char *asset_library_propname, struct PointerRNA *assets_dataptr, const char *assets_propname, struct PointerRNA *active_dataptr, const char *active_propname, const struct AssetFilterSettings *filter_settings, int display_flags, const char *activate_opname, struct PointerRNA *r_activate_op_properties, const char *drag_opname, struct PointerRNA *r_drag_op_properties)
void uiTemplatePreview(uiLayout *layout, struct bContext *C, struct ID *id, bool show_buttons, struct ID *parent, struct MTex *slot, const char *preview_id)
void uiItemEnumO_value(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value)
void UI_but_func_search_set_sep_string(uiBut *but, const char *search_sep_string)
void UI_but_hint_drawstr_set(uiBut *but, const char *string)
void UI_interface_tag_script_reload(void)
float uiLayoutGetScaleX(uiLayout *layout)
bool UI_block_layout_needs_resolving(const uiBlock *block)
uiBlock * UI_block_begin(const struct bContext *C, struct ARegion *region, const char *name, eUIEmbossType emboss)
void uiTemplateTrack(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname)
void uiTemplateCacheFileTimeSettings(uiLayout *layout, struct PointerRNA *fileptr)
void uiLayoutSetPropDecorate(uiLayout *layout, bool is_sep)
bool uiTemplateEventFromKeymapItem(struct uiLayout *layout, const char *text, const struct wmKeyMapItem *kmi, bool text_fallback)
uiLayout * uiLayoutSplit(uiLayout *layout, float percentage, bool align)
void uiTemplateHeader(uiLayout *layout, struct bContext *C)
void(* uiBlockInteractionEndFn)(struct bContext *C, const struct uiBlockInteraction_Params *params, void *arg1, void *user_data)
void uiItemFullO(uiLayout *layout, const char *opname, const char *name, int icon, struct IDProperty *properties, wmOperatorCallContext context, int flag, struct PointerRNA *r_opptr)
void UI_block_order_flip(uiBlock *block)
void uiLayoutSetContextFromBut(uiLayout *layout, uiBut *but)
void uiTemplateList(uiLayout *layout, struct bContext *C, const char *listtype_name, const char *list_id, struct PointerRNA *dataptr, const char *propname, struct PointerRNA *active_dataptr, const char *active_propname, const char *item_dyntip_propname, int rows, int maxrows, int layout_type, int columns, enum uiTemplateListFlags flags)
void uiTemplateGpencilColorPreview(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, int rows, int cols, float scale, int filter)
uiBut * uiDefButO_ptr(uiBlock *block, int type, struct wmOperatorType *ot, wmOperatorCallContext opcontext, const char *str, int x, int y, short width, short height, const char *tip)
struct PointerRNA * UI_list_custom_drag_operator_set(struct uiList *ui_list, const char *opname, bool create_properties)
eAutoPropButsReturn uiDefAutoButsRNA(uiLayout *layout, struct PointerRNA *ptr, bool(*check_prop)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data), void *user_data, struct PropertyRNA *prop_activate_init, eButLabelAlign label_align, bool compact)
void UI_block_layout_free(uiBlock *block)
uiBut * uiDefMenuBut(uiBlock *block, uiMenuCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip)
void UI_block_func_butmenu_set(uiBlock *block, uiMenuHandleFunc func, void *arg)
void UI_blocklist_draw(const struct bContext *C, const struct ListBase *lb)
void UI_but_number_precision_set(uiBut *but, float precision)
void UI_block_bounds_set_centered(uiBlock *block, int addval)
void uiItemDecoratorR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int index)
bool(* uiButSearchContextMenuFn)(struct bContext *C, void *arg, void *active, const struct wmEvent *event)
void uiItemMenuEnumR_prop(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *name, int icon)
void UI_context_active_but_prop_get_filebrowser(const struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop, bool *r_is_undo, bool *r_is_userdef)
void uiTemplateTextureUser(uiLayout *layout, struct bContext *C)
void uiTemplateNodeLink(uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input)
void UI_draw_roundbox_4fv_ex(const struct rctf *rect, const float inner1[4], const float inner2[4], float shade_dir, const float outline[4], float outline_width, float rad)
void uiTemplateIDBrowse(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter, const char *text)
void uiTemplateInputStatus(uiLayout *layout, struct bContext *C)
struct ARegion * UI_tooltip_create_from_gizmo(struct bContext *C, struct wmGizmo *gz)
void UI_panels_draw(const struct bContext *C, struct ARegion *region)
int UI_icon_from_event_type(short event_type, short event_value)
void uiTemplateID(uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter, bool live_icon, const char *text)
void UI_block_layout_resolve(uiBlock *block, int *r_x, int *r_y)
void UI_but_extra_icon_string_info_get(struct bContext *C, uiButExtraOpIcon *extra_icon,...) ATTR_SENTINEL(0)
uiBut * uiDefButI(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
uiLayout * uiItemL_respect_property_split(uiLayout *layout, const char *text, int icon)
uiBut * UI_context_active_but_prop_get(const struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop, int *r_index)
void UI_region_handlers_add(struct ListBase *handlers)
void uiTemplateTextureShow(uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop)
void uiItemDecoratorR_prop(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index)
bool UI_textbutton_activate_rna(const struct bContext *C, struct ARegion *region, const void *rna_poin_data, const char *rna_prop_id)
void uiTemplateImageStereo3d(uiLayout *layout, struct PointerRNA *stereo3d_format_ptr)
void UI_popup_menu_end(struct bContext *C, struct uiPopupMenu *pup)
void(* uiMenuCreateFunc)(struct bContext *C, struct uiLayout *layout, void *arg1)
void UI_but_drag_set_value(uiBut *but)
struct PointerRNA * UI_but_extra_operator_icon_add(uiBut *but, const char *opname, wmOperatorCallContext opcontext, int icon)
struct uiDragColorHandle uiDragColorHandle
void uiLayoutSetActivateInit(uiLayout *layout, bool activate_init)
void uiTemplateColorRamp(uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool expand)
void(* uiMenuHandleFunc)(struct bContext *C, void *arg, int event)
struct uiPieMenu * UI_pie_menu_begin(struct bContext *C, const char *title, int icon, const struct wmEvent *event) ATTR_NONNULL()
bool(* uiMenuStepFunc)(struct bContext *C, int direction, void *arg1)
void uiItemStringO(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value)
void UI_block_views_listen(const uiBlock *block, const struct wmRegionListenerParams *listener_params)
int int int UI_fontstyle_height_max(const struct uiFontStyle *fs)
void UI_but_ensure_in_view(const struct bContext *C, struct ARegion *region, const uiBut *but)
uiBut * uiDefSearchBut(uiBlock *block, void *arg, int retval, int icon, int maxlen, int x, int y, short width, short height, float a1, float a2, const char *tip)
void uiTemplateAnyID(uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *proptypename, const char *text)
uiBut * uiDefButBitC(uiBlock *block, int type, int bit, int retval, const char *str, int x, int y, short width, short height, char *poin, float min, float max, float a1, float a2, const char *tip)
void UI_block_direction_set(uiBlock *block, char direction)
void UI_but_func_hold_set(uiBut *but, uiButHandleHoldFunc func, void *argN)
bool UI_context_copy_to_selected_list(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, struct ListBase *r_lb, bool *r_use_path_from_id, char **r_path)
void UI_draw_box_shadow(const struct rctf *rect, unsigned char alpha)
void UI_but_focus_on_enter_event(struct wmWindow *win, uiBut *but)
void UI_but_drag_set_asset(uiBut *but, const struct AssetHandle *asset, const char *path, struct AssetMetaData *metadata, int import_type, int icon, struct ImBuf *imb, float scale)
int UI_search_items_find_index(uiSearchItems *items, const char *name)
struct uiList * UI_list_find_mouse_over(const struct ARegion *region, const struct wmEvent *event)
int UI_preview_tile_size_y(void)
void uiItemEnumR(uiLayout *layout, const char *name, int icon, struct PointerRNA *ptr, const char *propname, int value)
void UI_but_drag_attach_image(uiBut *but, struct ImBuf *imb, float scale)
bool UI_panel_matches_search_filter(const struct Panel *panel)
void UI_but_func_complete_set(uiBut *but, uiButCompleteFunc func, void *arg)
void UI_fontstyle_draw_simple_backdrop(const struct uiFontStyle *fs, float x, float y, const char *str, const float col_fg[4], const float col_bg[4])
struct ARegion * UI_region_searchbox_region_get(const struct ARegion *button_region)
struct Panel * UI_panel_begin(struct ARegion *region, struct ListBase *lb, uiBlock *block, struct PanelType *pt, struct Panel *panel, bool *r_open)
void UI_but_func_drawextra_set(uiBlock *block, void(*func)(const struct bContext *C, void *, void *, void *, struct rcti *rect), void *arg1, void *arg2)
void UI_block_layout_set_current(uiBlock *block, uiLayout *layout)
void uiItemMenuF(uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *arg)
void uiItemFullR(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon)
void uiTemplateCacheFile(uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, const char *propname)
void UI_but_funcN_set(uiBut *but, uiButHandleNFunc funcN, void *argN, void *arg2)
void UI_view_item_begin_rename(uiViewItemHandle *item_handle)
void UI_theme_init_default(void)
void UI_widgetbase_draw_cache_flush(void)
void UI_reinit_font(void)
int UI_popover_panel_invoke(struct bContext *C, const char *idname, bool keep_open, struct ReportList *reports)
void UI_block_end_ex(const struct bContext *C, uiBlock *block, const int xy[2], int r_xy[2])
struct uiViewItemHandle uiViewItemHandle
void UI_block_flag_enable(uiBlock *block, int flag)
uiBut * uiDefIconButBitI(uiBlock *block, int type, int bit, int retval, int icon, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
uiBut * UI_context_active_but_get_respect_menu(const struct bContext *C)
void UI_block_translate(uiBlock *block, int x, int y)
void uiItemL_ex(uiLayout *layout, const char *name, int icon, bool highlight, bool redalert)
int UI_preview_tile_size_y_no_label(void)
void UI_popup_block_invoke(struct bContext *C, uiBlockCreateFunc func, void *arg, uiFreeArgFunc arg_free)
void UI_popup_handlers_remove(struct ListBase *handlers, uiPopupBlockHandle *popup)
void uiTemplateColorPicker(uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool value_slider, bool lock, bool lock_luminosity, bool cubic)
uiPopover * UI_popover_begin(struct bContext *C, int menu_width, bool from_active_button) ATTR_NONNULL(1)
bool UI_drop_color_poll(struct bContext *C, struct wmDrag *drag, const struct wmEvent *event)
void uiLayoutSetOperatorContext(uiLayout *layout, wmOperatorCallContext opcontext)
const char * UI_layout_introspect(uiLayout *layout)
uiBut * UI_but_active_drop_name_button(const struct bContext *C)
void UI_screen_free_active_but_highlight(const struct bContext *C, struct bScreen *screen)
void uiTemplateMarker(struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr, struct PointerRNA *trackptr, bool compact)
void(* uiBlockCancelFunc)(struct bContext *C, void *arg1)
bool uiLayoutGetRedAlert(uiLayout *layout)
int UI_popup_menu_invoke(struct bContext *C, const char *idname, struct ReportList *reports) ATTR_NONNULL(1
void UI_template_fix_linking(void)
void UI_draw_safe_areas(uint pos, const struct rctf *rect, const float title_aspect[2], const float action_aspect[2])
bool UI_popup_block_name_exists(const struct bScreen *screen, const char *name)
void UI_block_funcN_set(uiBlock *block, uiButHandleNFunc funcN, void *argN, void *arg2)
void UI_fontstyle_draw_rotated(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4])
struct ID * UI_context_active_but_get_tab_ID(struct bContext *C)
int UI_calc_float_precision(int prec, double value)
void UI_block_region_set(uiBlock *block, struct ARegion *region)
void UI_context_update_anim_flag(const struct bContext *C)
uiBut * UI_region_but_find_rect_over(const struct ARegion *region, const struct rcti *rect_px)
uiBut * uiDefButAlert(uiBlock *block, int icon, int x, int y, short width, short height)
void UI_init_userdef(void)
void uiItemPointerR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *searchptr, const char *searchpropname, const char *name, int icon)
bool UI_panel_is_closed(const struct Panel *panel)
void UI_but_unit_type_set(uiBut *but, int unit_type)
bool UI_but_is_tool(const uiBut *but)
struct PointerRNA * UI_list_custom_activate_operator_set(struct uiList *ui_list, const char *opname, bool create_properties)
void uiTemplateWaveform(uiLayout *layout, struct PointerRNA *ptr, const char *propname)
void UI_block_update_from_old(const struct bContext *C, struct uiBlock *block)
void UI_block_set_search_only(uiBlock *block, bool search_only)
void uiTemplateComponentMenu(uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name)
void uiTemplateSearchPreview(uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop, int rows, int cols)
void UI_block_lock_set(uiBlock *block, bool val, const char *lockstr)
void uiItemMenuFN(uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *argN)
void UI_but_context_ptr_set(uiBlock *block, uiBut *but, const char *name, const struct PointerRNA *ptr)
void uiItemEnumO_ptr(uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, const char *propname, int value)
void UI_autocomplete_update_name(AutoComplete *autocpl, const char *name)
@ UI_TEMPLATE_ID_FILTER_AVAILABLE
@ UI_TEMPLATE_ID_FILTER_ALL
void UI_but_flag_enable(uiBut *but, int flag)
@ UI_TEMPLATE_LIST_SORT_LOCK
@ UI_TEMPLATE_LIST_SORT_REVERSE
@ UI_TEMPLATE_LIST_NO_NAMES
@ UI_TEMPLATE_LIST_FLAGS_LAST
@ UI_TEMPLATE_LIST_FLAG_NONE
@ UI_TEMPLATE_LIST_NO_FILTER_OPTIONS
@ UI_TEMPLATE_LIST_NO_GRIP
void UI_but_string_info_get(struct bContext *C, uiBut *but,...) ATTR_SENTINEL(0)
uiBlock *(* uiBlockCreateFunc)(struct bContext *C, struct ARegion *region, void *arg1)
int UI_fontstyle_string_width(const struct uiFontStyle *fs, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
void uiItemsFullEnumO(uiLayout *layout, const char *opname, const char *propname, struct IDProperty *properties, wmOperatorCallContext context, int flag)
bool UI_panel_is_dragging(const struct Panel *panel)
uiPopupMenu * UI_popup_menu_begin(struct bContext *C, const char *title, int icon) ATTR_NONNULL()
int UI_pie_menu_invoke(struct bContext *C, const char *idname, const struct wmEvent *event)
bool UI_but_online_manual_id_from_active(const struct bContext *C, char *r_str, size_t maxlength) ATTR_WARN_UNUSED_RESULT
void uiItemM(uiLayout *layout, const char *menuname, const char *name, int icon)
void UI_draw_widget_scroll(struct uiWidgetColors *wcol, const struct rcti *rect, const struct rcti *slider, int state)
void uiTemplateImageFormatViews(uiLayout *layout, struct PointerRNA *imfptr, struct PointerRNA *ptr)
uiBut * uiDefIconTextButF(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, float *poin, float min, float max, float a1, float a2, const char *tip)
void uiTemplateConstraintHeader(uiLayout *layout, struct PointerRNA *ptr)
bool UI_but_flag_is_set(uiBut *but, int flag)
bool UI_but_has_tooltip_label(const uiBut *but)
int void UI_popup_menu_retval_set(const uiBlock *block, int retval, bool enable)
void uiItemLDrag(uiLayout *layout, struct PointerRNA *ptr, const char *name, int icon)
uiBut * uiDefIconButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, int icon, int x, int y, short width, short height, const char *tip)
struct bContextStore * UI_but_context_get(const uiBut *but)
struct wmOperatorType * UI_but_extra_operator_icon_optype_get(struct uiButExtraOpIcon *extra_icon)
void uiLayoutSetFunc(uiLayout *layout, uiMenuHandleFunc handlefunc, void *argv)
char * UI_view_item_drop_tooltip(const uiViewItemHandle *item, const struct wmDrag *drag)
@ UI_BLOCK_MOVEMOUSE_QUIT
@ UI_BLOCK_NO_DRAW_OVERRIDDEN_STATE
@ UI_BLOCK_SHOW_SHORTCUT_ALWAYS
void UI_but_drag_set_name(uiBut *but, const char *name)
void UI_block_bounds_set_explicit(uiBlock *block, int minx, int miny, int maxx, int maxy)
void UI_block_align_end(uiBlock *block)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
SyclQueue void void size_t num_bytes void
DO_INLINE void filter(lfVector *V, fmatrix3x3 *S)
ccl_global KernelShaderEvalInput * input
bool active
all scheduled work for the GPU.
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
struct PanelType * parent
uiBlockInteractionBeginFn begin_fn
uiBlockInteractionEndFn end_fn
uiBlockInteractionUpdateFn update_fn
uint unique_retval_ids_len
uiLayout * decorate_column