|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | uiStringInfo |
| struct | uiPropertySplitWrapper |
| struct | uiDragColorHandle |
| struct | uiFontStyleDraw_Params |
| struct | uiSearchItemTooltipData |
Typedefs | |
| typedef struct uiBlock | uiBlock |
| typedef struct uiBut | uiBut |
| typedef struct uiLayout | uiLayout |
| typedef struct uiPopupBlockHandle | uiPopupBlockHandle |
| typedef enum eUIEmbossType | eUIEmbossType |
| typedef enum eButGradientType | eButGradientType |
| typedef struct uiSearchItems | uiSearchItems |
| typedef void(* | uiButHandleFunc) (struct bContext *C, void *arg1, void *arg2) |
| typedef void(* | uiButHandleRenameFunc) (struct bContext *C, void *arg, char *origstr) |
| typedef void(* | uiButHandleNFunc) (struct bContext *C, void *argN, void *arg2) |
| typedef void(* | uiButHandleHoldFunc) (struct bContext *C, struct ARegion *butregion, uiBut *but) |
| typedef int(* | uiButCompleteFunc) (struct bContext *C, char *str, void *arg) |
| typedef struct ARegion *(* | uiButSearchCreateFn) (struct bContext *C, struct ARegion *butregion, struct uiButSearch *search_but) |
| typedef void(* | uiButSearchUpdateFn) (const struct bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first) |
| typedef void(* | uiButSearchArgFreeFn) (void *arg) |
| typedef bool(* | uiButSearchContextMenuFn) (struct bContext *C, void *arg, void *active, const struct wmEvent *event) |
| typedef struct ARegion *(* | uiButSearchTooltipFn) (struct bContext *C, struct ARegion *region, const struct rcti *item_rect, void *arg, void *active) |
| typedef char *(* | uiButToolTipFunc) (struct bContext *C, void *argN, const char *tip) |
| typedef int(* | uiButPushedStateFunc) (struct bContext *C, void *arg) |
| typedef void(* | uiBlockHandleFunc) (struct bContext *C, void *arg, int event) |
| typedef void(* | uiMenuCreateFunc) (struct bContext *C, struct uiLayout *layout, void *arg1) |
| typedef void(* | uiMenuHandleFunc) (struct bContext *C, void *arg, int event) |
| typedef bool(* | uiMenuStepFunc) (struct bContext *C, int direction, void *arg1) |
| typedef struct uiPopupMenu | uiPopupMenu |
| typedef struct uiPopover | uiPopover |
| typedef struct uiPieMenu | uiPieMenu |
| typedef uiBlock *(* | uiBlockCreateFunc) (struct bContext *C, struct ARegion *region, void *arg1) |
| typedef void(* | uiBlockCancelFunc) (struct bContext *C, void *arg1) |
| typedef enum uiStringInfoType | uiStringInfoType |
| typedef struct uiStringInfo | uiStringInfo |
| typedef struct AutoComplete | AutoComplete |
| typedef void(* | uiListPanelIDFromDataFunc) (void *data_link, char *r_idname) |
| typedef struct uiPropertySplitWrapper | uiPropertySplitWrapper |
| typedef struct uiDragColorHandle | uiDragColorHandle |
| typedef enum eFontStyle_Align | eFontStyle_Align |
| typedef struct uiButStore | uiButStore |
| typedef struct uiButStoreElem | uiButStoreElem |
Functions | |
| void | UI_draw_anti_tria (float x1, float y1, float x2, float y2, float x3, float y3, const float color[4]) |
| void | UI_draw_anti_fan (float tri_array[][2], unsigned int length, const float color[4]) |
| void | UI_draw_roundbox_corner_set (int type) |
| void | UI_draw_roundbox_aa (const struct rctf *rect, bool filled, float rad, const float color[4]) |
| void | UI_draw_roundbox_4fv (const struct rctf *rect, bool filled, float rad, const float col[4]) |
| void | UI_draw_roundbox_3ub_alpha (const struct rctf *rect, bool filled, float rad, const unsigned char col[3], unsigned char alpha) |
| void | UI_draw_roundbox_3fv_alpha (const struct rctf *rect, bool filled, float rad, const float col[3], float alpha) |
| void | UI_draw_roundbox_shade_x (const struct rctf *rect, bool filled, float rad, float shadetop, float shadedown, const float col[4]) |
| 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 | UI_draw_box_shadow (const struct rctf *rect, unsigned char alpha) |
| void | UI_draw_text_underline (int pos_x, int pos_y, int len, int height, const float color[4]) |
| void | UI_draw_safe_areas (uint pos, const struct rctf *rect, const float title_aspect[2], const float action_aspect[2]) |
| void | UI_draw_widget_scroll (struct uiWidgetColors *wcol, const struct rcti *rect, const struct rcti *slider, int state) |
| float | UI_text_clip_middle_ex (const struct uiFontStyle *fstyle, char *str, float okwidth, const float minwidth, const size_t max_len, const char rpart_sep) |
| bool | UI_but_has_tooltip_label (const uiBut *but) |
| bool | UI_but_is_tool (const uiBut *but) |
| bool | UI_but_is_utf8 (const uiBut *but) |
| bool | UI_block_is_empty_ex (const uiBlock *block, const bool skip_title) |
| bool | UI_block_is_empty (const uiBlock *block) |
| bool | UI_block_can_add_separator (const uiBlock *block) |
| uiPopupMenu * | UI_popup_menu_begin (struct bContext *C, const char *title, int icon) ATTR_NONNULL() |
| uiPopupMenu * | UI_popup_menu_begin_ex (struct bContext *C, const char *title, const char *block_name, int icon) ATTR_NONNULL() |
| void | UI_popup_menu_end (struct bContext *C, struct uiPopupMenu *pup) |
| bool | UI_popup_menu_end_or_cancel (struct bContext *C, struct uiPopupMenu *head) |
| struct uiLayout * | UI_popup_menu_layout (uiPopupMenu *pup) |
| void | UI_popup_menu_reports (struct bContext *C, struct ReportList *reports) ATTR_NONNULL() |
| int | UI_popup_menu_invoke (struct bContext *C, const char *idname, struct ReportList *reports) ATTR_NONNULL(1 |
| int void | UI_popup_menu_retval_set (const uiBlock *block, const int retval, const bool enable) |
| void | UI_popup_menu_but_set (uiPopupMenu *pup, struct ARegion *butregion, uiBut *but) |
| int | UI_popover_panel_invoke (struct bContext *C, const char *idname, bool keep_open, struct ReportList *reports) |
| uiPopover * | UI_popover_begin (struct bContext *C, int menu_width, bool from_active_button) ATTR_NONNULL(1) |
| void | UI_popover_end (struct bContext *C, struct uiPopover *pup, struct wmKeyMap *keymap) |
| struct uiLayout * | UI_popover_layout (uiPopover *pup) |
| void | UI_popover_once_clear (uiPopover *pup) |
| int | UI_pie_menu_invoke (struct bContext *C, const char *idname, const struct wmEvent *event) |
| int | UI_pie_menu_invoke_from_operator_enum (struct bContext *C, const char *title, const char *opname, const char *propname, const struct wmEvent *event) |
| int | UI_pie_menu_invoke_from_rna_enum (struct bContext *C, const char *title, const char *path, const struct wmEvent *event) |
| struct uiPieMenu * | UI_pie_menu_begin (struct bContext *C, const char *title, int icon, const struct wmEvent *event) ATTR_NONNULL() |
| void | UI_pie_menu_end (struct bContext *C, uiPieMenu *pie) |
| struct uiLayout * | UI_pie_menu_layout (struct uiPieMenu *pie) |
| void | UI_popup_block_invoke (struct bContext *C, uiBlockCreateFunc func, void *arg, void(*arg_free)(void *arg)) |
| void | UI_popup_block_invoke_ex (struct bContext *C, uiBlockCreateFunc func, void *arg, void(*arg_free)(void *arg), bool can_refresh) |
| void | UI_popup_block_ex (struct bContext *C, uiBlockCreateFunc func, uiBlockHandleFunc popup_func, uiBlockCancelFunc cancel_func, void *arg, struct wmOperator *op) |
| void | UI_popup_block_close (struct bContext *C, struct wmWindow *win, uiBlock *block) |
| bool | UI_popup_block_name_exists (const struct bScreen *screen, const char *name) |
| uiBlock * | UI_block_begin (const struct bContext *C, struct ARegion *region, const char *name, eUIEmbossType emboss) |
| void | UI_block_end_ex (const struct bContext *C, uiBlock *block, const int xy[2], int r_xy[2]) |
| void | UI_block_end (const struct bContext *C, uiBlock *block) |
| void | UI_block_draw (const struct bContext *C, struct uiBlock *block) |
| void | UI_blocklist_update_window_matrix (const struct bContext *C, const struct ListBase *lb) |
| void | UI_blocklist_draw (const struct bContext *C, const struct ListBase *lb) |
| void | UI_block_update_from_old (const struct bContext *C, struct uiBlock *block) |
| void | UI_block_theme_style_set (uiBlock *block, char theme_style) |
| char | UI_block_emboss_get (uiBlock *block) |
| void | UI_block_emboss_set (uiBlock *block, eUIEmbossType emboss) |
| bool | UI_block_is_search_only (const uiBlock *block) |
| void | UI_block_set_search_only (uiBlock *block, bool search_only) |
| void | UI_block_free (const struct bContext *C, uiBlock *block) |
| void | UI_blocklist_free (const struct bContext *C, struct ListBase *lb) |
| void | UI_blocklist_free_inactive (const struct bContext *C, struct ListBase *lb) |
| void | UI_screen_free_active_but (const struct bContext *C, struct bScreen *screen) |
| void | UI_block_region_set (uiBlock *block, struct ARegion *region) |
| void | UI_block_lock_set (uiBlock *block, bool val, const char *lockstr) |
| void | UI_block_lock_clear (uiBlock *block) |
| void | UI_block_align_begin (uiBlock *block) |
| void | UI_block_align_end (uiBlock *block) |
| void | UI_block_bounds_set_normal (struct uiBlock *block, int addval) |
| void | UI_block_bounds_set_text (uiBlock *block, int addval) |
| void | UI_block_bounds_set_popup (uiBlock *block, int addval, const int bounds_offset[2]) |
| void | UI_block_bounds_set_menu (uiBlock *block, int addval, const int bounds_offset[2]) |
| void | UI_block_bounds_set_centered (uiBlock *block, int addval) |
| void | UI_block_bounds_set_explicit (uiBlock *block, int minx, int miny, int maxx, int maxy) |
| int | UI_blocklist_min_y_get (struct ListBase *lb) |
| void | UI_block_direction_set (uiBlock *block, char direction) |
| void | UI_block_order_flip (uiBlock *block) |
| void | UI_block_flag_enable (uiBlock *block, int flag) |
| void | UI_block_flag_disable (uiBlock *block, int flag) |
| void | UI_block_translate (uiBlock *block, int x, int y) |
| int | UI_but_return_value_get (uiBut *but) |
| void | UI_but_drag_set_id (uiBut *but, struct ID *id) |
| void | UI_but_drag_set_asset (uiBut *but, const char *name, const char *path, int id_type, int icon, struct ImBuf *imb, float scale) |
| void | UI_but_drag_set_rna (uiBut *but, struct PointerRNA *ptr) |
| void | UI_but_drag_set_path (uiBut *but, const char *path, const bool use_free) |
| void | UI_but_drag_set_name (uiBut *but, const char *name) |
| void | UI_but_drag_set_value (uiBut *but) |
| void | UI_but_drag_set_image (uiBut *but, const char *path, int icon, struct ImBuf *imb, float scale, const bool use_free) |
| bool | UI_but_active_drop_name (struct bContext *C) |
| bool | UI_but_active_drop_color (struct bContext *C) |
| void | UI_but_flag_enable (uiBut *but, int flag) |
| void | UI_but_flag_disable (uiBut *but, int flag) |
| bool | UI_but_flag_is_set (uiBut *but, int flag) |
| void | UI_but_drawflag_enable (uiBut *but, int flag) |
| void | UI_but_drawflag_disable (uiBut *but, int flag) |
| void | UI_but_disable (uiBut *but, const char *disabled_hint) |
| void | UI_but_type_set_menu_from_pulldown (uiBut *but) |
| bool | UI_but_active_only_ex (const struct bContext *C, struct ARegion *region, uiBlock *block, uiBut *but, const bool remove_on_failure) |
| bool | UI_but_active_only (const struct bContext *C, struct ARegion *region, uiBlock *block, uiBut *but) |
| bool | UI_block_active_only_flagged_buttons (const struct bContext *C, struct ARegion *region, struct uiBlock *block) |
| void | UI_but_execute (const struct bContext *C, struct ARegion *region, uiBut *but) |
| bool | UI_but_online_manual_id (const uiBut *but, char *r_str, size_t maxlength) ATTR_WARN_UNUSED_RESULT |
| bool | UI_but_online_manual_id_from_active (const struct bContext *C, char *r_str, size_t maxlength) ATTR_WARN_UNUSED_RESULT |
| bool | UI_but_is_userdef (const uiBut *but) |
| 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) |
| 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) |
| uiBut * | uiDefButBitF (uiBlock *block, int type, int bit, 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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 * | uiDefButO (uiBlock *block, int type, const char *opname, int opcontext, const char *str, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefButO_ptr (uiBlock *block, int type, struct wmOperatorType *ot, int opcontext, const char *str, int x, int y, short width, short height, const char *tip) |
| 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) |
| uiBut * | uiDefIconButF (uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, float *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconButBitF (uiBlock *block, int type, int bit, int retval, int icon, int x, int y, short width, short height, float *poin, float min, float max, float a1, float a2, const char *tip) |
| 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) |
| 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 * | 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) |
| 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) |
| uiBut * | uiDefIconButC (uiBlock *block, int type, 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) |
| 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) |
| 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) |
| 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 * | uiDefIconButO (uiBlock *block, int type, const char *opname, int opcontext, int icon, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefIconButO_ptr (uiBlock *block, int type, struct wmOperatorType *ot, int opcontext, int icon, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefButImage (uiBlock *block, void *imbuf, int x, int y, short width, short height, const uchar color[4]) |
| uiBut * | uiDefButAlert (uiBlock *block, int icon, int x, int y, short width, short height) |
| 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) |
| 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) |
| uiBut * | uiDefIconTextButBitF (uiBlock *block, int type, int bit, 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) |
| 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 * | uiDefIconTextButBitI (uiBlock *block, int type, int bit, 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 * | uiDefIconTextButS (uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitS (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButC (uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, char *poin, float min, float max, float a1, float a2, const char *tip) |
| uiBut * | uiDefIconTextButBitC (uiBlock *block, int type, int bit, int retval, int icon, const char *str, int x, int y, short width, short height, char *poin, float min, float max, float a1, float a2, const char *tip) |
| 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) |
| 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) |
| uiBut * | uiDefIconTextButO (uiBlock *block, int type, const char *opname, int opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefIconTextButO_ptr (uiBlock *block, int type, struct wmOperatorType *ot, int opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip) |
| struct PointerRNA * | UI_but_operator_ptr_get (uiBut *but) |
| void | UI_but_unit_type_set (uiBut *but, const int unit_type) |
| int | UI_but_unit_type_get (const uiBut *but) |
| void | UI_but_string_info_get (struct bContext *C, uiBut *but,...) ATTR_SENTINEL(0) |
| int | UI_icon_from_id (const struct ID *id) |
| int | UI_icon_from_report_type (int type) |
| int | UI_icon_colorid_from_report_type (int type) |
| int | UI_text_colorid_from_report_type (int type) |
| int | UI_icon_from_event_type (short event_type, short event_value) |
| int | UI_icon_from_keymap_item (const struct wmKeyMapItem *kmi, int r_icon_mod[4]) |
| uiBut * | uiDefPulldownBut (uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefMenuBut (uiBlock *block, uiMenuCreateFunc 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) |
| uiBut * | uiDefIconMenuBut (uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefBlockButN (uiBlock *block, uiBlockCreateFunc func, void *argN, const char *str, int x, int y, short width, short height, const char *tip) |
| uiBut * | uiDefIconBlockBut (uiBlock *block, uiBlockCreateFunc func, void *arg, int retval, int icon, int x, int y, short width, short height, 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) |
| uiBut * | uiDefKeyevtButS (uiBlock *block, int retval, const char *str, int x, int y, short width, short height, short *spoin, const char *tip) |
| uiBut * | uiDefHotKeyevtButS (uiBlock *block, int retval, const char *str, int x, int y, short width, short height, short *keypoin, const short *modkeypoin, const char *tip) |
| 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) |
| 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) |
| 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) |
| 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, const bool compact) |
| bool | UI_search_item_add (uiSearchItems *items, const char *name, void *poin, int iconid, int state, const uint8_t name_prefix_offset) |
| void | UI_but_func_search_set (uiBut *but, uiButSearchCreateFn search_create_fn, uiButSearchUpdateFn search_update_fn, void *arg, const bool free_arg, uiButSearchArgFreeFn search_arg_free_fn, uiButHandleFunc search_exec_fn, void *active) |
| void | UI_but_func_search_set_context_menu (uiBut *but, uiButSearchContextMenuFn context_menu_fn) |
| void | UI_but_func_search_set_tooltip (uiBut *but, uiButSearchTooltipFn tooltip_fn) |
| void | UI_but_func_search_set_sep_string (uiBut *but, const char *search_sep_string) |
| void | UI_but_func_search_set_results_are_suggestions (uiBut *but, const bool value) |
| int | UI_searchbox_size_y (void) |
| int | UI_searchbox_size_x (void) |
| int | UI_search_items_find_index (uiSearchItems *items, const char *name) |
| void | UI_but_node_link_set (uiBut *but, struct bNodeSocket *socket, const float draw_color[4]) |
| void | UI_but_number_step_size_set (uiBut *but, float step_size) |
| void | UI_but_number_precision_set (uiBut *but, float precision) |
| void | UI_block_func_handle_set (uiBlock *block, uiBlockHandleFunc func, void *arg) |
| void | UI_block_func_butmenu_set (uiBlock *block, uiMenuHandleFunc func, void *arg) |
| void | UI_block_func_set (uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2) |
| void | UI_block_funcN_set (uiBlock *block, uiButHandleNFunc funcN, void *argN, void *arg2) |
| void | UI_but_func_rename_set (uiBut *but, uiButHandleRenameFunc func, void *arg1) |
| void | UI_but_func_set (uiBut *but, uiButHandleFunc func, void *arg1, void *arg2) |
| void | UI_but_funcN_set (uiBut *but, uiButHandleNFunc funcN, void *argN, void *arg2) |
| void | UI_but_func_complete_set (uiBut *but, uiButCompleteFunc func, void *arg) |
| 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_but_func_menu_step_set (uiBut *but, uiMenuStepFunc func) |
| void | UI_but_func_tooltip_set (uiBut *but, uiButToolTipFunc func, void *argN) |
| void | UI_but_tooltip_refresh (struct bContext *C, uiBut *but) |
| void | UI_but_tooltip_timer_remove (struct bContext *C, uiBut *but) |
| bool | UI_textbutton_activate_rna (const struct bContext *C, struct ARegion *region, const void *rna_poin_data, const char *rna_prop_id) |
| bool | UI_textbutton_activate_but (const struct bContext *C, uiBut *but) |
| void | UI_but_focus_on_enter_event (struct wmWindow *win, uiBut *but) |
| void | UI_but_func_hold_set (uiBut *but, uiButHandleHoldFunc func, void *argN) |
| void | UI_but_func_pushed_state_set (uiBut *but, uiButPushedStateFunc func, void *arg) |
| struct PointerRNA * | UI_but_extra_operator_icon_add (uiBut *but, const char *opname, short opcontext, int icon) |
| AutoComplete * | UI_autocomplete_begin (const char *startname, size_t maxlen) |
| void | UI_autocomplete_update_name (AutoComplete *autocpl, const char *name) |
| int | UI_autocomplete_end (AutoComplete *autocpl, char *autoname) |
| void | UI_panels_begin (const struct bContext *C, struct ARegion *region) |
| void | UI_panels_end (const struct bContext *C, struct ARegion *region, int *r_x, int *r_y) |
| void | UI_panels_draw (const struct bContext *C, struct ARegion *region) |
| struct Panel * | UI_panel_find_by_type (struct ListBase *lb, const struct PanelType *pt) |
| struct Panel * | UI_panel_begin (struct ARegion *region, struct ListBase *lb, uiBlock *block, struct PanelType *pt, struct Panel *panel, bool *r_open) |
| void | UI_panel_header_buttons_begin (struct Panel *panel) |
| void | UI_panel_header_buttons_end (struct Panel *panel) |
| void | UI_panel_end (struct Panel *panel, int width, int height) |
| bool | UI_panel_is_closed (const struct Panel *panel) |
| bool | UI_panel_is_active (const struct Panel *panel) |
| void | UI_panel_label_offset (const struct uiBlock *block, int *r_x, int *r_y) |
| int | UI_panel_size_y (const struct Panel *panel) |
| bool | UI_panel_is_dragging (const struct Panel *panel) |
| bool | UI_panel_matches_search_filter (const struct Panel *panel) |
| bool | UI_panel_category_is_visible (const struct ARegion *region) |
| void | UI_panel_category_add (struct ARegion *region, const char *name) |
| struct PanelCategoryDyn * | UI_panel_category_find (const struct ARegion *region, const char *idname) |
| struct PanelCategoryStack * | UI_panel_category_active_find (struct ARegion *region, const char *idname) |
| const char * | UI_panel_category_active_get (struct ARegion *region, bool set_fallback) |
| void | UI_panel_category_active_set (struct ARegion *region, const char *idname) |
| void | UI_panel_category_active_set_default (struct ARegion *region, const char *idname) |
| void | UI_panel_category_clear_all (struct ARegion *region) |
| void | UI_panel_category_draw_all (struct ARegion *region, const char *category_id_active) |
| struct PointerRNA * | UI_panel_custom_data_get (const struct Panel *panel) |
| struct PointerRNA * | UI_region_panel_custom_data_under_cursor (const struct bContext *C, const struct wmEvent *event) |
| void | UI_panel_custom_data_set (struct Panel *panel, struct PointerRNA *custom_data) |
| struct Panel * | UI_panel_add_instanced (const struct bContext *C, struct ARegion *region, struct ListBase *panels, const char *panel_idname, struct PointerRNA *custom_data) |
| void | UI_panels_free_instanced (const struct bContext *C, struct ARegion *region) |
| void | UI_list_panel_unique_str (struct Panel *panel, char *r_name) |
| bool | UI_panel_list_matches_data (struct ARegion *region, struct ListBase *data, uiListPanelIDFromDataFunc panel_idname_func) |
| void | UI_region_handlers_add (struct ListBase *handlers) |
| void | UI_popup_handlers_add (struct bContext *C, struct ListBase *handlers, uiPopupBlockHandle *popup, const char flag) |
| void | UI_popup_handlers_remove (struct ListBase *handlers, uiPopupBlockHandle *popup) |
| void | UI_popup_handlers_remove_all (struct bContext *C, struct ListBase *handlers) |
| void | UI_init (void) |
| void | UI_init_userdef (void) |
| void | UI_reinit_font (void) |
| void | UI_exit (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 | UI_block_layout_set_current (uiBlock *block, uiLayout *layout) |
| void | UI_block_layout_resolve (uiBlock *block, int *r_x, int *r_y) |
| void | UI_block_layout_free (uiBlock *block) |
| bool | UI_block_apply_search_filter (uiBlock *block, const char *search_filter) |
| void | UI_region_message_subscribe (struct ARegion *region, struct wmMsgBus *mbus) |
| uiBlock * | uiLayoutGetBlock (uiLayout *layout) |
| void | uiLayoutSetFunc (uiLayout *layout, uiMenuHandleFunc handlefunc, void *argv) |
| void | uiLayoutSetContextPointer (uiLayout *layout, const char *name, struct PointerRNA *ptr) |
| struct bContextStore * | uiLayoutGetContextStore (uiLayout *layout) |
| void | uiLayoutContextCopy (uiLayout *layout, struct bContextStore *context) |
| struct wmOperatorType * | UI_but_operatortype_get_from_enum_menu (struct uiBut *but, struct PropertyRNA **r_prop) |
| struct MenuType * | UI_but_menutype_get (uiBut *but) |
| struct PanelType * | UI_but_paneltype_get (uiBut *but) |
| void | UI_menutype_draw (struct bContext *C, struct MenuType *mt, struct uiLayout *layout) |
| void | UI_paneltype_draw (struct bContext *C, struct PanelType *pt, struct uiLayout *layout) |
| void | uiLayoutSetContextFromBut (uiLayout *layout, uiBut *but) |
| void | uiLayoutSetOperatorContext (uiLayout *layout, int opcontext) |
| void | uiLayoutSetActive (uiLayout *layout, bool active) |
| void | uiLayoutSetActiveDefault (uiLayout *layout, bool active_default) |
| void | uiLayoutSetActivateInit (uiLayout *layout, bool activate_init) |
| void | uiLayoutSetEnabled (uiLayout *layout, bool enabled) |
| void | uiLayoutSetRedAlert (uiLayout *layout, bool redalert) |
| void | uiLayoutSetAlignment (uiLayout *layout, char alignment) |
| void | uiLayoutSetFixedSize (uiLayout *layout, bool fixed_size) |
| void | uiLayoutSetKeepAspect (uiLayout *layout, bool keepaspect) |
| void | uiLayoutSetScaleX (uiLayout *layout, float scale) |
| void | uiLayoutSetScaleY (uiLayout *layout, float scale) |
| void | uiLayoutSetUnitsX (uiLayout *layout, float unit) |
| void | uiLayoutSetUnitsY (uiLayout *layout, float unit) |
| void | uiLayoutSetEmboss (uiLayout *layout, eUIEmbossType emboss) |
| void | uiLayoutSetPropSep (uiLayout *layout, bool is_sep) |
| void | uiLayoutSetPropDecorate (uiLayout *layout, bool is_sep) |
| int | uiLayoutGetLocalDir (const uiLayout *layout) |
| int | uiLayoutGetOperatorContext (uiLayout *layout) |
| bool | uiLayoutGetActive (uiLayout *layout) |
| bool | uiLayoutGetActiveDefault (uiLayout *layout) |
| bool | uiLayoutGetActivateInit (uiLayout *layout) |
| bool | uiLayoutGetEnabled (uiLayout *layout) |
| bool | uiLayoutGetRedAlert (uiLayout *layout) |
| int | uiLayoutGetAlignment (uiLayout *layout) |
| bool | uiLayoutGetFixedSize (uiLayout *layout) |
| bool | uiLayoutGetKeepAspect (uiLayout *layout) |
| int | uiLayoutGetWidth (uiLayout *layout) |
| float | uiLayoutGetScaleX (uiLayout *layout) |
| float | uiLayoutGetScaleY (uiLayout *layout) |
| float | uiLayoutGetUnitsX (uiLayout *layout) |
| float | uiLayoutGetUnitsY (uiLayout *layout) |
| eUIEmbossType | uiLayoutGetEmboss (uiLayout *layout) |
| bool | uiLayoutGetPropSep (uiLayout *layout) |
| bool | uiLayoutGetPropDecorate (uiLayout *layout) |
| uiLayout * | uiLayoutRow (uiLayout *layout, bool align) |
| uiLayout * | uiLayoutRowWithHeading (uiLayout *layout, bool align, const char *heading) |
| uiLayout * | uiLayoutColumn (uiLayout *layout, bool align) |
| uiLayout * | uiLayoutColumnWithHeading (uiLayout *layout, bool align, const char *heading) |
| uiLayout * | uiLayoutColumnFlow (uiLayout *layout, int number, bool align) |
| uiLayout * | uiLayoutGridFlow (uiLayout *layout, bool row_major, int columns_len, bool even_columns, bool even_rows, bool align) |
| uiLayout * | uiLayoutBox (uiLayout *layout) |
| uiLayout * | uiLayoutListBox (uiLayout *layout, struct uiList *ui_list, struct PointerRNA *actptr, struct PropertyRNA *actprop) |
| uiLayout * | uiLayoutAbsolute (uiLayout *layout, bool align) |
| uiLayout * | uiLayoutSplit (uiLayout *layout, float percentage, bool align) |
| uiLayout * | uiLayoutOverlap (uiLayout *layout) |
| uiBlock * | uiLayoutAbsoluteBlock (uiLayout *layout) |
| uiLayout * | uiLayoutRadial (uiLayout *layout) |
| void | uiTemplateHeader (uiLayout *layout, struct bContext *C) |
| 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, const bool live_icon, const char *text) |
| 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 | 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, const bool hide_buttons) |
| void | uiTemplateIDTabs (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *menu, int filter) |
| void | uiTemplateAnyID (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *proptypename, const char *text) |
| 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) |
| 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, const int rows, const int cols) |
| void | uiTemplatePathBuilder (uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *root_ptr, const char *text) |
| void | uiTemplateModifiers (uiLayout *layout, struct bContext *C) |
| void | uiTemplateGpencilModifiers (uiLayout *layout, struct bContext *C) |
| void | uiTemplateShaderFx (uiLayout *layout, struct bContext *C) |
| void | uiTemplateConstraints (uiLayout *layout, struct bContext *C, bool use_bone_constraints) |
| uiLayout * | uiTemplateGpencilModifier (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr) |
| void | uiTemplateGpencilColorPreview (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, int rows, int cols, float scale, int filter) |
| void | uiTemplateOperatorRedoProperties (uiLayout *layout, const struct bContext *C) |
| void | uiTemplateConstraintHeader (uiLayout *layout, struct PointerRNA *ptr) |
| void | uiTemplatePreview (uiLayout *layout, struct bContext *C, struct ID *id, bool show_buttons, struct ID *parent, struct MTex *slot, const char *preview_id) |
| void | uiTemplateColorRamp (uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool expand) |
| void | uiTemplateIcon (uiLayout *layout, int icon_value, float icon_scale) |
| void | uiTemplateIconView (uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool show_labels, float icon_scale, float icon_scale_popup) |
| void | uiTemplateHistogram (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateWaveform (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateVectorscope (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateCurveMapping (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int type, bool levels, bool brush, bool neg_slope, bool tone) |
| void | uiTemplateCurveProfile (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateColorPicker (uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool value_slider, bool lock, bool lock_luminosity, bool cubic) |
| void | uiTemplatePalette (uiLayout *layout, struct PointerRNA *ptr, const char *propname, bool colors) |
| void | uiTemplateCryptoPicker (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int icon) |
| void | uiTemplateLayers (uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *used_ptr, const char *used_propname, int active_layer) |
| void | uiTemplateImage (uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr, bool compact, bool multiview) |
| void | uiTemplateImageSettings (uiLayout *layout, struct PointerRNA *imfptr, bool color_management) |
| void | uiTemplateImageStereo3d (uiLayout *layout, struct PointerRNA *stereo3d_format_ptr) |
| void | uiTemplateImageViews (uiLayout *layout, struct PointerRNA *imaptr) |
| void | uiTemplateImageFormatViews (uiLayout *layout, struct PointerRNA *imfptr, struct PointerRNA *ptr) |
| void | uiTemplateImageLayers (uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser) |
| void | uiTemplateImageInfo (uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser) |
| void | uiTemplateRunningJobs (uiLayout *layout, struct bContext *C) |
| void | UI_but_func_operator_search (uiBut *but) |
| void | uiTemplateOperatorSearch (uiLayout *layout) |
| void | UI_but_func_menu_search (uiBut *but) |
| void | uiTemplateMenuSearch (uiLayout *layout) |
| void | uiTemplateOperatorPropertyButs (const struct bContext *C, uiLayout *layout, struct wmOperator *op, eButLabelAlign label_align, short flag) |
| void | uiTemplateHeader3D_mode (uiLayout *layout, struct bContext *C) |
| void | uiTemplateEditModeSelection (uiLayout *layout, struct bContext *C) |
| void | uiTemplateReportsBanner (uiLayout *layout, struct bContext *C) |
| void | uiTemplateInputStatus (uiLayout *layout, struct bContext *C) |
| void | uiTemplateKeymapItemProperties (uiLayout *layout, struct PointerRNA *ptr) |
| bool | uiTemplateEventFromKeymapItem (struct uiLayout *layout, const char *text, const struct wmKeyMapItem *kmi, bool text_fallback) |
| void | uiTemplateComponentMenu (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name) |
| void | uiTemplateNodeSocket (uiLayout *layout, struct bContext *C, float *color) |
| void | uiTemplateCacheFile (uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, const char *propname) |
| 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, bool sort_reverse, bool sort_lock) |
| void | uiTemplateNodeLink (uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input) |
| void | uiTemplateNodeView (uiLayout *layout, struct bContext *C, struct bNodeTree *ntree, struct bNode *node, struct bNodeSocket *input) |
| void | uiTemplateTextureUser (uiLayout *layout, struct bContext *C) |
| void | uiTemplateTextureShow (uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop) |
| void | uiTemplateMovieClip (struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname, bool compact) |
| void | uiTemplateTrack (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateMarker (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr, struct PointerRNA *trackptr, bool compact) |
| void | uiTemplateMovieclipInformation (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *userptr) |
| void | uiTemplateColorspaceSettings (struct uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiTemplateColormanagedViewSettings (struct uiLayout *layout, struct bContext *C, struct PointerRNA *ptr, const char *propname) |
| int | uiTemplateRecentFiles (struct uiLayout *layout, int rows) |
| void | uiTemplateFileSelectPath (uiLayout *layout, struct bContext *C, struct FileSelectParams *params) |
| void | uiItemO (uiLayout *layout, const char *name, int icon, const char *opname) |
| void | uiItemEnumO_ptr (uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, const char *propname, int value) |
| void | uiItemEnumO (uiLayout *layout, const char *opname, const char *name, int icon, const char *propname, int value) |
| void | uiItemEnumO_value (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemEnumO_string (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value) |
| void | uiItemsEnumO (uiLayout *layout, const char *opname, const char *propname) |
| void | uiItemBooleanO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemIntO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value) |
| void | uiItemFloatO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, float value) |
| void | uiItemStringO (uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, const char *value) |
| void | uiItemFullO_ptr (uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, int context, int flag, struct PointerRNA *r_opptr) |
| void | uiItemFullO (uiLayout *layout, const char *opname, const char *name, int icon, struct IDProperty *properties, int context, int flag, struct PointerRNA *r_opptr) |
| void | uiItemFullOMenuHold_ptr (uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, int context, int flag, const char *menu_id, struct PointerRNA *r_opptr) |
| void | uiItemR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon) |
| void | uiItemFullR (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon) |
| 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) |
| 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) |
| void | uiItemEnumR_prop (uiLayout *layout, const char *name, int icon, struct PointerRNA *ptr, struct PropertyRNA *prop, int value) |
| void | uiItemEnumR (uiLayout *layout, const char *name, int icon, struct PointerRNA *ptr, const char *propname, int value) |
| void | uiItemEnumR_string_prop (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value, const char *name, int icon) |
| void | uiItemEnumR_string (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *value, const char *name, int icon) |
| void | uiItemsEnumR (uiLayout *layout, struct PointerRNA *ptr, const char *propname) |
| void | uiItemPointerR_prop (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, struct PointerRNA *searchptr, struct PropertyRNA *searchprop, const char *name, int icon) |
| void | uiItemPointerR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, struct PointerRNA *searchptr, const char *searchpropname, const char *name, int icon) |
| void | uiItemsFullEnumO (uiLayout *layout, const char *opname, const char *propname, struct IDProperty *properties, int context, int flag) |
| void | uiItemsFullEnumO_items (uiLayout *layout, struct wmOperatorType *ot, struct PointerRNA ptr, struct PropertyRNA *prop, struct IDProperty *properties, int context, int flag, const struct EnumPropertyItem *item_array, int totitem) |
| uiPropertySplitWrapper | uiItemPropertySplitWrapperCreate (uiLayout *parent_layout) |
| void | uiItemL (uiLayout *layout, const char *name, int icon) |
| void | uiItemL_ex (uiLayout *layout, const char *name, int icon, const bool highlight, const bool redalert) |
| uiLayout * | uiItemL_respect_property_split (uiLayout *layout, const char *text, int icon) |
| void | uiItemLDrag (uiLayout *layout, struct PointerRNA *ptr, const char *name, int icon) |
| void | uiItemM_ptr (uiLayout *layout, struct MenuType *mt, const char *name, int icon) |
| void | uiItemM (uiLayout *layout, const char *menuname, const char *name, int icon) |
| void | uiItemMContents (uiLayout *layout, const char *menuname) |
| void | uiItemDecoratorR_prop (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index) |
| void | uiItemDecoratorR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, int index) |
| void | uiItemV (uiLayout *layout, const char *name, int icon, int argval) |
| void | uiItemS (uiLayout *layout) |
| void | uiItemS_ex (uiLayout *layout, float factor) |
| void | uiItemSpacer (uiLayout *layout) |
| void | uiItemPopoverPanel_ptr (uiLayout *layout, struct bContext *C, struct PanelType *pt, const char *name, int icon) |
| void | uiItemPopoverPanel (uiLayout *layout, struct bContext *C, const char *panel_type, const char *name, int icon) |
| void | uiItemPopoverPanelFromGroup (uiLayout *layout, struct bContext *C, int space_id, int region_id, const char *context, const char *category) |
| void | uiItemMenuF (uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *arg) |
| void | uiItemMenuFN (uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *argN) |
| void | uiItemMenuEnumO_ptr (uiLayout *layout, struct bContext *C, struct wmOperatorType *ot, const char *propname, const char *name, int icon) |
| void | uiItemMenuEnumO (uiLayout *layout, struct bContext *C, const char *opname, const char *propname, const char *name, int icon) |
| void | uiItemMenuEnumR_prop (uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *name, int icon) |
| void | uiItemMenuEnumR (uiLayout *layout, struct PointerRNA *ptr, const char *propname, const char *name, int icon) |
| 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) |
| const char * | UI_layout_introspect (uiLayout *layout) |
| uiLayout * | uiItemsAlertBox (uiBlock *block, const int size, const eAlertIcon icon) |
| void | ED_operatortypes_ui (void) |
| void | ED_keymap_ui (struct wmKeyConfig *keyconf) |
| User Interface Keymap. More... | |
| void | UI_drop_color_copy (struct wmDrag *drag, struct wmDropBox *drop) |
| bool | UI_drop_color_poll (struct bContext *C, struct wmDrag *drag, const struct wmEvent *event, const char **r_tooltip) |
| 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) |
| uiBut * | UI_context_active_but_get (const struct bContext *C) |
| uiBut * | UI_context_active_but_get_respect_menu (const struct bContext *C) |
| uiBut * | UI_context_active_but_prop_get (const struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop, int *r_index) |
| void | UI_context_active_but_prop_handle (struct bContext *C) |
| void | UI_context_active_but_clear (struct bContext *C, struct wmWindow *win, struct ARegion *region) |
| struct wmOperator * | UI_context_active_operator_get (const struct bContext *C) |
| void | UI_context_update_anim_flag (const struct bContext *C) |
| 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 | UI_context_active_but_prop_get_templateID (struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop) |
| struct ID * | UI_context_active_but_get_tab_ID (struct bContext *C) |
| uiBut * | UI_region_active_but_get (const struct ARegion *region) |
| uiBut * | UI_region_but_find_rect_over (const struct ARegion *region, const struct rcti *rect_px) |
| uiBlock * | UI_region_block_find_mouse_over (const struct ARegion *region, const int xy[2], bool only_clip) |
| struct ARegion * | UI_region_searchbox_region_get (const struct ARegion *button_region) |
| void | UI_fontstyle_set (const struct uiFontStyle *fs) |
| void | UI_fontstyle_draw_ex (const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params, size_t len, int *r_xofs, int *r_yofs, struct ResultBLF *r_info) |
| void | UI_fontstyle_draw (const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params) |
| void | UI_fontstyle_draw_rotated (const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4]) |
| void | UI_fontstyle_draw_simple (const struct uiFontStyle *fs, float x, float y, const char *str, const uchar col[4]) |
| 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]) |
| int | UI_fontstyle_string_width (const struct uiFontStyle *fs, const char *str) |
| int | UI_fontstyle_height_max (const struct uiFontStyle *fs) |
| void | UI_draw_icon_tri (float x, float y, char dir, const float[4]) |
| const struct uiStyle * | UI_style_get (void) |
| const struct uiStyle * | UI_style_get_dpi (void) |
| void | UI_template_fix_linking (void) |
| bool | UI_editsource_enable_check (void) |
| void | UI_editsource_active_but_test (uiBut *but) |
| void | UI_editsource_but_replace (const uiBut *old_but, uiBut *new_but) |
| uiButStore * | UI_butstore_create (uiBlock *block) |
| void | UI_butstore_clear (uiBlock *block) |
| void | UI_butstore_update (uiBlock *block) |
| void | UI_butstore_free (uiBlock *block, uiButStore *bs) |
| bool | UI_butstore_is_valid (uiButStore *bs) |
| bool | UI_butstore_is_registered (uiBlock *block, uiBut *but) |
| void | UI_butstore_register (uiButStore *bs_handle, uiBut **but_p) |
| bool | UI_butstore_register_update (uiBlock *block, uiBut *but_dst, const uiBut *but_src) |
| void | UI_butstore_unregister (uiButStore *bs_handle, uiBut **but_p) |
| struct ARegion * | UI_tooltip_create_from_button (struct bContext *C, struct ARegion *butregion, uiBut *but, bool is_label) |
| struct ARegion * | UI_tooltip_create_from_gizmo (struct bContext *C, struct wmGizmo *gz) |
| void | UI_tooltip_free (struct bContext *C, struct bScreen *screen, struct ARegion *region) |
| 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) |
| int | UI_calc_float_precision (int prec, double value) |
| void | UI_widgetbase_draw_cache_begin (void) |
| void | UI_widgetbase_draw_cache_flush (void) |
| void | UI_widgetbase_draw_cache_end (void) |
| void | UI_theme_init_default (void) |
| void | UI_style_init_default (void) |
| void | UI_interface_tag_script_reload (void) |
| #define AUTOCOMPLETE_FULL_MATCH 1 |
Definition at line 1672 of file UI_interface.h.
| #define AUTOCOMPLETE_NO_MATCH 0 |
Definition at line 1671 of file UI_interface.h.
| #define AUTOCOMPLETE_PARTIAL_MATCH 2 |
Definition at line 1673 of file UI_interface.h.
| #define BUTTYPE (63 << 9) |
Definition at line 395 of file UI_interface.h.
| #define EDTSRC_I18N_OP_NAME "UI_OT_edittranslation" |
Definition at line 1381 of file UI_interface.h.
| #define INSTANCED_PANEL_UNIQUE_STR_LEN 16 |
Definition at line 1732 of file UI_interface.h.
| #define UI_ALPHA_CHECKER_DARK 100 |
Definition at line 1845 of file UI_interface.h.
| #define UI_ALPHA_CHECKER_LIGHT 160 |
Definition at line 1846 of file UI_interface.h.
| #define UI_but_is_decorator | ( | but | ) | ((but)->type == UI_BTYPE_DECORATOR) |
Definition at line 543 of file UI_interface.h.
| #define UI_BUT_POIN_TYPES (UI_BUT_POIN_FLOAT | UI_BUT_POIN_SHORT | UI_BUT_POIN_CHAR) |
Definition at line 330 of file UI_interface.h.
| #define UI_COMPACT_PANEL_WIDTH 160 |
Definition at line 244 of file UI_interface.h.
| #define UI_DEFAULT_TEXT_POINTS 11 |
Definition at line 238 of file UI_interface.h.
| #define UI_DEFAULT_TITLE_POINTS 12 |
Definition at line 241 of file UI_interface.h.
| #define UI_DPI_FAC (U.dpi_fac) |
Definition at line 309 of file UI_interface.h.
| #define UI_DPI_ICON_SIZE ((float)16 * UI_DPI_FAC) |
Definition at line 311 of file UI_interface.h.
| #define UI_FSTYLE_WIDGET (const uiFontStyle *)&(UI_style_get()->widget) |
Definition at line 2608 of file UI_interface.h.
| #define UI_HEADER_OFFSET ((void)0, 0.4f * UI_UNIT_X) |
Definition at line 1831 of file UI_interface.h.
| #define UI_MAX_DRAW_STR 400 |
Definition at line 90 of file UI_interface.h.
| #define UI_MAX_NAME_STR 128 |
Definition at line 91 of file UI_interface.h.
| #define UI_MAX_SHORTCUT_STR 64 |
Definition at line 92 of file UI_interface.h.
| #define UI_NARROW_NAVIGATION_REGION_WIDTH 100 |
Definition at line 247 of file UI_interface.h.
| #define UI_NAVIGATION_REGION_WIDTH UI_COMPACT_PANEL_WIDTH |
Definition at line 246 of file UI_interface.h.
| #define UI_PANEL_BOX_STYLE_MARGIN (U.widget_unit * 0.2f) |
Definition at line 251 of file UI_interface.h.
| #define UI_PANEL_CATEGORY_MARGIN_WIDTH (U.widget_unit * 1.0f) |
Definition at line 249 of file UI_interface.h.
| #define UI_PANEL_WIDTH 340 |
Definition at line 243 of file UI_interface.h.
| #define UI_PRECISION_FLOAT_MAX 6 |
Definition at line 2603 of file UI_interface.h.
| #define UI_PRECISION_FLOAT_SCALE 0.01f |
Definition at line 2605 of file UI_interface.h.
| #define UI_REGION_OVERLAP_MARGIN (U.widget_unit / 3) |
For ARegion.overlap regions, pass events though if they don't overlap the regions contents (the usable part of the View2D and buttons).
The margin is needed so it's not possible to accidentally click in between buttons.
Definition at line 100 of file UI_interface.h.
| #define UI_SCREEN_MARGIN 10 |
Definition at line 103 of file UI_interface.h.
| #define UI_SEP_CHAR '|' |
Definition at line 86 of file UI_interface.h.
| #define UI_SEP_CHAR_S "|" |
Definition at line 87 of file UI_interface.h.
| #define UI_SIDEBAR_PANEL_WIDTH 220 |
Definition at line 245 of file UI_interface.h.
| #define UI_TOOLTIP_DELAY 0.5 |
Definition at line 2599 of file UI_interface.h.
| #define UI_TOOLTIP_DELAY_LABEL 0.2 |
Definition at line 2600 of file UI_interface.h.
| #define UI_UL_DEFAULT_CLASS_NAME "UI_UL_list" |
Definition at line 2147 of file UI_interface.h.
| #define UI_UNIT_X ((void)0, U.widget_unit) |
Definition at line 1789 of file UI_interface.h.
| #define UI_UNIT_Y ((void)0, U.widget_unit) |
Definition at line 1790 of file UI_interface.h.
| #define USE_UI_POPOVER_ONCE |
Definition at line 2627 of file UI_interface.h.
| #define USE_UI_TOOLBAR_HACK |
Definition at line 2624 of file UI_interface.h.
| typedef struct AutoComplete AutoComplete |
Definition at line 1658 of file UI_interface.h.
| typedef enum eButGradientType eButGradientType |
Gradient types, for color picker UI_BTYPE_HSVCUBE etc.
| typedef enum eFontStyle_Align eFontStyle_Align |
| typedef enum eUIEmbossType eUIEmbossType |
Definition at line 1 of file UI_interface.h.
Definition at line 620 of file UI_interface.h.
Definition at line 619 of file UI_interface.h.
Definition at line 525 of file UI_interface.h.
Definition at line 1 of file UI_interface.h.
Definition at line 496 of file UI_interface.h.
Definition at line 492 of file UI_interface.h.
Definition at line 495 of file UI_interface.h.
Definition at line 494 of file UI_interface.h.
Definition at line 493 of file UI_interface.h.
Definition at line 523 of file UI_interface.h.
| typedef void(* uiButSearchArgFreeFn) (void *arg) |
Definition at line 510 of file UI_interface.h.
| typedef bool(* uiButSearchContextMenuFn) (struct bContext *C, void *arg, void *active, const struct wmEvent *event) |
Definition at line 511 of file UI_interface.h.
| typedef struct ARegion*(* uiButSearchCreateFn) (struct bContext *C, struct ARegion *butregion, struct uiButSearch *search_but) |
Definition at line 496 of file UI_interface.h.
| typedef struct ARegion*(* uiButSearchTooltipFn) (struct bContext *C, struct ARegion *region, const struct rcti *item_rect, void *arg, void *active) |
Definition at line 511 of file UI_interface.h.
| typedef void(* uiButSearchUpdateFn) (const struct bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first) |
Definition at line 505 of file UI_interface.h.
| typedef struct uiButStore uiButStore |
Definition at line 2559 of file UI_interface.h.
| typedef struct uiButStoreElem uiButStoreElem |
Definition at line 2559 of file UI_interface.h.
Definition at line 522 of file UI_interface.h.
| typedef struct uiDragColorHandle uiDragColorHandle |
Definition at line 1 of file UI_interface.h.
| typedef void(* uiListPanelIDFromDataFunc) (void *data_link, char *r_idname) |
Definition at line 1735 of file UI_interface.h.
Definition at line 529 of file UI_interface.h.
Definition at line 530 of file UI_interface.h.
Used for cycling menu values without opening the menu (Ctrl-Wheel).
| direction | forward or backwards [1 / -1]. |
| arg1 | uiBut.poin (as with uiMenuCreateFunc). |
Definition at line 537 of file UI_interface.h.
Definition at line 589 of file UI_interface.h.
Definition at line 574 of file UI_interface.h.
| typedef struct uiPopupBlockHandle uiPopupBlockHandle |
Definition at line 1 of file UI_interface.h.
| typedef struct uiPopupMenu uiPopupMenu |
Popup Menus
Functions used to create popup menus. For more extended menus the UI_popup_menu_begin/End functions can be used to define own items with the uiItem functions in between. If it is a simple confirmation menu or similar, popups can be created with a single function call.
Definition at line 547 of file UI_interface.h.
| typedef struct uiPropertySplitWrapper uiPropertySplitWrapper |
| typedef struct uiSearchItems uiSearchItems |
Callbacks
UI_block_func_handle_set/ButmFunc are for handling events through a callback. HandleFunc gets the retval passed on, and ButmFunc gets a2. The latter is mostly for compatibility with older code.
Definition at line 467 of file UI_interface.h.
| typedef struct uiStringInfo uiStringInfo |
| typedef enum uiStringInfoType uiStringInfoType |
| anonymous enum |
| Enumerator | |
|---|---|
| UI_DIR_UP | |
| UI_DIR_DOWN | |
| UI_DIR_LEFT | |
| UI_DIR_RIGHT | |
| UI_DIR_CENTER_X | |
| UI_DIR_CENTER_Y | |
| UI_DIR_ALL | |
Definition at line 121 of file UI_interface.h.
| anonymous enum |
uiBlock.flag (controls)
Definition at line 139 of file UI_interface.h.
| anonymous enum |
Definition at line 174 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_BUT_ICON_SUBMENU | Warning, the first 6 flags are internal. |
| UI_BUT_ICON_PREVIEW | |
| UI_BUT_NODE_LINK | |
| UI_BUT_NODE_ACTIVE | |
| UI_BUT_DRAG_LOCK | |
| UI_BUT_DISABLED | Grayed out and un-editable. |
| UI_BUT_ANIMATED | |
| UI_BUT_ANIMATED_KEY | |
| UI_BUT_DRIVEN | |
| UI_BUT_REDALERT | |
| UI_BUT_INACTIVE | Grayed out but still editable. |
| UI_BUT_LAST_ACTIVE | |
| UI_BUT_UNDO | |
| UI_BUT_IMMEDIATE | |
| UI_BUT_NO_UTF8 | |
| UI_BUT_ACTIVE_DEFAULT | For popups, pressing return activates this button, overriding the highlighted button. For non-popups this is just used as a display hint for the user to let them know the action which is activated when pressing return (file selector for eg). |
| UI_BUT_LIST_ITEM | This but is "inside" a list item (currently used to change theme colors). |
| UI_BUT_DRAG_MULTI | edit this button as well as the active button (not just dragging) |
| UI_BUT_ACTIVATE_ON_INIT | Use for popups to start editing the button on initialization. |
| UI_BUT_HAS_SEP_CHAR | uiBut.str contains UI_SEP_CHAR, used for key shortcuts |
| UI_BUT_UPDATE_DELAY | Don't run updates while dragging (needed in rare cases). |
| UI_BUT_TEXTEDIT_UPDATE | When widget is in textedit mode, update value on each char stroke |
| UI_BUT_VALUE_CLEAR | Show 'x' icon to clear/unlink value of text or search button. |
| UI_BUT_OVERRIDDEN | RNA property of the button is overridden from linked reference data. |
Definition at line 190 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_BUT_TEXT_LEFT | Text and icon alignment (by default, they are centered). |
| UI_BUT_ICON_LEFT | |
| UI_BUT_TEXT_RIGHT | |
| UI_BUT_NO_TOOLTIP | Prevent the button to show any tooltip. |
| UI_BUT_NO_TEXT_PADDING | Do not add the usual horizontal padding for text drawing. |
| UI_BUT_ALIGN_TOP | |
| UI_BUT_ALIGN_LEFT | |
| UI_BUT_ALIGN_RIGHT | |
| UI_BUT_ALIGN_DOWN | |
| UI_BUT_ALIGN | |
| UI_BUT_ALIGN_STITCH_TOP | Warning - HACK! Needed for buttons which are not TOP/LEFT aligned, but have some top/left corner stitched to some other TOP/LEFT-aligned button, because of 'corrective' hack in widget_roundbox_set()... |
| UI_BUT_ALIGN_STITCH_LEFT | |
| UI_BUT_ALIGN_ALL | |
| UI_BUT_BOX_ITEM | This but is "inside" a box item (currently used to change theme colors). |
| UI_BUT_ACTIVE_LEFT | Active left part of number button |
| UI_BUT_ACTIVE_RIGHT | Active right part of number button |
| UI_BUT_HAS_SHORTCUT | Button has shortcut text. |
| UI_BUT_ICON_REVERSE | Reverse order of consecutive off/on icons |
| UI_BUT_ANIMATED_CHANGED | Value is animated, but the current value differs from the animated one. |
| UI_BUT_CHECKBOX_INVERT | |
Definition at line 257 of file UI_interface.h.
| anonymous enum |
State for scrolldrawing.
| Enumerator | |
|---|---|
| UI_SCROLL_PRESSED | |
| UI_SCROLL_ARROWS | |
| UI_SCROLL_NO_OUTLINE | |
Definition at line 456 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_BLOCK_THEME_STYLE_REGULAR | |
| UI_BLOCK_THEME_STYLE_POPUP | |
Definition at line 669 of file UI_interface.h.
| anonymous enum |
Special Buttons
Buttons with a more specific purpose:
| Enumerator | |
|---|---|
| UI_ID_RENAME | |
| UI_ID_BROWSE | |
| UI_ID_ADD_NEW | |
| UI_ID_ALONE | |
| UI_ID_OPEN | |
| UI_ID_DELETE | |
| UI_ID_LOCAL | |
| UI_ID_AUTO_NAME | |
| UI_ID_FAKE_USER | |
| UI_ID_PIN | |
| UI_ID_PREVIEWS | |
| UI_ID_OVERRIDE | |
| UI_ID_FULL | |
Definition at line 1394 of file UI_interface.h.
| anonymous enum |
Ways to limit what is displayed in ID-search popup.
| Enumerator | |
|---|---|
| UI_TEMPLATE_ID_FILTER_ALL | |
| UI_TEMPLATE_ID_FILTER_AVAILABLE | |
Definition at line 1415 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_HORIZONTAL | |
| UI_LAYOUT_VERTICAL | |
Definition at line 1775 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_PANEL | |
| UI_LAYOUT_HEADER | |
| UI_LAYOUT_MENU | |
| UI_LAYOUT_TOOLBAR | |
| UI_LAYOUT_PIEMENU | |
| UI_LAYOUT_VERT_BAR | |
Definition at line 1780 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_ALIGN_EXPAND | |
| UI_LAYOUT_ALIGN_LEFT | |
| UI_LAYOUT_ALIGN_CENTER | |
| UI_LAYOUT_ALIGN_RIGHT | |
Definition at line 1792 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_ITEM_R_EXPAND | |
| UI_ITEM_R_SLIDER | |
| UI_ITEM_R_TOGGLE | Use for booleans, causes the button to draw with an outline (emboss), instead of text with a checkbox. This is implied when toggle buttons have an icon unless UI_ITEM_R_ICON_NEVER flag is set. |
| UI_ITEM_R_ICON_NEVER | Don't attempt to use an icon when the icon is set to #ICON_NONE. Use for boolean's, causes the buttons to always show as a checkbox even when there is an icon (which would normally show the button as a toggle). |
| UI_ITEM_R_ICON_ONLY | |
| UI_ITEM_R_EVENT | |
| UI_ITEM_R_FULL_EVENT | |
| UI_ITEM_R_NO_BG | |
| UI_ITEM_R_IMMEDIATE | |
| UI_ITEM_O_DEPRESS | |
| UI_ITEM_R_COMPACT | |
| UI_ITEM_R_CHECKBOX_INVERT | |
| UI_ITEM_R_FORCE_BLANK_DECORATE | Don't add a real decorator item, just blank space. |
| UI_ITEM_R_SPLIT_EMPTY_NAME | |
Definition at line 1799 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_TEMPLATE_OP_PROPS_SHOW_TITLE | |
| UI_TEMPLATE_OP_PROPS_SHOW_EMPTY | |
| UI_TEMPLATE_OP_PROPS_COMPACT | |
| UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED | |
| UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT | |
Definition at line 1834 of file UI_interface.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_CNR_TOP_LEFT | |
| UI_CNR_TOP_RIGHT | |
| UI_CNR_BOTTOM_RIGHT | |
| UI_CNR_BOTTOM_LEFT | |
| UI_CNR_NONE | |
| UI_CNR_ALL | |
Definition at line 1854 of file UI_interface.h.
| enum eAutoPropButsReturn |
| Enumerator | |
|---|---|
| UI_PROP_BUTS_NONE_ADDED | |
| UI_PROP_BUTS_ANY_FAILED_CHECK | |
Definition at line 1564 of file UI_interface.h.
| enum eBlockBoundsCalc |
| Enumerator | |
|---|---|
| UI_BLOCK_BOUNDS_NONE | |
| UI_BLOCK_BOUNDS | |
| UI_BLOCK_BOUNDS_TEXT | |
| UI_BLOCK_BOUNDS_POPUP_MOUSE | |
| UI_BLOCK_BOUNDS_POPUP_MENU | |
| UI_BLOCK_BOUNDS_POPUP_CENTER | |
| UI_BLOCK_BOUNDS_PIE_CENTER | |
Definition at line 694 of file UI_interface.h.
| enum eButGradientType |
Gradient types, for color picker UI_BTYPE_HSVCUBE etc.
| Enumerator | |
|---|---|
| UI_GRAD_SV | |
| UI_GRAD_HV | |
| UI_GRAD_HS | |
| UI_GRAD_H | |
| UI_GRAD_S | |
| UI_GRAD_V | |
| UI_GRAD_V_ALT | |
| UI_GRAD_L_ALT | |
Definition at line 398 of file UI_interface.h.
| enum eButLabelAlign |
| Enumerator | |
|---|---|
| UI_BUT_LABEL_ALIGN_NONE | |
| UI_BUT_LABEL_ALIGN_COLUMN | |
| UI_BUT_LABEL_ALIGN_SPLIT_COLUMN | |
Definition at line 1554 of file UI_interface.h.
| enum eButPointerType |
Button types, bits stored in 1 value... and a short even!
| Enumerator | |
|---|---|
| UI_BUT_POIN_CHAR | |
| UI_BUT_POIN_SHORT | |
| UI_BUT_POIN_INT | |
| UI_BUT_POIN_FLOAT | |
| UI_BUT_POIN_BIT | |
Definition at line 320 of file UI_interface.h.
| enum eButType |
| Enumerator | |
|---|---|
| UI_BTYPE_BUT | |
| UI_BTYPE_ROW | |
| UI_BTYPE_TEXT | |
| UI_BTYPE_MENU | Drop-down list. |
| UI_BTYPE_BUT_MENU | |
| UI_BTYPE_NUM | number button |
| UI_BTYPE_NUM_SLIDER | number slider |
| UI_BTYPE_TOGGLE | |
| UI_BTYPE_TOGGLE_N | |
| UI_BTYPE_ICON_TOGGLE | |
| UI_BTYPE_ICON_TOGGLE_N | |
| UI_BTYPE_BUT_TOGGLE | same as regular toggle, but no on/off state displayed |
| UI_BTYPE_CHECKBOX | similar to toggle, display a 'tick' |
| UI_BTYPE_CHECKBOX_N | |
| UI_BTYPE_COLOR | |
| UI_BTYPE_TAB | |
| UI_BTYPE_POPOVER | |
| UI_BTYPE_SCROLL | |
| UI_BTYPE_BLOCK | |
| UI_BTYPE_LABEL | |
| UI_BTYPE_KEY_EVENT | |
| UI_BTYPE_HSVCUBE | |
| UI_BTYPE_PULLDOWN | menu (often used in headers), **_MENU /w different draw-type |
| UI_BTYPE_ROUNDBOX | |
| UI_BTYPE_COLORBAND | |
| UI_BTYPE_UNITVEC | sphere widget (used to input a unit-vector, aka normal) |
| UI_BTYPE_CURVE | |
| UI_BTYPE_CURVEPROFILE | Profile editing widget |
| UI_BTYPE_LISTBOX | |
| UI_BTYPE_LISTROW | |
| UI_BTYPE_HSVCIRCLE | |
| UI_BTYPE_TRACK_PREVIEW | |
| UI_BTYPE_SEARCH_MENU | Buttons with value >= UI_BTYPE_SEARCH_MENU don't get undo pushes. |
| UI_BTYPE_EXTRA | |
| UI_BTYPE_HOTKEY_EVENT | |
| UI_BTYPE_IMAGE | Non-interactive image, used for splash screen |
| UI_BTYPE_HISTOGRAM | |
| UI_BTYPE_WAVEFORM | |
| UI_BTYPE_VECTORSCOPE | |
| UI_BTYPE_PROGRESS_BAR | |
| UI_BTYPE_NODE_SOCKET | |
| UI_BTYPE_SEPR | |
| UI_BTYPE_SEPR_LINE | |
| UI_BTYPE_SEPR_SPACER | Dynamically fill available space. |
| UI_BTYPE_GRIP | Resize handle (resize uilist). |
| UI_BTYPE_DECORATOR | |
Definition at line 333 of file UI_interface.h.
| enum eFontStyle_Align |
| Enumerator | |
|---|---|
| UI_STYLE_TEXT_LEFT | |
| UI_STYLE_TEXT_CENTER | |
| UI_STYLE_TEXT_RIGHT | |
Definition at line 2505 of file UI_interface.h.
| enum eUIEmbossType |
uiBlock.emboss and uiBut.emboss
| Enumerator | |
|---|---|
| UI_EMBOSS | |
| UI_EMBOSS_NONE | |
| UI_EMBOSS_PULLDOWN | |
| UI_EMBOSS_RADIAL | |
| UI_EMBOSS_NONE_OR_STATUS | The same as UI_EMBOSS_NONE, unless the button has a coloring status like an animation state or red alert. |
| UI_EMBOSS_UNDEFINED | |
Definition at line 106 of file UI_interface.h.
| enum uiStringInfoType |
Definition at line 1354 of file UI_interface.h.
| void ED_keymap_ui | ( | struct wmKeyConfig * | keyconf | ) |
User Interface Keymap.
Definition at line 1878 of file interface_ops.c.
References eyedropper_colorband_modal_keymap(), eyedropper_modal_keymap(), and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
| void ED_operatortypes_ui | ( | void | ) |
Definition at line 1844 of file interface_ops.c.
References UI_OT_assign_default_button(), UI_OT_button_execute(), UI_OT_button_string_clear(), UI_OT_copy_as_driver_button(), UI_OT_copy_data_path_button(), UI_OT_copy_python_command_button(), UI_OT_copy_to_selected_button(), UI_OT_drop_color(), UI_OT_eyedropper_color(), UI_OT_eyedropper_colorramp(), UI_OT_eyedropper_colorramp_point(), UI_OT_eyedropper_depth(), UI_OT_eyedropper_driver(), UI_OT_eyedropper_gpencil_color(), UI_OT_eyedropper_id(), UI_OT_jump_to_target_button(), UI_OT_override_remove_button(), UI_OT_override_type_set_button(), UI_OT_reloadtranslation(), UI_OT_reset_default_button(), UI_OT_unset_property_button(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
| AutoComplete* UI_autocomplete_begin | ( | const char * | startname, |
| size_t | maxlen | ||
| ) |
Definition at line 4782 of file interface.c.
References AutoComplete::matches, AutoComplete::maxlen, MEM_callocN, AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), and ui_searchbox_autocomplete().
| int UI_autocomplete_end | ( | AutoComplete * | autocpl, |
| char * | autoname | ||
| ) |
Definition at line 4829 of file interface.c.
References AUTOCOMPLETE_FULL_MATCH, AUTOCOMPLETE_NO_MATCH, AUTOCOMPLETE_PARTIAL_MATCH, BLI_strncpy(), AutoComplete::matches, AutoComplete::maxlen, MEM_freeN, AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), and ui_searchbox_autocomplete().
| void UI_autocomplete_update_name | ( | AutoComplete * | autocpl, |
| const char * | name | ||
| ) |
Definition at line 4795 of file interface.c.
References Freestyle::a, BLI_strncpy(), AutoComplete::matches, AutoComplete::maxlen, AutoComplete::startname, and AutoComplete::truncate.
Referenced by autocomplete_directory(), autocomplete_file(), and UI_search_item_add().
| bool UI_block_active_only_flagged_buttons | ( | const struct bContext * | C, |
| struct ARegion * | region, | ||
| struct uiBlock * | block | ||
| ) |
Referenced by UI_popover_panel_invoke(), UI_popup_block_ex(), and UI_popup_block_invoke_ex().
| void UI_block_align_begin | ( | uiBlock * | block | ) |
Definition at line 3821 of file interface.c.
References uiBlock::alignnr, uiBlock::flag, UI_block_align_end(), UI_BUT_ALIGN, and UI_BUT_ALIGN_DOWN.
Referenced by colorband_buttons_layout(), curvemap_clipping_func(), ED_time_scrub_channel_search_draw(), envelope_panel_draw(), template_ID(), template_search_buttons(), ui_block_colorpicker(), ui_item_array(), uiTemplateComponentMenu(), uiTemplateMarker(), uiTemplateNodeSocket(), uiTemplateReportsBanner(), uvedit_vertex_buttons(), v3d_editvertex_buts(), and v3d_object_dimension_buts().
| void UI_block_align_end | ( | uiBlock * | block | ) |
Definition at line 3834 of file interface.c.
References uiBlock::flag, and UI_BUT_ALIGN.
Referenced by colorband_buttons_layout(), ED_time_scrub_channel_search_draw(), node_update_basis(), spreadsheet_footer_region_draw(), template_ID(), template_search_buttons(), UI_block_align_begin(), ui_block_colorpicker(), UI_block_end_ex(), ui_item_array(), uiTemplateComponentMenu(), uiTemplateMarker(), uiTemplateNodeSocket(), uiTemplateReportsBanner(), uvedit_vertex_buttons(), v3d_editvertex_buts(), and v3d_object_dimension_buts().
| bool UI_block_apply_search_filter | ( | uiBlock * | block, |
| const char * | search_filter | ||
| ) |
Apply property search behavior, setting panel flags and deactivating buttons that don't match.
Definition at line 5137 of file interface_layout.c.
References BLI_assert, block_search_filter_tag_buttons(), block_search_panel_label_matches(), PanelType::flag, NULL, uiBlock::panel, PANEL_TYPE_NO_SEARCH, Panel::type, and ui_panel_tag_search_filter_match().
Referenced by ed_panel_draw(), and panel_property_search().
| uiBlock* UI_block_begin | ( | const struct bContext * | C, |
| struct ARegion * | region, | ||
| const char * | name, | ||
| eUIEmbossType | emboss | ||
| ) |
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), clip_draw_dopesheet_channels(), colorband_tools_func(), component_menu(), curvemap_clipping_func(), curvemap_tools_func(), CurveProfile_presets_func(), CurveProfile_tools_func(), blender::ed::spreadsheet::draw_cell_contents(), draw_channel_names(), draw_group_overlay(), blender::ed::spreadsheet::draw_left_column_content(), draw_nla_channel_list(), draw_outliner(), blender::ed::spreadsheet::draw_top_row_content(), ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), file_draw_list(), graph_draw_channel_names(), menu_add_shortcut(), menu_change_shortcut(), menu_items_from_ui_create(), merged_element_search_menu(), node_find_menu(), node_uiblocks_init(), panel_property_search(), spreadsheet_footer_region_draw(), template_common_search_menu(), ui_block_func_COLOR(), ui_icon_view_menu_cb(), UI_pie_menu_begin(), ui_popover_create_block(), UI_popup_menu_begin_ex(), ui_popup_menu_create(), wm_block_create_about(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void UI_block_bounds_set_centered | ( | uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 626 of file interface.c.
References uiBlock::bounds, uiBlock::bounds_type, and UI_BLOCK_BOUNDS_POPUP_CENTER.
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), wm_block_create_about(), and wm_block_create_splash().
| void UI_block_bounds_set_explicit | ( | uiBlock * | block, |
| int | minx, | ||
| int | miny, | ||
| int | maxx, | ||
| int | maxy | ||
| ) |
Definition at line 632 of file interface.c.
References uiBlock::bounds_type, uiBlock::rect, UI_BLOCK_BOUNDS_NONE, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by draw_group_overlay(), node_update_basis(), and node_update_hidden().
| void UI_block_bounds_set_menu | ( | uiBlock * | block, |
| int | addval, | ||
| const int | bounds_offset[2] | ||
| ) |
Definition at line 613 of file interface.c.
References uiBlock::bounds, uiBlock::bounds_offset, uiBlock::bounds_type, copy_v2_v2_int(), NULL, UI_BLOCK_BOUNDS_POPUP_MENU, and zero_v2_int().
Referenced by ui_block_func_POPUP().
| void UI_block_bounds_set_normal | ( | struct uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 580 of file interface.c.
References uiBlock::bounds, uiBlock::bounds_type, NULL, and UI_BLOCK_BOUNDS.
Referenced by component_menu(), curvemap_clipping_func(), ED_time_scrub_channel_search_draw(), template_common_search_menu(), UI_block_end_ex(), ui_block_func_COLOR(), ui_block_func_POPOVER(), and ui_icon_view_menu_cb().
| void UI_block_bounds_set_popup | ( | uiBlock * | block, |
| int | addval, | ||
| const int | bounds_offset[2] | ||
| ) |
Definition at line 598 of file interface.c.
References uiBlock::bounds, uiBlock::bounds_offset, uiBlock::bounds_type, NULL, and UI_BLOCK_BOUNDS_POPUP_MOUSE.
Referenced by menu_add_shortcut(), menu_change_shortcut(), merged_element_search_menu(), node_find_menu(), ui_block_func_POPOVER(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void UI_block_bounds_set_text | ( | uiBlock * | block, |
| int | addval | ||
| ) |
Definition at line 591 of file interface.c.
References uiBlock::bounds, uiBlock::bounds_type, and UI_BLOCK_BOUNDS_TEXT.
Referenced by colorband_tools_func(), curvemap_tools_func(), CurveProfile_presets_func(), CurveProfile_tools_func(), and ui_block_func_POPUP().
| bool UI_block_can_add_separator | ( | const uiBlock * | block | ) |
Definition at line 538 of file interface_query.c.
References uiBlock::buttons, ELEM, ListBase::last, uiBut::type, ui_block_is_menu(), ui_block_is_pie_menu(), UI_BTYPE_SEPR, and UI_BTYPE_SEPR_LINE.
Referenced by uiItemS_ex().
| void UI_block_direction_set | ( | uiBlock * | block, |
| char | direction | ||
| ) |
Definition at line 6028 of file interface.c.
References uiBlock::direction.
Referenced by colorband_tools_func(), component_menu(), curvemap_clipping_func(), curvemap_tools_func(), CurveProfile_presets_func(), CurveProfile_tools_func(), menu_add_shortcut(), menu_change_shortcut(), menu_item_enum_opname_menu(), template_common_search_menu(), ui_block_func_POPOVER(), ui_block_func_POPUP(), ui_icon_view_menu_cb(), and ui_item_menu_hold().
Referenced by clip_draw_dopesheet_channels(), blender::ed::spreadsheet::draw_cell_contents(), draw_channel_names(), blender::ed::spreadsheet::draw_left_column_content(), draw_nla_channel_list(), draw_outliner(), blender::ed::spreadsheet::draw_top_row_content(), ED_time_scrub_channel_search_draw(), file_draw_list(), graph_draw_channel_names(), node_draw_basis(), node_draw_frame(), node_draw_hidden(), node_draw_reroute(), spreadsheet_footer_region_draw(), ui_block_region_draw(), and UI_panels_draw().
| char UI_block_emboss_get | ( | uiBlock * | block | ) |
Definition at line 3537 of file interface.c.
References uiBlock::emboss.
Referenced by uiTemplateReportsBanner().
| void UI_block_emboss_set | ( | uiBlock * | block, |
| eUIEmbossType | emboss | ||
| ) |
Definition at line 3542 of file interface.c.
References uiBlock::emboss.
Referenced by ANIM_channel_draw_widgets(), block_create_autorun_warning(), clip_draw_dopesheet_channels(), colorband_buttons_layout(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), draw_constraint_header(), draw_outliner(), graph_draw_driver_settings_panel(), nla_panel_stripname(), node_add_error_message_button(), node_draw_basis(), node_draw_hidden(), node_file_output_socket_draw(), outliner_draw_mode_column_toggle(), template_keymap_item_properties(), ui_node_draw_input(), uiTemplateList(), uiTemplateReportsBanner(), and wm_block_splash_add_label().
Referenced by clip_draw_dopesheet_channels(), blender::ed::spreadsheet::draw_cell_contents(), draw_channel_names(), draw_group_overlay(), blender::ed::spreadsheet::draw_left_column_content(), draw_nla_channel_list(), draw_outliner(), blender::ed::spreadsheet::draw_top_row_content(), ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), file_draw_list(), graph_draw_channel_names(), menu_items_from_ui_create(), node_draw_basis(), node_draw_frame(), node_draw_hidden(), node_draw_reroute(), and spreadsheet_footer_region_draw().
Referenced by ui_popup_block_refresh().
| void UI_block_flag_disable | ( | uiBlock * | block, |
| int | flag | ||
| ) |
Definition at line 6072 of file interface.c.
References uiBlock::flag.
Referenced by UI_popover_end(), uiTemplateList(), wm_block_create_redo(), wm_block_dialog_create(), and wm_operator_ui_create().
| void UI_block_flag_enable | ( | uiBlock * | block, |
| int | flag | ||
| ) |
Definition at line 6067 of file interface.c.
References uiBlock::flag.
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), component_menu(), curvemap_clipping_func(), draw_group_overlay(), ED_time_scrub_channel_search_draw(), menu_change_shortcut(), menu_items_from_ui_create(), merged_element_search_menu(), move_to_collection_menu_create(), node_find_menu(), node_uiblocks_init(), template_common_search_menu(), template_texture_user_menu(), ui_block_func_PIE(), ui_block_func_POPOVER(), ui_block_func_POPUP(), ui_def_but_rna__menu(), ui_icon_view_menu_cb(), ui_popover_create_block(), UI_popover_end(), ui_template_node_link_menu(), uiTemplateList(), wm_block_create_about(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
Referenced by menu_items_from_ui_create(), and UI_popup_menu_end_or_cancel().
| void UI_block_func_butmenu_set | ( | uiBlock * | block, |
| uiMenuHandleFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 6253 of file interface.c.
References uiBlock::butm_func, and uiBlock::butm_func_arg.
Referenced by colorband_tools_func(), curvemap_tools_func(), CurveProfile_presets_func(), and CurveProfile_tools_func().
| void UI_block_func_handle_set | ( | uiBlock * | block, |
| uiBlockHandleFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 6247 of file interface.c.
References uiBlock::handle_func, and uiBlock::handle_func_arg.
Referenced by graph_draw_driver_settings_panel(), graph_panel_modifiers(), image_panel_uv(), menu_add_shortcut(), menu_change_shortcut(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), ui_layout_end(), uiTemplateEditModeSelection(), uiTemplateMarker(), uiTemplateOperatorRedoProperties(), uiTemplatePreview(), uiTemplateRunningJobs(), view3d_panel_transform(), view3d_panel_vgroup(), and wm_block_create_redo().
| void UI_block_func_set | ( | uiBlock * | block, |
| uiButHandleFunc | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Definition at line 6259 of file interface.c.
References uiBlock::func, uiBlock::func_arg1, and uiBlock::func_arg2.
Referenced by draw_constraint_header(), ED_file_path_button(), file_panel_execution_buttons_draw(), file_panel_operator(), wm_block_dialog_create(), and wm_operator_ui_create().
| void UI_block_funcN_set | ( | uiBlock * | block, |
| uiButHandleNFunc | funcN, | ||
| void * | argN, | ||
| void * | arg2 | ||
| ) |
Definition at line 6266 of file interface.c.
References uiBlock::func_arg2, uiBlock::func_argN, uiBlock::funcN, and MEM_freeN.
Referenced by curvemap_buttons_layout(), CurveProfile_buttons_layout(), uiTemplateImage(), and uiTemplateMarker().
| bool UI_block_is_empty | ( | const uiBlock * | block | ) |
Definition at line 533 of file interface_query.c.
References UI_block_is_empty_ex().
| bool UI_block_is_empty_ex | ( | const uiBlock * | block, |
| const bool | skip_title | ||
| ) |
Definition at line 519 of file interface_query.c.
References uiBlock::buttons, ListBase::first, uiBut::next, NULL, uiBut::type, UI_BTYPE_LABEL, and ui_but_next_non_separator().
Referenced by UI_block_is_empty(), and UI_popup_menu_end_or_cancel().
| bool UI_block_is_search_only | ( | const uiBlock * | block | ) |
Definition at line 3552 of file interface.c.
References uiBlock::flag, and UI_BLOCK_SEARCH_ONLY.
Referenced by UI_panels_draw().
| uiLayout* UI_block_layout | ( | uiBlock * | block, |
| int | dir, | ||
| int | type, | ||
| int | x, | ||
| int | y, | ||
| int | size, | ||
| int | em, | ||
| int | padding, | ||
| const struct uiStyle * | style | ||
| ) |
Referenced by colorband_tools_func(), component_menu(), ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), menu_add_shortcut(), menu_change_shortcut(), menu_items_from_ui_create(), node_update_basis(), panel_property_search(), spreadsheet_footer_region_draw(), UI_pie_menu_begin(), ui_popover_create_block(), UI_popup_menu_begin_ex(), ui_popup_menu_create(), wm_block_create_about(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| void UI_block_layout_free | ( | uiBlock * | block | ) |
Used for property search when the layout process needs to be cancelled in order to avoid computing the locations for buttons, but the layout items created while adding the buttons must still be freed.
Definition at line 5582 of file interface_layout.c.
References uiBlock::layouts, LISTBASE_FOREACH_MUTABLE, MEM_freeN, and ui_layout_free().
Referenced by panel_property_search().
| void UI_block_layout_resolve | ( | uiBlock * | block, |
| int * | r_x, | ||
| int * | r_y | ||
| ) |
Definition at line 5590 of file interface_layout.c.
References uiBlock::active, BLI_assert, BLI_listbase_clear(), uiBlock::curlayout, uiBlock::layouts, LISTBASE_FOREACH_MUTABLE, MEM_freeN, NULL, ui_layout_add_padding_button(), ui_layout_end(), ui_layout_free(), and UI_template_fix_linking().
Referenced by ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), node_update_basis(), spreadsheet_footer_region_draw(), UI_block_end_ex(), ui_block_func_PIE(), ui_block_func_POPOVER(), ui_block_func_POPUP(), and UI_popup_menu_end_or_cancel().
Definition at line 5488 of file interface_layout.c.
References uiBlock::curlayout.
Referenced by colorband_tools_func(), ED_time_scrub_channel_search_draw(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_item_array(), ui_item_disabled(), ui_item_enum_expand_exec(), ui_item_menu(), ui_item_with_label(), ui_layout_box(), ui_node_menu_column(), ui_template_node_link_menu(), uiItemDecoratorR_prop(), uiItemFullO_ptr_ex(), uiItemFullR(), uiItemL_(), uiItemL_respect_property_split(), uiItemS_ex(), uiItemsFullEnumO_items(), uiItemSpacer(), uiItemTabsEnumR_prop(), uiItemV(), uiLayoutAbsolute(), uiLayoutColumn(), uiLayoutColumnFlow(), uiLayoutGridFlow(), uiLayoutOverlap(), uiLayoutRadial(), uiLayoutRow(), uiLayoutSplit(), uiTemplateMenuSearch(), uiTemplateNodeLink(), uiTemplateOperatorSearch(), and uiTemplateRunningJobs().
| void UI_block_lock_clear | ( | uiBlock * | block | ) |
Definition at line 2219 of file interface.c.
References uiBlock::lock, uiBlock::lockstr, and NULL.
Referenced by draw_constraint_header(), gpencil_modifier_panel_get_property_pointers(), panel_draw(), template_operator_property_buts_draw_single(), uiTemplateColorRamp(), uiTemplateCurveMapping(), and uiTemplateCurveProfile().
| void UI_block_lock_set | ( | uiBlock * | block, |
| bool | val, | ||
| const char * | lockstr | ||
| ) |
Definition at line 2211 of file interface.c.
References uiBlock::lock, and uiBlock::lockstr.
Referenced by draw_constraint_header(), gpencil_modifier_panel_get_property_pointers(), modifier_panel_get_property_pointers(), panel_draw(), shaderfx_panel_header(), template_operator_property_buts_draw_single(), uiTemplateColorRamp(), uiTemplateConstraintHeader(), uiTemplateCurveMapping(), and uiTemplateCurveProfile().
| void UI_block_order_flip | ( | uiBlock * | block | ) |
Definition at line 6034 of file interface.c.
References uiBlock::buttons, uiBlock::flag, LISTBASE_FOREACH, SWAP, UI_BLOCK_IS_FLIP, UI_BLOCK_NO_FLIP, UI_BUT_ALIGN, and USER_MENUFIXEDORDER.
Referenced by ui_block_func_POPUP(), and ui_popup_block_position().
Definition at line 3468 of file interface.c.
References uiBlock::active, BLI_addhead(), BLI_findstring(), uiBlock::handle, uiBlock::name, NULL, uiBlock::oldblock, uiBlock::panel, and ARegion::uiblocks.
Referenced by UI_block_begin(), ui_block_func_PIE(), ui_block_func_POPOVER(), and ui_block_func_POPUP().
| void UI_block_set_search_only | ( | uiBlock * | block, |
| bool | search_only | ||
| ) |
Use when a block must be searched to give accurate results for the whole region but shouldn't be displayed.
Definition at line 3561 of file interface.c.
References uiBlock::flag, SET_FLAG_FROM_TEST, and UI_BLOCK_SEARCH_ONLY.
Referenced by panel_property_search(), and panel_remove_invisible_layouts_recursive().
| void UI_block_theme_style_set | ( | uiBlock * | block, |
| char | theme_style | ||
| ) |
Definition at line 3547 of file interface.c.
References uiBlock::theme_style.
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), curvemap_clipping_func(), merged_element_search_menu(), node_find_menu(), template_common_search_menu(), ui_block_func_COLOR(), ui_block_func_PIE(), ui_block_func_POPOVER(), ui_block_func_POPUP(), ui_icon_view_menu_cb(), UI_panel_begin(), ui_popup_block_refresh(), wm_block_create_about(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_search_menu(), wm_enum_search_menu(), and wm_operator_ui_create().
| void UI_block_translate | ( | uiBlock * | block, |
| int | x, | ||
| int | y | ||
| ) |
Definition at line 353 of file interface.c.
References BLI_rctf_translate(), uiBlock::buttons, LISTBASE_FOREACH, uiBlock::rect, x, and y.
Referenced by ed_panel_draw(), ui_block_bounds_calc_centered(), ui_block_bounds_calc_centered_pie(), ui_block_bounds_calc_popup(), and ui_popup_block_refresh().
Referenced by ui_popup_block_refresh().
Referenced by ED_region_header_draw().
Referenced by ED_region_do_draw(), and ui_popup_block_refresh().
| int UI_blocklist_min_y_get | ( | struct ListBase * | lb | ) |
Definition at line 6015 of file interface.c.
References ListBase::first, LISTBASE_FOREACH, and min.
Referenced by ED_region_header_draw(), and ED_region_panels_draw().
| bool UI_but_active_drop_color | ( | struct bContext * | C | ) |
Definition at line 11135 of file interface_handlers.c.
References C, CTX_wm_region(), uiBut::type, UI_BTYPE_COLOR, and ui_region_find_active_but().
Referenced by UI_drop_color_poll().
| bool UI_but_active_drop_name | ( | struct bContext * | C | ) |
Definition at line 11121 of file interface_handlers.c.
References C, CTX_wm_region(), ELEM, uiBut::type, UI_BTYPE_SEARCH_MENU, UI_BTYPE_TEXT, and ui_region_find_active_but().
Referenced by node_add_collection_poll(), node_add_object_poll(), node_add_texture_poll(), and wm_drop_operator_options().
| bool UI_but_active_only_ex | ( | const struct bContext * | C, |
| struct ARegion * | region, | ||
| uiBlock * | block, | ||
| uiBut * | but, | ||
| const bool | remove_on_failure | ||
| ) |
| void UI_but_disable | ( | uiBut * | but, |
| const char * | disabled_hint | ||
| ) |
Definition at line 6102 of file interface.c.
References uiBut::disabled_info, UI_BUT_DISABLED, and UI_but_flag_enable().
Referenced by modifier_panel_header(), outliner_draw_mode_column_toggle(), ui_def_but_operator_ptr(), ui_def_but_rna(), ui_def_but_rna_propname(), ui_item_disabled(), and uiTemplateTextureShow().
| void UI_but_drag_set_asset | ( | uiBut * | but, |
| const char * | name, | ||
| const char * | path, | ||
| int | id_type, | ||
| int | icon, | ||
| struct ImBuf * | imb, | ||
| float | scale | ||
| ) |
Definition at line 6137 of file interface.c.
References BLI_strncpy(), uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, wmDragAsset::id_type, uiBut::imb, uiBut::imb_scale, MEM_mallocN, wmDragAsset::name, wmDragAsset::path, UI_BUT_DRAGPOIN_FREE, ui_def_but_icon(), WM_DRAG_ASSET, and WM_drag_data_free().
Referenced by file_draw_icon(), and file_draw_preview().
Definition at line 6127 of file interface.c.
References uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, UI_BUT_DRAGPOIN_FREE, WM_drag_data_free(), and WM_DRAG_ID.
Referenced by file_draw_icon(), file_draw_preview(), template_add_button_search_menu(), and uiItemLDrag().
| void UI_but_drag_set_image | ( | uiBut * | but, |
| const char * | path, | ||
| int | icon, | ||
| struct ImBuf * | imb, | ||
| float | scale, | ||
| const bool | use_free | ||
| ) |
Definition at line 6201 of file interface.c.
References uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, uiBut::imb, uiBut::imb_scale, UI_BUT_DRAGPOIN_FREE, ui_def_but_icon(), WM_drag_data_free(), and WM_DRAG_PATH.
Referenced by file_draw_preview().
| void UI_but_drag_set_name | ( | uiBut * | but, |
| const char * | name | ||
| ) |
Definition at line 6185 of file interface.c.
References uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, UI_BUT_DRAGPOIN_FREE, WM_drag_data_free(), and WM_DRAG_NAME.
| void UI_but_drag_set_path | ( | uiBut * | but, |
| const char * | path, | ||
| const bool | use_free | ||
| ) |
Definition at line 6172 of file interface.c.
References uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, UI_BUT_DRAGPOIN_FREE, WM_drag_data_free(), and WM_DRAG_PATH.
Referenced by file_draw_icon().
| void UI_but_drag_set_rna | ( | uiBut * | but, |
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 6162 of file interface.c.
References uiBut::dragflag, uiBut::dragpoin, uiBut::dragtype, ptr, UI_BUT_DRAGPOIN_FREE, WM_drag_data_free(), and WM_DRAG_RNA.
| void UI_but_drag_set_value | ( | uiBut * | but | ) |
Definition at line 6196 of file interface.c.
References uiBut::dragtype, and WM_DRAG_VALUE.
| void UI_but_drawflag_disable | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 6097 of file interface.c.
References uiBut::drawflag.
Referenced by block_create_autorun_warning(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_float_vector(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_left_column_cell(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_top_row_cell(), ui_block_colorpicker(), UI_but_type_set_menu_from_pulldown(), uiItemFullO_ptr_ex(), widget_draw_extra_icons(), wm_block_file_close_cancel_button(), wm_block_file_close_discard_button(), wm_block_file_close_save_button(), and wm_block_splash_add_label().
| void UI_but_drawflag_enable | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 6092 of file interface.c.
References uiBut::drawflag.
Referenced by blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_float_vector(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_left_column_cell(), outliner_draw_restrictbuts(), template_add_button_search_menu(), template_ID_tabs(), template_search_add_button_operator(), UI_but_type_set_menu_from_pulldown(), ui_item_enum_expand_tabs(), ui_item_menu(), ui_searchbox_create_menu(), ui_searchbox_create_operator(), uiTemplateList(), uiTemplateMarker(), uiTemplateNodeLink(), view3d_panel_vgroup(), and wm_block_splash_add_label().
Referenced by ui_button_press_invoke(), ui_drag_toggle_set_xy_xy(), and ui_handle_menu_event().
| struct PointerRNA* UI_but_extra_operator_icon_add | ( | uiBut * | but, |
| const char * | opname, | ||
| short | opcontext, | ||
| int | icon | ||
| ) |
Definition at line 1650 of file interface.c.
References NULL, ui_but_extra_operator_icon_add_ptr(), and WM_operatortype_find().
Referenced by file_panel_execution_buttons_draw().
| void UI_but_flag_disable | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 6082 of file interface.c.
References uiBut::flag.
Referenced by file_draw_list(), outliner_draw_mode_column_toggle(), template_operator_property_buts_draw_single(), ui_block_colorpicker(), ui_update_color_picker_buts_rgb(), uiTemplateEditModeSelection(), and uiTemplateList().
| void UI_but_flag_enable | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 6077 of file interface.c.
References uiBut::flag.
Referenced by block_create_autorun_warning(), CurveProfile_buttons_layout(), draw_setting_widget(), ED_file_path_button(), file_draw_list(), file_panel_execution_buttons_draw(), merged_element_search_menu(), node_draw_basis(), node_draw_hidden(), node_find_menu(), outliner_draw_mode_column_toggle(), outliner_draw_overrides_buts(), outliner_draw_restrictbuts(), outliner_draw_rnabuts(), outliner_draw_userbuts(), template_add_button_search_menu(), template_ID(), template_id_def_new_but(), UI_but_disable(), ui_but_search_refresh(), ui_item_with_label(), ui_layout_list_set_labels_active(), ui_popup_context_menu_for_button(), uiDefAutoButR(), uiItemFullO_ptr_ex(), uiItemFullR(), uiItemL_(), uiItemL_ex(), uiTemplateKeymapItemProperties(), uiTemplateList(), view3d_panel_vgroup(), wm_block_dialog_create(), wm_block_file_close_save_button(), wm_block_search_menu(), and wm_block_splash_add_label().
| bool UI_but_flag_is_set | ( | uiBut * | but, |
| int | flag | ||
| ) |
Definition at line 6087 of file interface.c.
References uiBut::flag.
Referenced by datadropper_init(), depthdropper_init(), driverdropper_init(), ED_file_path_button(), eyedropper_colorband_init(), eyedropper_init(), file_panel_execution_buttons_draw(), and insert_key_button_exec().
push a new event onto event queue to activate the given button (usually a text-field) upon entering a popup
Definition at line 6850 of file interface.c.
References EVT_BUT_OPEN, KM_PRESS, wm_event_add(), and wm_event_init_from_window().
Referenced by template_common_search_menu(), template_operator_property_buts_draw_single(), and wm_enum_search_menu().
| void UI_but_func_complete_set | ( | uiBut * | but, |
| uiButCompleteFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 6312 of file interface.c.
References uiBut::autocomplete_func, and uiBut::autofunc_arg.
Referenced by ED_file_path_button(), and file_panel_execution_buttons_draw().
| void UI_but_func_drawextra_set | ( | uiBlock * | block, |
| void(*)(const struct bContext *C, void *, void *, void *, struct rcti *rect) | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Referenced by uiTemplatePreview().
| void UI_but_func_hold_set | ( | uiBut * | but, |
| uiButHandleHoldFunc | func, | ||
| void * | argN | ||
| ) |
Definition at line 6864 of file interface.c.
References uiBut::hold_argN, and uiBut::hold_func.
Referenced by uiItemFullOMenuHold_ptr().
| void UI_but_func_menu_search | ( | uiBut * | but | ) |
Definition at line 1136 of file interface_template_search_menu.c.
References blender::compositor::area(), uiBut::block, MenuSearch_Data::but, C, CTX_wm_area(), CTX_wm_region(), CTX_wm_window(), data, uiBlock::evil_C, menu_items_from_ui_create(), menu_search_arg_free_fn(), menu_search_exec_fn(), menu_search_update_fn(), MENU_SEP, NULL, SPACE_TOPBAR, UI_but_func_search_set(), UI_but_func_search_set_context_menu(), UI_but_func_search_set_sep_string(), UI_but_func_search_set_tooltip(), ui_search_menu_create_context_menu(), ui_search_menu_create_tooltip(), and ui_searchbox_create_menu().
Referenced by uiTemplateMenuSearch(), and wm_block_search_menu().
| void UI_but_func_menu_step_set | ( | uiBut * | but, |
| uiMenuStepFunc | func | ||
| ) |
Definition at line 6318 of file interface.c.
References uiBut::menu_step_func.
Referenced by uiblock_layer_pass_buttons().
| void UI_but_func_operator_search | ( | uiBut * | but | ) |
Definition at line 117 of file interface_template_search_operator.c.
References NULL, operator_search_exec_fn(), operator_search_update_fn(), UI_but_func_search_set(), and ui_searchbox_create_operator().
Referenced by uiTemplateOperatorSearch(), and wm_block_search_menu().
| void UI_but_func_pushed_state_set | ( | uiBut * | but, |
| uiButPushedStateFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 6332 of file interface.c.
References uiBut::pushed_state_arg, and uiBut::pushed_state_func.
| void UI_but_func_rename_set | ( | uiBut * | but, |
| uiButHandleRenameFunc | func, | ||
| void * | arg1 | ||
| ) |
Definition at line 6277 of file interface.c.
References uiBut::rename_arg1, and uiBut::rename_func.
Referenced by file_draw_list(), and outliner_buttons().
| void UI_but_func_search_set | ( | uiBut * | but, |
| uiButSearchCreateFn | search_create_fn, | ||
| uiButSearchUpdateFn | search_update_fn, | ||
| void * | arg, | ||
| const bool | free_arg, | ||
| uiButSearchArgFreeFn | search_arg_free_fn, | ||
| uiButHandleFunc | search_exec_fn, | ||
| void * | active | ||
| ) |
| search_create_fn | Function to create the menu. |
| search_update_fn | Function to refresh search content after the search text has changed. |
| arg | user value. |
| free_arg | Set to true if the argument is newly allocated memory for every redraw and should be freed when the button is destroyed. |
| search_arg_free_fn | When non-null, use this function to free arg. |
| search_exec_fn | Function that executes the action, gets arg as the first argument. The second argument as the active item-pointer |
| active | When non-null, this item-pointer item will be visible and selected, otherwise the first item will be selected. |
Definition at line 6613 of file interface.c.
References blender::compositor::active, uiButSearch::arg, uiButSearch::arg_free_fn, BLI_assert, uiBut::block, uiButSearch::but, uiBut::drawstr, uiBlock::flag, uiBut::func, uiButSearch::item_active, uiButSearch::items_update_fn, NULL, uiButSearch::popup_create_fn, uiButSearch::results_are_suggestions, uiBut::type, UI_BLOCK_LOOP, UI_BTYPE_SEARCH_MENU, UI_but_func_set(), UI_but_funcN_set(), ui_but_search_refresh(), and ui_searchbox_create_generic().
Referenced by merged_element_search_menu(), node_find_menu(), node_geometry_add_attribute_search_button(), template_common_search_menu(), ui_but_add_search(), UI_but_func_menu_search(), UI_but_func_operator_search(), and uiDefSearchButO_ptr().
| void UI_but_func_search_set_context_menu | ( | uiBut * | but, |
| uiButSearchContextMenuFn | context_menu_fn | ||
| ) |
Definition at line 6671 of file interface.c.
References BLI_assert, uiButSearch::item_context_menu_fn, uiBut::type, and UI_BTYPE_SEARCH_MENU.
Referenced by UI_but_func_menu_search().
| void UI_but_func_search_set_results_are_suggestions | ( | uiBut * | but, |
| const bool | value | ||
| ) |
Definition at line 6699 of file interface.c.
References BLI_assert, uiButSearch::results_are_suggestions, uiBut::type, and UI_BTYPE_SEARCH_MENU.
Referenced by node_geometry_add_attribute_search_button().
| void UI_but_func_search_set_sep_string | ( | uiBut * | but, |
| const char * | search_sep_string | ||
| ) |
| search_sep_string | when not NULL, this string is used as a separator, showing the icon and highlighted text after the last instance of this string. |
Definition at line 6683 of file interface.c.
References BLI_assert, uiButSearch::item_sep_string, uiBut::type, and UI_BTYPE_SEARCH_MENU.
Referenced by node_geometry_add_attribute_search_button(), and UI_but_func_menu_search().
| void UI_but_func_search_set_tooltip | ( | uiBut * | but, |
| uiButSearchTooltipFn | tooltip_fn | ||
| ) |
Definition at line 6691 of file interface.c.
References BLI_assert, uiButSearch::item_tooltip_fn, uiBut::type, and UI_BTYPE_SEARCH_MENU.
Referenced by template_common_search_menu(), and UI_but_func_menu_search().
| void UI_but_func_set | ( | uiBut * | but, |
| uiButHandleFunc | func, | ||
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Definition at line 6294 of file interface.c.
References uiBut::func, uiBut::func_arg1, and uiBut::func_arg2.
Referenced by ANIM_channel_draw_widgets(), block_create_autorun_warning(), colorband_buttons_layout(), curvemap_buttons_layout(), curvemap_clipping_func(), CurveProfile_buttons_layout(), draw_setting_widget(), envelope_panel_draw(), graph_draw_driver_settings_panel(), graph_panel_key_properties(), node_draw_basis(), node_draw_hidden(), outliner_draw_mode_column_toggle(), outliner_draw_restrictbuts(), outliner_draw_userbuts(), template_operator_property_buts_draw_single(), ui_block_colorpicker(), UI_but_func_search_set(), ui_colorpicker_circle(), ui_colorpicker_square(), ui_item_array(), ui_item_enum_expand_elem_exec(), ui_item_with_label(), ui_popup_context_menu_for_button(), uiItemDecoratorR_prop(), uiTemplateKeymapItemProperties(), uiTemplateLayers(), uiTemplateList(), uiTemplateTextureShow(), wm_block_create_splash(), wm_block_dialog_create(), wm_block_file_close_cancel_button(), wm_block_file_close_discard_button(), and wm_block_file_close_save_button().
| void UI_but_func_tooltip_set | ( | uiBut * | but, |
| uiButToolTipFunc | func, | ||
| void * | argN | ||
| ) |
Definition at line 6323 of file interface.c.
References MEM_freeN, uiBut::tip_argN, and uiBut::tip_func.
Referenced by file_draw_icon(), node_add_error_message_button(), uiTemplateList(), and uiTemplateRunningJobs().
| void UI_but_funcN_set | ( | uiBut * | but, |
| uiButHandleNFunc | funcN, | ||
| void * | argN, | ||
| void * | arg2 | ||
| ) |
Definition at line 6301 of file interface.c.
References uiBut::func_arg2, uiBut::func_argN, uiBut::funcN, and MEM_freeN.
Referenced by colorband_buttons_layout(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), draw_setting_widget(), ED_file_path_button(), file_panel_execution_buttons_draw(), fmodifier_panel_header(), template_ID(), template_id_def_new_but(), template_ID_tabs(), template_texture_user_menu(), UI_but_func_search_set(), ui_node_menu_column(), ui_pie_menu_level_create(), ui_template_node_link_menu(), uiblock_layer_pass_buttons(), and uiTemplateMarker().
| bool UI_but_has_tooltip_label | ( | const uiBut * | but | ) |
Definition at line 155 of file interface_query.c.
References uiBut::block, uiBut::drawstr, ui_block_is_popover(), and UI_but_is_tool().
Referenced by button_activate_init(), button_tooltip_timer_reset(), and UI_tooltip_create_from_button().
| bool UI_but_is_tool | ( | const uiBut * | but | ) |
Definition at line 141 of file interface_query.c.
References g_ot_tool_set_by_id, NULL, uiBut::optype, and WM_operatortype_find().
Referenced by UI_but_has_tooltip_label(), ui_but_user_menu_add(), ui_draw_but(), ui_menu_block_set_keymaps(), UI_tooltip_create_from_button(), widget_draw_icon(), and widget_draw_text_icon().
| bool UI_but_is_userdef | ( | const uiBut * | but | ) |
Definition at line 642 of file interface_handlers.c.
References uiBut::rnapoin, uiBut::rnaprop, and ui_rna_is_userdef().
Referenced by UI_context_active_but_prop_get_filebrowser().
| bool UI_but_is_utf8 | ( | const uiBut * | but | ) |
Definition at line 105 of file interface_query.c.
References ELEM, uiBut::flag, PROP_BYTESTRING, PROP_DIRPATH, PROP_FILENAME, PROP_FILEPATH, RNA_property_subtype(), uiBut::rnaprop, and UI_BUT_NO_UTF8.
Referenced by ED_file_path_button(), file_panel_execution_buttons_draw(), ui_but_string_get_ex(), ui_but_string_set(), ui_do_but_TEX(), ui_textedit_copypaste(), ui_textedit_end(), ui_textedit_insert_ascii(), ui_textedit_insert_buf(), and ui_textedit_string_set().
Definition at line 5672 of file interface_layout.c.
References uiBut::menu_create_func, NULL, uiBut::poin, and ui_item_menutype_func().
Referenced by menu_items_from_ui_create(), ui_but_copy_menu(), ui_but_event_operator_string(), ui_but_event_operator_string_from_menu(), ui_but_is_user_menu_compatible(), UI_but_string_info_get(), ui_but_user_menu_add(), and ui_but_user_menu_find().
| void UI_but_node_link_set | ( | uiBut * | but, |
| struct bNodeSocket * | socket, | ||
| const float | draw_color[4] | ||
| ) |
Definition at line 6820 of file interface.c.
References uiBut::col, uiBut::custom_data, uiBut::flag, rgba_float_to_uchar(), and UI_BUT_NODE_LINK.
Referenced by uiTemplateNodeLink().
Definition at line 6836 of file interface.c.
References BLI_assert, uiButNumber::precision, uiBut::type, and UI_BTYPE_NUM.
Referenced by curvemap_buttons_layout(), curvemap_clipping_func(), CurveProfile_buttons_layout(), ui_def_but_rna(), uiTemplateMarker(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_object_dimension_buts(), and view3d_panel_vgroup().
Definition at line 6827 of file interface.c.
References BLI_assert, uiButNumber::step_size, uiBut::type, and UI_BTYPE_NUM.
Referenced by colorband_buttons_layout(), curvemap_buttons_layout(), curvemap_clipping_func(), CurveProfile_buttons_layout(), ui_def_but_rna(), uiTemplateMarker(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_object_dimension_buts(), and view3d_panel_vgroup().
| bool UI_but_online_manual_id | ( | const uiBut * | but, |
| char * | r_str, | ||
| size_t | maxlength | ||
| ) |
Definition at line 745 of file interface_utils.c.
References BLI_snprintf(), PointerRNA::data, wmOperatorType::idname, uiBut::optype, PointerRNA::owner_id, RNA_property_identifier(), RNA_struct_identifier(), uiBut::rnapoin, uiBut::rnaprop, PointerRNA::type, and WM_operator_py_idname().
Referenced by UI_but_online_manual_id_from_active(), and ui_popup_context_menu_for_button().
| bool UI_but_online_manual_id_from_active | ( | const struct bContext * | C, |
| char * | r_str, | ||
| size_t | maxlength | ||
| ) |
Definition at line 764 of file interface_utils.c.
References C, UI_but_online_manual_id(), and UI_context_active_but_get().
Referenced by doc_view_manual_ui_context_exec().
| struct PointerRNA* UI_but_operator_ptr_get | ( | uiBut * | but | ) |
Definition at line 6218 of file interface.c.
References MEM_callocN, uiBut::opptr, uiBut::optype, and WM_operator_properties_create_ptr().
Referenced by ANIM_channel_draw_widgets(), copy_python_command_button_exec(), operator_enum_search_exec_fn(), operator_enum_search_update_fn(), template_ID(), ui_but_copy_operator(), UI_but_string_info_get(), ui_tooltip_data_from_button(), uiDefSearchButO_ptr(), uiItemFullO_ptr_ex(), uiTemplatePalette(), and view3d_panel_vgroup().
| struct wmOperatorType* UI_but_operatortype_get_from_enum_menu | ( | struct uiBut * | but, |
| struct PropertyRNA ** | r_prop | ||
| ) |
Definition at line 5654 of file interface_layout.c.
References uiBut::func_argN, uiBut::menu_create_func, menu_item_enum_opname_menu(), NULL, MenuItemLevel::opname, ot, MenuItemLevel::propname, RNA_struct_type_find_property(), wmOperatorType::srna, and WM_operatortype_find().
Referenced by UI_but_string_info_get(), and ui_layout_introspect_button().
Definition at line 5681 of file interface_layout.c.
References uiBut::menu_create_func, NULL, uiBut::poin, and ui_item_paneltype_func().
Referenced by button_activate_state(), ui_but_copy_popover(), ui_but_event_operator_string(), ui_but_event_operator_string_from_panel(), and UI_but_string_info_get().
| int UI_but_return_value_get | ( | uiBut * | but | ) |
Definition at line 6122 of file interface.c.
References uiBut::retval.
Definition at line 6870 of file interface.c.
References BLI_strdup(), BLI_strdupn(), uiBut::block, BLT_I18NCONTEXT_DEFAULT, BLT_I18NCONTEXT_DEFAULT_BPYRNA, BLT_is_default_context(), BUT_GET_LABEL, BUT_GET_OP_KEYMAP, BUT_GET_PROP_KEYMAP, BUT_GET_RNA_LABEL, BUT_GET_RNA_LABEL_CONTEXT, BUT_GET_RNA_TIP, BUT_GET_RNAENUM_IDENTIFIER, BUT_GET_RNAENUM_LABEL, BUT_GET_RNAENUM_TIP, BUT_GET_RNAPROP_IDENTIFIER, BUT_GET_RNASTRUCT_IDENTIFIER, BUT_GET_TIP, C, PointerRNA::data, ELEM, uiBut::flag, uiBut::hardmax, PanelType::idname, MenuType::idname, wmOperatorType::idname, PanelType::label, MenuType::label, MEM_freeN, NULL, uiBut::opptr, uiBut::optype, ot, wmOperatorType::prop, PROP_ENUM, ptr, PanelType::rna_ext, MenuType::rna_ext, RNA_property_enum_get(), RNA_property_enum_items_gettexted(), RNA_property_identifier(), RNA_property_translation_context(), RNA_property_type(), RNA_property_ui_description(), RNA_property_ui_name(), RNA_struct_contains_property(), RNA_struct_identifier(), RNA_struct_translation_context(), RNA_struct_ui_description(), uiBut::rnapoin, uiBut::rnaprop, ExtensionRNA::srna, wmOperatorType::srna, uiBut::str, uiStringInfo::strinfo, t, uiBut::tip, uiBut::tip_argN, uiBut::tip_func, uiStringInfo::type, uiBut::type, type, PointerRNA::type, ui_block_is_menu(), UI_BTYPE_MENU, UI_BTYPE_POPOVER, UI_BTYPE_PULLDOWN, UI_BTYPE_ROW, UI_BTYPE_TAB, ui_but_event_operator_string(), ui_but_event_property_operator_string(), UI_BUT_HAS_SEP_CHAR, UI_but_menutype_get(), UI_but_operator_ptr_get(), UI_but_operatortype_get_from_enum_menu(), UI_but_paneltype_get(), ui_but_value_get(), UI_SEP_CHAR, WM_operator_properties_sanitize(), WM_operatortype_description(), and WM_operatortype_name().
Referenced by ui_popup_context_menu_for_button(), ui_tooltip_data_from_button(), and ui_tooltip_data_from_tool().
Recreate tool-tip (use to update dynamic tips)
Definition at line 7836 of file interface_handlers.c.
References uiBut::active, C, data, wmTooltipState::region, bScreen::tool_tip, WM_tooltip_refresh(), and WM_window_get_active_screen().
Referenced by UI_block_update_from_old().
Removes tool-tip timer from active but (meaning tool-tip is disabled until it's re-enabled again).
Definition at line 7851 of file interface_handlers.c.
References uiBut::active, C, data, NULL, WM_event_remove_timer(), and WM_tooltip_clear().
Referenced by button_activate_state(), outliner_operation(), ui_handle_button_event(), ui_handle_menu_event(), ui_popup_block_create(), and ui_region_handler().
| void UI_but_type_set_menu_from_pulldown | ( | uiBut * | but | ) |
Definition at line 6114 of file interface.c.
References BLI_assert, uiBut::type, UI_BTYPE_MENU, UI_BTYPE_PULLDOWN, UI_but_drawflag_disable(), UI_but_drawflag_enable(), UI_BUT_TEXT_LEFT, and UI_BUT_TEXT_RIGHT.
Referenced by ui_item_menu(), uiblock_layer_pass_buttons(), uiTemplateNodeLink(), and uiTemplateTextureUser().
| int UI_but_unit_type_get | ( | const uiBut * | but | ) |
Definition at line 6233 of file interface.c.
References if(), NULL, RNA_property_subtype(), RNA_SUBTYPE_UNIT, uiBut::rnaprop, and uiBut::unit_type.
Referenced by ui_but_convert_to_unit_alt_name(), ui_but_is_unit(), ui_but_is_unit_radians(), ui_get_but_scale_unit(), ui_get_but_step_unit(), ui_get_but_string_unit(), ui_number_from_string_units_with_but(), ui_numedit_apply_snapf(), and ui_tooltip_data_from_button().
| void UI_but_unit_type_set | ( | uiBut * | but, |
| const int | unit_type | ||
| ) |
Definition at line 6228 of file interface.c.
References RNA_SUBTYPE_UNIT_VALUE, and uiBut::unit_type.
Referenced by graph_panel_key_properties(), ui_item_array(), v3d_editvertex_buts(), and v3d_object_dimension_buts().
| void UI_butstore_clear | ( | uiBlock * | block | ) |
NULL all pointers, don't free since the owner needs to be able to inspect.
Definition at line 895 of file interface_utils.c.
References uiBlock::butstore, LISTBASE_FOREACH, and NULL.
Referenced by UI_block_free().
| uiButStore* UI_butstore_create | ( | uiBlock * | block | ) |
Create a new button store, the caller must manage and run UI_butstore_free
Definition at line 802 of file interface_utils.c.
References BLI_addtail(), uiButStore::block, uiBlock::butstore, and MEM_callocN.
Referenced by ui_but_add_search(), and ui_multibut_states_create().
| void UI_butstore_free | ( | uiBlock * | block, |
| uiButStore * | bs | ||
| ) |
Definition at line 812 of file interface_utils.c.
References BLI_assert, BLI_findindex(), BLI_freelistN(), BLI_remlink(), uiButStore::block, uiBlock::butstore, uiButStore::items, MEM_freeN, and NULL.
Referenced by ui_multibut_free(), and ui_rna_collection_search_arg_free_fn().
Definition at line 839 of file interface_utils.c.
References uiBlock::butstore, and LISTBASE_FOREACH.
Referenced by ui_but_free().
| bool UI_butstore_is_valid | ( | uiButStore * | bs | ) |
Definition at line 834 of file interface_utils.c.
References uiButStore::block, and NULL.
| void UI_butstore_register | ( | uiButStore * | bs_handle, |
| uiBut ** | but_p | ||
| ) |
Definition at line 852 of file interface_utils.c.
References BLI_addtail(), BLI_assert, uiButStoreElem::but_p, uiButStore::items, and MEM_callocN.
Referenced by ui_but_add_search(), and ui_multibut_add().
Update the pointer for a registered button.
Definition at line 876 of file interface_utils.c.
References uiBlock::butstore, and LISTBASE_FOREACH.
Referenced by ui_but_update_from_old_block().
| void UI_butstore_unregister | ( | uiButStore * | bs_handle, |
| uiBut ** | but_p | ||
| ) |
Definition at line 861 of file interface_utils.c.
References BLI_assert, BLI_remlink(), uiButStoreElem::but_p, uiButStore::items, LISTBASE_FOREACH_MUTABLE, and MEM_freeN.
| void UI_butstore_update | ( | uiBlock * | block | ) |
Map freed buttons from the old block and update pointers.
Definition at line 908 of file interface_utils.c.
References BLI_assert, BLI_movelisttolist(), uiBlock::butstore, ELEM, ListBase::first, LIKELY, LISTBASE_FOREACH, NULL, uiBlock::oldblock, and ui_but_find_new().
Referenced by UI_block_update_from_old().
| int UI_calc_float_precision | ( | int | prec, |
| double | value | ||
| ) |
Returns the best "UI" precision for given floating value, so that e.g. 10.000001 rather gets drawn as '10'...
Definition at line 693 of file interface_utils.c.
References BLI_assert, CLAMP, e, fabs(), KDL::pow(), and UI_PRECISION_FLOAT_MAX.
Referenced by outputNumInput(), and ui_but_calc_float_precision().
| void UI_context_active_but_clear | ( | struct bContext * | C, |
| struct wmWindow * | win, | ||
| struct ARegion * | region | ||
| ) |
Definition at line 8461 of file interface_handlers.c.
References C, and wm_event_handler_ui_cancel_ex().
Referenced by datadropper_invoke(), depthdropper_invoke(), driverdropper_invoke(), eyedropper_colorband_invoke(), and eyedropper_invoke().
Referenced by copy_python_command_button_exec(), copy_python_command_button_poll(), eyedropper_colorband_init(), eyedropper_colorband_poll(), jump_to_target_button(), outliner_operation(), UI_but_online_manual_id_from_active(), ui_button_press_invoke(), UI_context_active_but_get_tab_ID(), UI_context_active_but_prop_get_templateID(), and ui_popup_block_create().
Referenced by button_string_clear_exec().
Definition at line 1260 of file interface_templates.c.
References C, uiBut::custom_data, NULL, uiBut::type, UI_BTYPE_TAB, and UI_context_active_but_get().
Referenced by workspace_context_get().
| uiBut* UI_context_active_but_prop_get | ( | const struct bContext * | C, |
| struct PointerRNA * | r_ptr, | ||
| struct PropertyRNA ** | r_prop, | ||
| int * | r_index | ||
| ) |
Referenced by achannel_setting_slider_nla_curve_cb(), add_driver_button_invoke(), add_driver_button_none(), add_driver_button_poll(), add_keyingset_button_exec(), assign_default_button_exec(), assign_default_button_poll(), clear_key_button_exec(), copy_as_driver_button_exec(), copy_as_driver_button_poll(), copy_data_path_button_exec(), copy_data_path_button_poll(), copy_driver_button_exec(), copy_to_selected_button(), datadropper_init(), datadropper_poll(), delete_key_button_exec(), depthdropper_init(), depthdropper_poll(), driver_mapping_type_itemsf(), driverdropper_init(), drivers_editor_show_exec(), edit_driver_button_exec(), eyedropper_init(), graph_panel_drivers_popover(), insert_key_button_exec(), jump_to_target_button(), override_remove_button_exec(), override_remove_button_poll(), override_type_set_button_exec(), override_type_set_button_poll(), paste_driver_button_exec(), remove_driver_button_exec(), remove_keyingset_button_exec(), reset_default_button_exec(), reset_default_button_poll(), and unset_property_button_exec().
| 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 | ||
| ) |
Referenced by file_browse_invoke().
| void UI_context_active_but_prop_get_templateID | ( | struct bContext * | C, |
| struct PointerRNA * | r_ptr, | ||
| struct PropertyRNA ** | r_prop | ||
| ) |
Definition at line 587 of file interface_templates.c.
References C, uiBut::func_argN, NULL, TemplateID::prop, TemplateID::ptr, and UI_context_active_but_get().
Referenced by action_new_exec(), cachefile_init(), font_ui_template_init(), font_unlink_exec(), image_new_init(), image_new_invoke(), image_open_init(), image_open_invoke(), lib_id_fake_user_toggle_exec(), lib_id_unlink_exec(), new_material_exec(), new_node_tree_exec(), new_texture_exec(), new_world_exec(), object_unlink_data_exec(), open_init(), sound_open_init(), text_new_exec(), and text_open_init().
| void UI_context_active_but_prop_handle | ( | struct bContext * | C | ) |
Definition at line 8447 of file interface_handlers.c.
References uiBut::block, C, uiBlock::handle_func, uiBlock::handle_func_arg, uiBut::retval, and ui_context_rna_button_active().
Referenced by operator_button_property_finish().
| struct wmOperator* UI_context_active_operator_get | ( | const struct bContext * | C | ) |
Definition at line 8466 of file interface_handlers.c.
References C, CTX_wm_region(), CTX_wm_screen(), LISTBASE_FOREACH, NULL, bScreen::regionbase, and ARegion::uiblocks.
Referenced by screen_ctx_active_operator().
| 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 | ||
| ) |
Definition at line 735 of file interface_ops.c.
References BLI_listbase_is_empty(), BLI_remlink(), BLI_sprintfN(), bPoseChannel::bone, C, CTX_data_collection_get(), CTX_data_pointer_get_type(), CTX_data_pointer_get_type_silent(), Object::data, PointerRNA::data, GS, id, ID_IS_LINKED, ID_OB, ID_SCE, if(), LIB_TAG_DOIT, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MEM_freeN, ID::name, node, nodeFindNode(), NOT_NULL, NOT_RNA_NULL, ntree, NULL, OB_DATA_SUPPORT_ID, PointerRNA::owner_id, ptr, RNA_Bone, RNA_Constraint, RNA_EditBone, RNA_FCurve, RNA_id_pointer_create(), RNA_Keyframe, RNA_NlaStrip, RNA_Node, RNA_NodeSocket, RNA_path_from_ID_to_property(), RNA_path_from_struct_to_idproperty(), RNA_path_resolve_from_type_to_property(), RNA_pointer_create(), RNA_PoseBone, RNA_property_identifier(), RNA_property_is_idprop(), RNA_PropertyGroup, RNA_Sequence, RNA_struct_is_a(), RNA_struct_type_find_property(), STREQ, ID::tag, bNode::type, PointerRNA::type, and ui_context_selected_bones_via_pose().
Referenced by copy_to_selected_button(), and ui_selectcontext_begin().
| void UI_context_update_anim_flag | ( | const struct bContext * | C | ) |
Definition at line 584 of file interface_widgets.c.
References copy_v4_v4(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_TRI_FAN, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor4fv(), immVertex2f(), immVertexFormat(), jit, length(), pos, and WIDGET_AA_JITTER.
| void UI_draw_anti_tria | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | x3, | ||
| float | y3, | ||
| const float | color[4] | ||
| ) |
Definition at line 518 of file interface_widgets.c.
References copy_v4_v4(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_TRIS, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformColor4fv(), immVertex2f(), immVertexFormat(), jit, pos, WIDGET_AA_JITTER, x2, and y1.
Referenced by ui_draw_anti_tria_rect(), and UI_draw_icon_tri().
| void UI_draw_box_shadow | ( | const struct rctf * | rect, |
| unsigned char | alpha | ||
| ) |
Definition at line 552 of file interface_widgets.c.
References UI_draw_anti_tria(), x, and y.
Referenced by draw_columnheader_columns(), node_draw_basis(), node_draw_hidden(), and ui_draw_clip_tri().
| void UI_draw_roundbox_3ub_alpha | ( | const struct rctf * | rect, |
| bool | filled, | ||
| float | rad, | ||
| const unsigned char | col[3], | ||
| unsigned char | alpha | ||
| ) |
| 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 | ||
| ) |
Referenced by draw_current_frame(), gizmo_axis_draw(), and node_socket_draw_multi_input().
Referenced by draw_tile(), icon_draw_rect_input(), node_draw_basis(), node_draw_frame(), node_draw_hidden(), node_draw_reroute(), outliner_draw_active_indicator(), outliner_draw_iconrow_number(), panel_draw_aligned_backdrop(), region_draw_azone_tab_arrow(), region_draw_status_text(), and UI_fontstyle_draw_simple_backdrop().
| void UI_draw_roundbox_corner_set | ( | int | type | ) |
Definition at line 69 of file interface_draw.c.
References roundboxtype, and type.
Referenced by acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_nlaaction_backdrop(), acf_summary_backdrop(), draw_current_frame(), draw_group_overlay(), draw_keylist(), draw_scope_end(), draw_tile(), file_draw_list(), gizmo_axis_draw(), icon_draw_rect_input(), nla_draw_strip(), node_draw_basis(), node_draw_frame(), node_draw_reroute(), node_draw_shadow(), node_socket_draw_multi_input(), outliner_draw_active_indicator(), outliner_draw_iconrow_number(), panel_draw_aligned_backdrop(), panel_draw_highlight_border(), region_draw_azone_tab_arrow(), region_draw_status_text(), textview_draw_string(), ui_draw_but_HISTOGRAM(), ui_draw_but_UNITVEC(), UI_fontstyle_draw_simple_backdrop(), and UI_panel_category_draw_all().
| void UI_draw_roundbox_shade_x | ( | const struct rctf * | rect, |
| bool | filled, | ||
| float | rad, | ||
| float | shadetop, | ||
| float | shadedown, | ||
| const float | col[4] | ||
| ) |
Referenced by nla_draw_strip().
| void UI_draw_safe_areas | ( | uint | pos, |
| const struct rctf * | rect, | ||
| const float | title_aspect[2], | ||
| const float | action_aspect[2] | ||
| ) |
Referenced by drawviewborder(), and sequencer_draw_borders_overlay().
| void UI_draw_text_underline | ( | int | pos_x, |
| int | pos_y, | ||
| int | len, | ||
| int | height, | ||
| const float | color[4] | ||
| ) |
Definition at line 195 of file interface_draw.c.
References GPU_COMP_I32, GPU_FETCH_INT_TO_FLOAT, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), height, immBindBuiltinProgram(), immRecti(), immUnbindProgram(), immUniformColor4fv(), immVertexFormat(), len, and pos.
| void UI_draw_widget_scroll | ( | struct uiWidgetColors * | wcol, |
| const struct rcti * | rect, | ||
| const struct rcti * | slider, | ||
| int | state | ||
| ) |
Referenced by UI_view2d_scrollers_draw().
Definition at line 1766 of file interface_ops.c.
References uiDragColorHandle::color, uiDragColorHandle::gamma_corrected, wmDrag::poin, wmDropBox::ptr, RNA_boolean_set(), and RNA_float_set_array().
Referenced by ED_keymap_screen().
| bool UI_drop_color_poll | ( | struct bContext * | C, |
| struct wmDrag * | drag, | ||
| const struct wmEvent * | event, | ||
| const char ** | r_tooltip | ||
| ) |
Referenced by ED_keymap_screen().
| void UI_editsource_active_but_test | ( | uiBut * | but | ) |
Referenced by ui_def_but().
Referenced by ui_but_change_type().
| bool UI_editsource_enable_check | ( | void | ) |
Referenced by ui_but_change_type(), and ui_def_but().
| void UI_exit | ( | void | ) |
Definition at line 7128 of file interface.c.
References ui_but_clipboard_free(), and ui_resources_free().
Referenced by WM_exit_ex().
| void UI_fontstyle_draw | ( | const struct uiFontStyle * | fs, |
| const struct rcti * | rect, | ||
| const char * | str, | ||
| const uchar | col[4], | ||
| const struct uiFontStyleDraw_Params * | fs_params | ||
| ) |
| void UI_fontstyle_draw_ex | ( | const struct uiFontStyle * | fs, |
| const struct rcti * | rect, | ||
| const char * | str, | ||
| const uchar | col[4], | ||
| const struct uiFontStyleDraw_Params * | fs_params, | ||
| size_t | len, | ||
| int * | r_xofs, | ||
| int * | r_yofs, | ||
| struct ResultBLF * | r_info | ||
| ) |
Referenced by file_draw_string_multiline(), ui_draw_menu_item(), and widget_draw_text().
| void UI_fontstyle_draw_rotated | ( | const struct uiFontStyle * | fs, |
| const struct rcti * | rect, | ||
| const char * | str, | ||
| const uchar | col[4] | ||
| ) |
| void UI_fontstyle_draw_simple | ( | const struct uiFontStyle * | fs, |
| float | x, | ||
| float | y, | ||
| const char * | str, | ||
| const uchar | col[4] | ||
| ) |
| 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] | ||
| ) |
Referenced by eyedropper_draw_cursor_text_ex(), and wm_drop_operator_draw().
| int UI_fontstyle_height_max | ( | const struct uiFontStyle * | fs | ) |
| void UI_fontstyle_set | ( | const struct uiFontStyle * | fs | ) |
Referenced by file_font_pointsize(), file_string_width(), outliner_draw_iconrow_number(), ui_block_bounds_calc_text(), ui_draw_menu_item(), ui_searchbox_create_generic(), ui_text_clip_cursor(), UI_text_clip_middle_ex(), ui_text_clip_right_label(), ui_textedit_set_cursor_pos(), ui_tooltip_create_with_data(), ui_tooltip_region_draw_cb(), uiTemplateReportsBanner(), and widget_draw_text().
| int UI_fontstyle_string_width | ( | const struct uiFontStyle * | fs, |
| const char * | str | ||
| ) |
| int UI_icon_colorid_from_report_type | ( | int | type | ) |
Definition at line 641 of file interface_utils.c.
References RPT_DEBUG_ALL, RPT_ERROR_ALL, RPT_INFO_ALL, RPT_OPERATOR, RPT_PROPERTY, RPT_WARNING_ALL, TH_INFO_DEBUG, TH_INFO_ERROR, TH_INFO_INFO, TH_INFO_OPERATOR, TH_INFO_PROPERTY, TH_INFO_WARNING, and type.
Referenced by report_line_data(), uiTemplateReportsBanner(), and update_reports_display_invoke().
| int UI_icon_from_event_type | ( | short | event_type, |
| short | event_value | ||
| ) |
Definition at line 586 of file interface_icons.c.
References DrawInfo::data, ELEM, EVT_LEFTALTKEY, EVT_LEFTCTRLKEY, EVT_LEFTSHIFTKEY, EVT_RIGHTALTKEY, EVT_RIGHTCTRLKEY, EVT_RIGHTSHIFTKEY, EVT_TWEAK_L, EVT_TWEAK_M, EVT_TWEAK_R, g_di_event_list, DrawInfo::input, KM_CLICK, KM_CLICK_DRAG, KM_PRESS, LEFTMOUSE, MIDDLEMOUSE, and RIGHTMOUSE.
Referenced by UI_icon_from_keymap_item().
| int UI_icon_from_id | ( | const struct ID * | id | ) |
Referenced by object_mouse_select_menu().
| int UI_icon_from_keymap_item | ( | const struct wmKeyMapItem * | kmi, |
| int | r_icon_mod[4] | ||
| ) |
Referenced by uiTemplateEventFromKeymapItem().
| int UI_icon_from_report_type | ( | int | type | ) |
Definition at line 618 of file interface_utils.c.
References RPT_DEBUG_ALL, RPT_ERROR_ALL, RPT_INFO_ALL, RPT_OPERATOR, RPT_PROPERTY, RPT_WARNING_ALL, and type.
Referenced by report_line_data(), UI_popup_menu_reports(), and uiTemplateReportsBanner().
| void UI_init | ( | void | ) |
Definition at line 7111 of file interface.c.
References ui_resources_init().
Referenced by WM_init().
| void UI_init_userdef | ( | void | ) |
Definition at line 7117 of file interface.c.
References uiStyleInit().
Referenced by wm_init_userdef().
| void UI_interface_tag_script_reload | ( | void | ) |
Definition at line 7134 of file interface.c.
References ui_interface_tag_script_reload_queries().
Referenced by WM_script_tag_reload().
| const char* UI_layout_introspect | ( | uiLayout * | layout | ) |
Evaluate layout items as a Python dictionary.
Definition at line 5906 of file interface_layout.c.
References BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), uiLayout::item, uiItem::next, NULL, uiItem::prev, result, and ui_layout_introspect_items().
Referenced by bpy_rna_uilayout_introspect().
| void UI_list_panel_unique_str | ( | Panel * | panel, |
| char * | r_name | ||
| ) |
Find a unique key to append to the PanelType.idname for the lookup to the panel's uiBlock. Needed for instanced panels, where there can be multiple with the same type and identifier.
Definition at line 308 of file interface_panel.c.
References INSTANCED_PANEL_UNIQUE_STR_LEN, snprintf, and Panel::sortorder.
Referenced by ED_region_panels_layout_ex().
Definition at line 5689 of file interface_layout.c.
References C, uiLayout::context, CTX_store_set(), MenuType::draw, G, G_DEBUG_WM, MenuType::idname, Menu::layout, and NULL.
Referenced by menu_items_from_ui_create(), ui_item_menu_hold(), ui_item_menutype_func(), UI_pie_menu_invoke(), ui_popup_context_menu_for_button(), UI_popup_menu_invoke(), uiItemMContents(), wm_block_create_about(), and wm_block_create_splash().
| 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 Panel* UI_panel_begin | ( | ARegion * | region, |
| ListBase * | lb, | ||
| uiBlock * | block, | ||
| PanelType * | pt, | ||
| Panel * | panel, | ||
| bool * | r_open | ||
| ) |
Definition at line 703 of file interface_panel.c.
References ARegion::alignment, BLI_addtail(), BLI_insertlinkafter(), BLI_remlink(), BLI_strncpy(), Panel_Runtime::block, Panel::blocksizex, Panel::blocksizey, CTX_IFACE_, Panel::drawname, ListBase::first, PanelType::flag, Panel::flag, PanelType::idname, PanelType::label, LISTBASE_FOREACH, MEM_callocN, Panel::next, NULL, Panel::ofsx, Panel::ofsy, uiBlock::panel, PANEL_ACTIVE, PANEL_LAST_ADDED, PANEL_NEW_ADDED, PANEL_TYPE_DEFAULT_CLOSED, PANEL_WAS_CLOSED, Panel::panelname, PNL_CLOSED, RGN_ALIGN_FLOAT, Panel::runtime, Panel::runtime_flag, Panel::sizex, Panel::sizey, Panel::sortorder, PanelType::translation_context, Panel::type, UI_BLOCK_THEME_STYLE_POPUP, UI_block_theme_style_set(), and UI_panel_is_closed().
Referenced by ed_panel_draw(), and panel_property_search().
| struct PanelCategoryStack* UI_panel_category_active_find | ( | struct ARegion * | region, |
| const char * | idname | ||
| ) |
Definition at line 2254 of file interface_panel.c.
References BLI_findstring(), and ARegion::panels_category_active.
Referenced by image_buttons_region_draw(), ui_panel_category_active_set(), and UI_panel_category_active_set_default().
| const char* UI_panel_category_active_get | ( | struct ARegion * | region, |
| bool | set_fallback | ||
| ) |
Definition at line 2311 of file interface_panel.c.
References ListBase::first, PanelCategoryDyn::idname, LISTBASE_FOREACH, NULL, ARegion::panels_category, ARegion::panels_category_active, ui_panel_category_active_set(), and UI_panel_category_find().
Referenced by ED_area_do_mgs_subscribe_for_tool_ui(), panel_type_context_poll(), panels_collapse_all(), region_panels_collect_categories(), and ui_handle_panel_category_cycling().
| void UI_panel_category_active_set | ( | struct ARegion * | region, |
| const char * | idname | ||
| ) |
Definition at line 2299 of file interface_panel.c.
References ui_panel_category_active_set().
Referenced by ED_drivers_editor_init(), text_text_search_exec(), ui_handle_panel_category_cycling(), and ui_handler_panel_region().
| void UI_panel_category_active_set_default | ( | struct ARegion * | region, |
| const char * | idname | ||
| ) |
Definition at line 2304 of file interface_panel.c.
References UI_panel_category_active_find(), and ui_panel_category_active_set().
Referenced by sequencer_buttons_region_init().
| void UI_panel_category_add | ( | struct ARegion * | region, |
| const char * | name | ||
| ) |
Definition at line 2341 of file interface_panel.c.
References BLI_addtail(), BLI_strncpy(), PanelCategoryDyn::idname, MEM_callocN, and ARegion::panels_category.
Referenced by region_panels_collect_categories().
| void UI_panel_category_clear_all | ( | struct ARegion * | region | ) |
Definition at line 2351 of file interface_panel.c.
References BLI_freelistN(), and ARegion::panels_category.
Referenced by region_panels_collect_categories().
| void UI_panel_category_draw_all | ( | ARegion * | region, |
| const char * | category_id_active | ||
| ) |
Draw vertical tabs on the left side of the region, one tab per category.
Definition at line 1393 of file interface_panel.c.
References ARegion::alignment, BLF_color3ubv(), BLF_disable(), BLF_draw(), BLF_DRAW_STR_DUMMY_MAX, BLF_enable(), BLF_KERNING_DEFAULT, BLF_position(), BLF_rotation(), BLF_ROTATION, BLF_size(), BLF_width(), BLF_width_to_strlen(), BLI_assert, BLI_rcti_size_y(), ListBase::first, float(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_I32, GPU_FETCH_INT_TO_FLOAT, GPU_line_smooth(), GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), IFACE_, immBindBuiltinProgram(), immRecti(), immUnbindProgram(), immUniformColor3fvAlpha(), immUniformColor3ubv(), immUniformColor4fv(), immUniformColor4ubv(), immVertexFormat(), is_left(), uiFontStyle::kerning, LISTBASE_FOREACH, M_PI_2, View2D::mask, NULL, ARegion::overlap, ARegion::panels_category, uiFontStyle::points, pos, ARegion::regiontype, RGN_ALIGN_ENUM_FROM_MASK, RGN_ALIGN_RIGHT, RGN_TYPE_HAS_CATEGORY_MASK, round_fl_to_int(), roundboxtype, uiWidgetColors::roundness, STREQ, TABS_PADDING_BETWEEN_FACTOR, TABS_PADDING_TEXT_FACTOR, TH_BACK, TH_TAB_ACTIVE, TH_TAB_BACK, TH_TAB_INACTIVE, TH_TAB_OUTLINE, TH_TEXT, TH_TEXT_HI, bTheme::tui, UI_CNR_BOTTOM_LEFT, UI_CNR_BOTTOM_RIGHT, UI_CNR_TOP_LEFT, UI_CNR_TOP_RIGHT, UI_DPI_FAC, UI_draw_roundbox_4fv(), UI_draw_roundbox_corner_set(), ui_fontscale(), UI_GetTheme(), UI_GetThemeColor3ubv(), UI_GetThemeColor4fv(), UI_GetThemeColor4ubv(), UI_panel_category_is_visible(), UI_PANEL_CATEGORY_MARGIN_WIDTH, UI_style_get(), ARegion::uiblocks, uiFontStyle::uifont_id, ARegion::v2d, ThemeUI::wcol_tab, uiStyle::widget, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by ED_region_panels_draw().
| struct PanelCategoryDyn* UI_panel_category_find | ( | const struct ARegion * | region, |
| const char * | idname | ||
| ) |
Referenced by region_panels_collect_categories().
| bool UI_panel_category_is_visible | ( | const struct ARegion * | region | ) |
| struct PointerRNA* UI_panel_custom_data_get | ( | const struct Panel * | panel | ) |
Referenced by constraint_reorder(), fmodifier_get_pointers(), get_constraint_expand_flag(), get_gpencil_modifier_expand_flag(), get_modifier_expand_flag(), get_shaderfx_expand_flag(), gpencil_modifier_panel_get_property_pointers(), gpencil_modifier_panel_header(), gpencil_modifier_reorder(), modifier_panel_get_property_pointers(), modifier_panel_header(), modifier_reorder(), set_constraint_expand_flag(), set_gpencil_modifier_expand_flag(), set_modifier_expand_flag(), set_shaderfx_expand_flag(), shaderfx_panel_get_property_pointers(), and shaderfx_reorder().
| void UI_panel_custom_data_set | ( | struct Panel * | panel, |
| struct PointerRNA * | custom_data | ||
| ) |
Definition at line 2522 of file interface_panel.c.
References BLI_assert, Panel_Runtime::custom_data_ptr, MEM_freeN, NULL, Panel::runtime, Panel::type, and ui_panel_custom_data_set_recursive().
Referenced by ANIM_fmodifier_panels(), uiTemplateConstraints(), uiTemplateGpencilModifiers(), uiTemplateModifiers(), and uiTemplateShaderFx().
| void UI_panel_end | ( | struct Panel * | panel, |
| int | width, | ||
| int | height | ||
| ) |
Definition at line 882 of file interface_panel.c.
References Panel::blocksizex, Panel::blocksizey, height, and width.
Referenced by ed_panel_draw().
Referenced by ed_panel_draw(), ED_region_panels_layout_ex(), and panel_property_search().
| void UI_panel_header_buttons_begin | ( | Panel * | panel | ) |
Create the panel header button group, used to mark which buttons are part of panel headers for the panel search process that happens later. This Should be called before adding buttons for the panel's header layout.
Definition at line 787 of file interface_panel.c.
References Panel_Runtime::block, Panel::runtime, ui_block_new_button_group(), UI_BUTTON_GROUP_LOCK, and UI_BUTTON_GROUP_PANEL_HEADER.
Referenced by ed_panel_draw().
| void UI_panel_header_buttons_end | ( | Panel * | panel | ) |
Finish the button group for the panel header to avoid putting panel body buttons in it.
Definition at line 797 of file interface_panel.c.
References BLI_assert, BLI_listbase_is_empty(), BLI_listbase_is_single(), Panel_Runtime::block, uiBlock::button_groups, uiButtonGroup::buttons, uiButtonGroup::flag, ListBase::last, Panel::runtime, ui_block_new_button_group(), UI_BUTTON_GROUP_LOCK, and UI_BUTTON_GROUP_PANEL_HEADER.
Referenced by ed_panel_draw().
| bool UI_panel_is_active | ( | const struct Panel * | panel | ) |
Referenced by buttons_main_region_property_search(), and ED_area_do_mgs_subscribe_for_tool_ui().
| bool UI_panel_is_closed | ( | const struct Panel * | panel | ) |
Referenced by ED_region_panels_layout_ex().
| bool UI_panel_is_dragging | ( | const struct Panel * | panel | ) |
Referenced by ED_region_panels_layout_ex().
| void UI_panel_label_offset | ( | const struct uiBlock * | block, |
| int * | r_x, | ||
| int * | r_y | ||
| ) |
Referenced by ed_panel_draw().
| bool UI_panel_list_matches_data | ( | ARegion * | region, |
| ListBase * | data, | ||
| uiListPanelIDFromDataFunc | panel_idname_func | ||
| ) |
Check if the instanced panels in the region's panels correspond to the list of data the panels represent. Returns false if the panels have been reordered or if the types from the list data don't match in any way.
| data | The list of data to check against the instanced panels. |
| panel_idname_func | Function to find the PanelType.idname for each item in the data list. For a readability and generality, this lookup happens separately for each type of panel list. |
Definition at line 373 of file interface_panel.c.
References BLI_listbase_count(), data, LISTBASE_FOREACH, MAX_NAME, Link::next, NULL, PANEL_TYPE_INSTANCED, ARegion::panels, PNL_INSTANCED_LIST_ORDER_CHANGED, and STREQ.
Referenced by ANIM_fmodifier_panels(), uiTemplateConstraints(), uiTemplateGpencilModifiers(), uiTemplateModifiers(), and uiTemplateShaderFx().
| bool UI_panel_matches_search_filter | ( | const struct Panel * | panel | ) |
Referenced by buttons_main_region_property_search().
| int UI_panel_size_y | ( | const struct Panel * | panel | ) |
Referenced by ED_region_panels_layout_ex().
Referenced by ED_region_panels_layout_ex().
Referenced by ED_region_panels_draw().
Referenced by ED_region_panels_layout_ex().
Used for popup panels only.
Definition at line 5783 of file interface_layout.c.
References C, uiLayout::context, CTX_store_set(), NULL, and ui_paneltype_draw_impl().
Referenced by ui_item_paneltype_func(), and UI_popover_panel_invoke().
| struct uiPieMenu* UI_pie_menu_begin | ( | struct bContext * | C, |
| const char * | title, | ||
| int | icon, | ||
| const struct wmEvent * | event | ||
| ) |
Definition at line 204 of file interface_region_menu_pie.c.
References C, CTX_wm_window(), MEM_freeN, wmWindow::modalhandlers, NULL, PIL_check_seconds_timer(), uiPopupBlockHandle::popup, uiPopupBlockHandle::towardstime, ui_block_func_PIE(), ui_popup_block_create(), UI_popup_handlers_add(), WM_event_add_mousemove(), and WM_HANDLER_ACCEPT_DBL_CLICK.
Referenced by UI_pie_menu_invoke(), UI_pie_menu_invoke_from_operator_enum(), UI_pie_menu_invoke_from_rna_enum(), and ui_pie_menu_level_invoke().
Referenced by view3d_object_mode_menu(), wm_call_pie_menu_exec(), and wm_call_pie_menu_invoke().
| int UI_pie_menu_invoke_from_operator_enum | ( | struct bContext * | C, |
| const char * | title, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const struct wmEvent * | event | ||
| ) |
| int UI_pie_menu_invoke_from_rna_enum | ( | struct bContext * | C, |
| const char * | title, | ||
| const char * | path, | ||
| const struct wmEvent * | event | ||
| ) |
Definition at line 219 of file interface_region_menu_pie.c.
References uiPieMenu::layout.
Referenced by UI_pie_menu_invoke(), UI_pie_menu_invoke_from_operator_enum(), UI_pie_menu_invoke_from_rna_enum(), and ui_pie_menu_level_invoke().
Only return handler, and set optional title.
| from_active_button | Use the active button for positioning, use when the popover is activated from an operator instead of directly from the button. |
Definition at line 349 of file interface_region_popover.c.
References uiPopover::block, uiPopover::but, uiPopover::butregion, C, CTX_wm_region(), uiBlock::handle, MEM_callocN, NULL, ui_popover_create_block(), UI_POPOVER_WIDTH_UNITS, UI_region_active_but_get(), uiPopover::ui_size_x, and WM_OP_EXEC_REGION_WIN.
Referenced by UI_popover_panel_invoke().
Definition at line 387 of file interface_region_popover.c.
References BLI_addhead(), BLI_remlink(), uiPopover::block, uiPopover::but, uiPopover::butregion, C, CTX_wm_window(), uiBlock::flag, uiPopover::keymap, wmEventHandler_Keymap::keymap, uiPopover::keymap_handler, wmWindow::modalhandlers, NULL, popover_keymap_fn(), uiPopupBlockHandle::popup, UI_block_flag_disable(), UI_block_flag_enable(), ui_block_free_func_POPOVER(), ui_block_func_POPOVER(), UI_BLOCK_IS_FLIP, UI_BLOCK_KEEP_OPEN, UI_BLOCK_SHOW_SHORTCUT_ALWAYS, ui_popup_block_create(), UI_popup_handlers_add(), uiPopover::window, WM_event_add_keymap_handler_priority(), WM_event_add_mousemove(), and WM_event_set_keymap_handler_post_callback().
Referenced by UI_popover_panel_invoke().
Definition at line 427 of file interface_region_popover.c.
References uiPopover::layout.
Referenced by UI_popover_panel_invoke().
| void UI_popover_once_clear | ( | uiPopover * | pup | ) |
Definition at line 433 of file interface_region_popover.c.
References uiPopover::is_once.
Referenced by ui_handle_menu_event().
| int UI_popover_panel_invoke | ( | struct bContext * | C, |
| const char * | idname, | ||
| bool | keep_open, | ||
| struct ReportList * | reports | ||
| ) |
Definition at line 301 of file interface_region_popover.c.
References uiPopupBlockCreate::arg, BKE_reportf(), uiPopover::block, C, uiBlock::handle, NULL, OPERATOR_CANCELLED, OPERATOR_INTERFACE, OPERATOR_PASS_THROUGH, PanelType::poll, uiPopupBlockHandle::popup_create_vars, uiPopupBlockHandle::region, RPT_ERROR, UI_block_active_only_flagged_buttons(), ui_item_paneltype_func(), UI_paneltype_draw(), UI_popover_begin(), UI_popover_end(), UI_popover_layout(), ui_popover_panel_create(), PanelType::ui_units_x, and WM_paneltype_find().
Referenced by add_driver_button_invoke(), edit_driver_button_exec(), and wm_call_panel_exec().
Definition at line 655 of file interface_region_menu_popup.c.
References C, ED_region_tag_refresh_ui(), uiBlock::handle, LISTBASE_FOREACH, wmWindow::modalhandlers, bScreen::regionbase, ui_popup_block_free(), UI_popup_handlers_remove(), and WM_window_get_active_screen().
Referenced by dialog_exec_cb(), wm_block_autorun_warning_enable_scripts(), wm_block_autorun_warning_ignore(), wm_block_autorun_warning_reload_with_scripts(), wm_block_close(), wm_block_file_close_cancel(), wm_block_file_close_discard(), and wm_block_file_close_save().
| void UI_popup_block_ex | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| uiBlockHandleFunc | popup_func, | ||
| uiBlockCancelFunc | cancel_func, | ||
| void * | arg, | ||
| struct wmOperator * | op | ||
| ) |
Definition at line 608 of file interface_region_menu_popup.c.
References C, uiPopupBlockHandle::can_refresh, uiPopupBlockHandle::cancel_func, CTX_wm_window(), ListBase::first, wmWindow::modalhandlers, NULL, uiPopupBlockHandle::popup, uiPopupBlockHandle::popup_arg, uiPopupBlockHandle::popup_func, uiPopupBlockHandle::popup_op, uiPopupBlockHandle::region, uiPopupBlockHandle::retvalue, UI_block_active_only_flagged_buttons(), ui_popup_block_create(), UI_popup_handlers_add(), ARegion::uiblocks, and WM_event_add_mousemove().
Referenced by popup_add_shortcut_func(), WM_operator_props_dialog_popup(), wm_operator_props_popup_ex(), and WM_operator_ui_popup().
| void UI_popup_block_invoke | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| void(*)(void *arg) | arg_free | ||
| ) |
Definition at line 600 of file interface_region_menu_popup.c.
References C, and UI_popup_block_invoke_ex().
Referenced by merged_element_search_menu_invoke(), node_find_node_invoke(), popup_change_shortcut_func(), wm_about_invoke(), wm_close_file_dialog(), WM_enum_search_invoke(), WM_enum_search_invoke_previews(), WM_operator_redo_popup(), wm_splash_invoke(), and wm_test_autorun_warning().
| void UI_popup_block_invoke_ex | ( | struct bContext * | C, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| void(*)(void *arg) | arg_free, | ||
| bool | can_refresh | ||
| ) |
Definition at line 582 of file interface_region_menu_popup.c.
References C, uiPopupBlockHandle::can_refresh, CTX_wm_window(), ListBase::first, wmWindow::modalhandlers, NULL, uiPopupBlockHandle::popup, uiPopupBlockHandle::region, UI_block_active_only_flagged_buttons(), ui_popup_block_create(), UI_popup_handlers_add(), ARegion::uiblocks, and WM_event_add_mousemove().
Referenced by UI_popup_block_invoke(), and wm_search_menu_invoke().
| bool UI_popup_block_name_exists | ( | const struct bScreen * | screen, |
| const char * | name | ||
| ) |
Referenced by wm_close_file_dialog().
| void UI_popup_handlers_add | ( | struct bContext * | C, |
| struct ListBase * | handlers, | ||
| uiPopupBlockHandle * | popup, | ||
| const char | flag | ||
| ) |
Definition at line 10996 of file interface_handlers.c.
References C, ui_popup_handler(), ui_popup_handler_remove(), and WM_event_add_ui_handler().
Referenced by UI_pie_menu_end(), UI_popover_end(), ui_popover_panel_create(), UI_popup_block_ex(), UI_popup_block_invoke_ex(), ui_popup_menu_create(), and UI_popup_menu_end().
| void UI_popup_handlers_remove | ( | struct ListBase * | handlers, |
| uiPopupBlockHandle * | popup | ||
| ) |
Definition at line 11004 of file interface_handlers.c.
References ED_region_tag_refresh_ui(), wmEventHandler_UI::handle_fn, wmEventHandler_UI::head, if(), LISTBASE_FOREACH, wmEventHandler::next, uiPopupBlockHandle::region, wmEventHandler_UI::remove_fn, wmEventHandler::type, ui_popup_handler(), ui_popup_handler_remove(), wmEventHandler_UI::user_data, WM_event_remove_ui_handler(), and WM_HANDLER_TYPE_UI.
Referenced by UI_popup_block_close(), and ui_popup_handler().
Definition at line 11028 of file interface_handlers.c.
References C, ui_popup_handler(), ui_popup_handler_remove(), and WM_event_free_ui_handler_all().
Referenced by ghost_event_proc(), WM_event_add_fileselect(), and wm_event_do_notifiers().
| uiPopupMenu* UI_popup_menu_begin | ( | struct bContext * | C, |
| const char * | title, | ||
| int | icon | ||
| ) |
Definition at line 437 of file interface_region_menu_popup.c.
References C, and UI_popup_menu_begin_ex().
Referenced by armature_parent_set_invoke(), context_menu_invoke(), driver_dvar_invalid_name_query_cb(), dyntopo_warning_popup(), gpencil_layer_change_invoke(), insert_key_menu_invoke(), keyingset_active_menu_invoke(), make_override_library_invoke(), make_proxy_invoke(), move_to_collection_invoke(), node_group_separate_invoke(), object_hide_collection_invoke(), outliner_operator_menu(), parent_set_invoke_menu(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), screen_area_options_invoke(), screen_context_menu_invoke(), select_grouped_collection(), select_orientation_invoke(), text_resolve_conflict_invoke(), toggle_cyclic_invoke(), ui_item_menu_hold(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), UI_popup_menu_invoke(), undo_history_invoke(), unpack_all_invoke(), unpack_item_invoke(), unpack_menu(), uv_mark_seam_invoke(), WM_menu_invoke_ex(), WM_operator_confirm_message_ex(), and workspace_add_invoke().
| uiPopupMenu* UI_popup_menu_begin_ex | ( | bContext * | C, |
| const char * | title, | ||
| const char * | block_name, | ||
| int | icon | ||
| ) |
Only return handler, and set optional title.
| block_name | Assigned to uiBlock.name (useful info for debugging). |
Definition at line 380 of file interface_region_menu_popup.c.
References BLI_snprintf(), uiPopupMenu::block, C, uiBut::drawflag, uiBlock::flag, uiBlock::handle, uiPopupMenu::layout, MEM_callocN, NULL, uiBlock::puphash, UI_block_begin(), UI_BLOCK_IS_FLIP, UI_block_layout(), UI_BLOCK_POPUP_MEMORY, UI_BTYPE_LABEL, UI_BUT_TEXT_LEFT, UI_EMBOSS_PULLDOWN, UI_LAYOUT_MENU, UI_LAYOUT_VERTICAL, UI_MENU_PADDING, ui_popup_menu_hash(), UI_style_get_dpi(), UI_UNIT_Y, uiDefBut(), uiDefIconTextBut(), uiItemS(), uiLayoutSetOperatorContext(), and WM_OP_EXEC_REGION_WIN.
Referenced by UI_popup_menu_begin(), and UI_popup_menu_reports().
| void UI_popup_menu_but_set | ( | uiPopupMenu * | pup, |
| struct ARegion * | butregion, | ||
| uiBut * | but | ||
| ) |
Setting the button makes the popup open from the button instead of the cursor.
Definition at line 445 of file interface_region_menu_popup.c.
References uiPopupMenu::but, and uiPopupMenu::butregion.
Referenced by ui_item_menu_hold().
| void UI_popup_menu_end | ( | struct bContext * | C, |
| struct uiPopupMenu * | pup | ||
| ) |
Definition at line 452 of file interface_region_menu_popup.c.
References uiPopupMenu::but, uiPopupMenu::butregion, C, CTX_wm_window(), wmWindow::eventstate, MEM_freeN, wmWindow::modalhandlers, uiPopupMenu::mx, uiPopupMenu::my, NULL, uiPopupBlockHandle::popup, uiPopupMenu::popup, ui_block_func_POPUP(), ui_popup_block_create(), UI_popup_handlers_add(), WM_event_add_mousemove(), wmEvent::x, and wmEvent::y.
Referenced by armature_parent_set_invoke(), context_menu_invoke(), driver_dvar_invalid_name_query_cb(), dyntopo_warning_popup(), gpencil_layer_change_invoke(), insert_key_menu_invoke(), keyingset_active_menu_invoke(), make_override_library_invoke(), make_proxy_invoke(), move_to_collection_invoke(), node_group_separate_invoke(), object_hide_collection_invoke(), outliner_operator_menu(), parent_set_invoke_menu(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), screen_area_options_invoke(), screen_context_menu_invoke(), select_grouped_collection(), select_orientation_invoke(), text_resolve_conflict_invoke(), toggle_cyclic_invoke(), ui_item_menu_hold(), ui_popup_context_menu_for_panel(), UI_popup_menu_end_or_cancel(), UI_popup_menu_invoke(), UI_popup_menu_reports(), undo_history_invoke(), unpack_all_invoke(), unpack_item_invoke(), unpack_menu(), uv_mark_seam_invoke(), WM_menu_invoke_ex(), WM_operator_confirm_message_ex(), and workspace_add_invoke().
| bool UI_popup_menu_end_or_cancel | ( | struct bContext * | C, |
| struct uiPopupMenu * | head | ||
| ) |
Definition at line 477 of file interface_region_menu_popup.c.
References uiPopupMenu::block, C, uiBlock::handle, MEM_freeN, NULL, UI_block_free(), UI_block_is_empty_ex(), UI_block_layout_resolve(), and UI_popup_menu_end().
Referenced by ui_popup_context_menu_for_button().
| int UI_popup_menu_invoke | ( | struct bContext * | C, |
| const char * | idname, | ||
| struct ReportList * | reports | ||
| ) |
Referenced by wm_call_menu_exec().
| struct uiLayout* UI_popup_menu_layout | ( | uiPopupMenu * | pup | ) |
Definition at line 490 of file interface_region_menu_popup.c.
References uiPopupMenu::layout.
Referenced by armature_parent_set_invoke(), context_menu_invoke(), driver_dvar_invalid_name_query_cb(), dyntopo_warning_popup(), gpencil_layer_change_invoke(), insert_key_menu_invoke(), keyingset_active_menu_invoke(), make_override_library_invoke(), make_proxy_invoke(), move_to_collection_invoke(), node_group_separate_invoke(), object_hide_collection_invoke(), outliner_operator_menu(), parent_set_invoke_menu(), pose_groups_menu_invoke(), pose_ik_add_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), screen_area_options_invoke(), screen_context_menu_invoke(), select_grouped_collection(), select_orientation_invoke(), text_resolve_conflict_invoke(), toggle_cyclic_invoke(), ui_item_menu_hold(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), UI_popup_menu_invoke(), UI_popup_menu_reports(), undo_history_invoke(), unpack_all_invoke(), unpack_item_invoke(), unpack_menu(), uv_mark_seam_invoke(), WM_menu_invoke_ex(), WM_operator_confirm_message_ex(), and workspace_add_invoke().
| void UI_popup_menu_reports | ( | struct bContext * | C, |
| struct ReportList * | reports | ||
| ) |
Definition at line 501 of file interface_region_menu_popup.c.
References BLI_snprintf(), BLI_strncpy(), C, CTX_wm_window(), IFACE_, ReportList::list, LISTBASE_FOREACH, MIN2, NULL, ReportList::printlevel, UI_icon_from_report_type(), UI_MAX_DRAW_STR, UI_popup_menu_begin_ex(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemL(), and uiItemS().
Referenced by wm_handler_fileselect_do(), and wm_operator_reports().
| int void UI_popup_menu_retval_set | ( | const uiBlock * | block, |
| const int | retval, | ||
| const bool | enable | ||
| ) |
Allow setting menu return value from externals. E.g. WM might need to do this for exiting files correctly.
Definition at line 10707 of file interface_handlers.c.
References uiBlock::handle, and uiPopupBlockHandle::menuretval.
Referenced by dialog_exec_cb().
Referenced by UI_popover_begin().
| uiBlock* UI_region_block_find_mouse_over | ( | const struct ARegion * | region, |
| const int | xy[2], | ||
| bool | only_clip | ||
| ) |
Definition at line 8413 of file interface_handlers.c.
References ui_block_find_mouse_over_ex().
Referenced by wm_handlers_do_gizmo_handler().
Referenced by ED_region_contains_xy().
| void UI_region_handlers_add | ( | struct ListBase * | handlers | ) |
Definition at line 10990 of file interface_handlers.c.
References NULL, ui_region_handler(), ui_region_handler_remove(), WM_event_add_ui_handler(), and WM_event_remove_ui_handler().
Referenced by ed_default_handlers(), hud_region_init(), and ui_popup_block_create().
Definition at line 2092 of file interface.c.
References LISTBASE_FOREACH, ui_block_message_subscribe(), and ARegion::uiblocks.
Referenced by ED_region_message_subscribe().
| struct PointerRNA* UI_region_panel_custom_data_under_cursor | ( | const struct bContext * | C, |
| const struct wmEvent * | event | ||
| ) |
Referenced by wm_searchbox_tooltip_init().
| void UI_reinit_font | ( | void | ) |
Definition at line 7123 of file interface.c.
References uiStyleInit().
Referenced by reloadtranslation_exec().
Referenced by ED_screen_set_active_region().
| bool UI_search_item_add | ( | uiSearchItems * | items, |
| const char * | name, | ||
| void * | poin, | ||
| int | iconid, | ||
| int | state, | ||
| const uint8_t | name_prefix_offset | ||
| ) |
Public function exported for functions that use UI_BTYPE_SEARCH_MENU.
| items | Stores the items. |
| name | Text to display for the item. |
| poin | Opaque pointer (for use by the caller). |
| iconid | The icon, #ICON_NONE for no icon. |
| state | The buttons state flag, compatible with uiBut.flag, typically UI_BUT_DISABLED / UI_BUT_INACTIVE. |
Definition at line 120 of file interface_region_search.c.
References uiSearchItems::active, uiSearchItems::autocpl, BLI_assert, BLI_strncpy(), uiSearchItems::has_icon, uiSearchItems::icons, uiSearchItems::maxitem, uiSearchItems::maxstrlen, MEM_callocN, uiSearchItems::more, uiSearchItems::name_prefix_offsets, uiSearchItems::names, NULL, uiSearchItems::offset_i, uiSearchItems::pointers, state, uiSearchItems::states, uiSearchItems::totitem, UI_autocomplete_update_name(), UI_BUT_DISABLED, UI_BUT_HAS_SEP_CHAR, UI_BUT_INACTIVE, and UI_BUT_REDALERT.
Referenced by add_collection_search_item(), attribute_search_item_add(), attribute_search_update_fn(), id_search_add(), menu_search_update_fn(), merged_element_search_fn_recursive(), node_find_update_fn(), operator_enum_search_update_fn(), and operator_search_update_fn().
| int UI_search_items_find_index | ( | uiSearchItems * | items, |
| const char * | name | ||
| ) |
Definition at line 199 of file interface_region_search.c.
References uiSearchItems::name_prefix_offsets, uiSearchItems::names, NULL, STREQ, and uiSearchItems::totitem.
Referenced by merged_element_search_fn_recursive(), ui_but_search_refresh(), and ui_searchbox_find_index().
| int UI_searchbox_size_x | ( | void | ) |
Definition at line 194 of file interface_region_search.c.
References UI_UNIT_X.
Referenced by node_find_menu(), template_common_search_menu(), ui_searchbox_create_generic(), wm_enum_search_menu(), and wm_search_menu_invoke().
| int UI_searchbox_size_y | ( | void | ) |
Definition at line 189 of file interface_region_search.c.
References SEARCH_ITEMS, UI_POPUP_MENU_TOP, and UI_UNIT_Y.
Referenced by merged_element_search_menu(), node_find_menu(), template_common_search_menu(), ui_searchbox_create_generic(), wm_enum_search_menu(), and wm_search_menu_invoke().
| const struct uiStyle* UI_style_get | ( | void | ) |
Definition at line 368 of file interface_style.c.
References BLI_findstring(), and NULL.
Referenced by BLF_draw_default(), BLF_draw_default_ascii(), BLF_set_default(), clip_draw_dopesheet_channels(), component_menu(), drw_text_cache_draw_ex(), ED_region_cache_draw_curfra_label(), file_draw_string(), file_draw_string_multiline(), file_font_pointsize(), file_string_width(), get_column_width(), get_index_column_width(), node_draw_frame_label(), radial_control_paint_cursor(), reset_exec(), ui_block_bounds_calc_text(), UI_panel_category_draw_all(), ui_searchbox_create_generic(), UI_style_get_dpi(), ui_textedit_set_cursor_pos(), ui_tooltip_create_with_data(), ui_tooltip_region_draw_cb(), UI_view2d_region_reinit(), uiTemplateReportsBanner(), and voxel_size_edit_draw().
| const struct uiStyle* UI_style_get_dpi | ( | void | ) |
Definition at line 381 of file interface_style.c.
References uiStyle::boxspace, uiStyle::buttonspacex, uiStyle::buttonspacey, uiStyle::columnspace, uiStyle::grouplabel, uiStyle::panelouter, uiStyle::panelspace, uiStyle::paneltitle, uiFontStyle::shadx, uiFontStyle::shady, uiStyle::templatespace, UI_DPI_FAC, UI_style_get(), and uiStyle::widgetlabel.
Referenced by colorband_tools_func(), ed_panel_draw(), ED_region_header_layout(), ED_region_image_metadata_draw(), ED_region_info_draw_multiline(), ED_region_property_search(), ED_time_scrub_channel_search_draw(), get_index_column_width(), menu_add_shortcut(), menu_change_shortcut(), menu_items_from_ui_create(), node_update_basis(), spreadsheet_footer_region_draw(), template_ID_tabs(), UI_block_draw(), ui_offset_panel_block(), UI_pie_menu_begin(), ui_popover_create_block(), ui_popover_panel_create(), UI_popup_menu_begin_ex(), ui_popup_menu_create(), uiItemsAlertBox(), wm_block_create_about(), wm_block_create_redo(), wm_block_create_splash(), wm_block_dialog_create(), and wm_operator_ui_create().
| void UI_style_init_default | ( | void | ) |
Definition at line 1057 of file resources.c.
References BLI_freelistN(), and uiStyleInit().
Referenced by preferences_reset_default_theme_exec().
| void UI_template_fix_linking | ( | void | ) |
Definition at line 108 of file interface_templates.c.
Referenced by UI_block_layout_resolve().
| float UI_text_clip_middle_ex | ( | const struct uiFontStyle * | fstyle, |
| char * | str, | ||
| float | okwidth, | ||
| const float | minwidth, | ||
| const size_t | max_len, | ||
| const char | rpart_sep | ||
| ) |
Referenced by file_draw_string().
| int UI_text_colorid_from_report_type | ( | int | type | ) |
Definition at line 664 of file interface_utils.c.
References RPT_DEBUG_ALL, RPT_ERROR_ALL, RPT_INFO_ALL, RPT_OPERATOR, RPT_PROPERTY, RPT_WARNING_ALL, TH_INFO_DEBUG_TEXT, TH_INFO_ERROR_TEXT, TH_INFO_INFO_TEXT, TH_INFO_OPERATOR_TEXT, TH_INFO_PROPERTY_TEXT, TH_INFO_WARNING_TEXT, and type.
Referenced by report_line_data(), and uiTemplateReportsBanner().
Referenced by file_filename_enter_handle().
| bool UI_textbutton_activate_rna | ( | const struct bContext * | C, |
| struct ARegion * | region, | ||
| const void * | rna_poin_data, | ||
| const char * | rna_prop_id | ||
| ) |
Referenced by buttons_start_filter_exec(), file_start_filter_exec(), and text_properties_region_draw().
| void UI_theme_init_default | ( | void | ) |
Initialize default theme.
Definition at line 1041 of file resources.c.
References bTheme::active_theme_area, BLI_addtail(), BLI_findstring(), MEM_callocN, NULL, U_theme_default, and UI_SetTheme().
Referenced by preferences_reset_default_theme_exec().
| struct ARegion* UI_tooltip_create_from_button | ( | bContext * | C, |
| ARegion * | butregion, | ||
| uiBut * | but, | ||
| bool | is_label | ||
| ) |
| is_label | When true, show a small tip that only shows the name, otherwise show the full tooltip. |
Definition at line 1400 of file interface_region_tooltip.c.
References uiBlock::aspect, BLI_rctf_cent_x(), BLI_rctf_cent_y(), BLI_rcti_rctf_copy_round(), uiBut::block, C, CTX_wm_window(), data, uiBut::drawflag, wmWindow::eventstate, min_ff(), NULL, uiBut::rect, ui_block_to_window_fl(), ui_block_to_window_rctf(), UI_but_has_tooltip_label(), UI_but_is_tool(), UI_BUT_NO_TOOLTIP, UI_POPUP_MARGIN, ui_tooltip_create_with_data(), ui_tooltip_data_from_button(), ui_tooltip_data_from_tool(), wmEvent::x, and rctf::ymin.
Referenced by ui_but_tooltip_init(), and ui_search_menu_create_tooltip().
Definition at line 1455 of file interface_region_tooltip.c.
References bounds(), C, CTX_wm_window(), data, wmWindow::eventstate, NULL, wmGizmoType::screen_bounds_get, wmGizmo::type, ui_tooltip_create_with_data(), ui_tooltip_data_from_gizmo(), wmEvent::x, and wmEvent::y.
Referenced by WM_gizmomap_tooltip_init().
| 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 | ||
| ) |
Referenced by template_ID_search_menu_item_tooltip().
Definition at line 1549 of file interface_region_tooltip.c.
References C, and ui_region_temp_remove().
Referenced by WM_tooltip_clear(), WM_tooltip_init(), and WM_tooltip_refresh().
| void UI_widgetbase_draw_cache_begin | ( | void | ) |
Definition at line 1199 of file interface_widgets.c.
References BLI_assert, and g_widget_base_batch.
Referenced by UI_block_draw().
| void UI_widgetbase_draw_cache_end | ( | void | ) |
Definition at line 1205 of file interface_widgets.c.
References BLI_assert, g_widget_base_batch, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, and UI_widgetbase_draw_cache_flush().
Referenced by UI_block_draw().
| void UI_widgetbase_draw_cache_flush | ( | void | ) |
Definition at line 1169 of file interface_widgets.c.
References batch, g_widget_base_batch, GPU_batch_draw(), GPU_batch_draw_instanced(), GPU_batch_program_set_builtin(), GPU_batch_uniform_3fv, GPU_batch_uniform_4fv_array, GPU_SHADER_2D_WIDGET_BASE, GPU_SHADER_2D_WIDGET_BASE_INST, GPUBatch, MAX_WIDGET_BASE_BATCH, MAX_WIDGET_PARAMETERS, UI_ALPHA_CHECKER_DARK, UI_ALPHA_CHECKER_LIGHT, and ui_batch_roundbox_widget_get().
Referenced by blf_batch_draw(), draw_widgetbase_batch(), icon_draw_cache_flush_ex(), icon_draw_size(), icon_draw_texture(), ui_draw_but_HSV_v(), UI_widgetbase_draw_cache_end(), widget_draw_node_link_socket(), widget_draw_submenu_tria(), widget_draw_text(), widget_swatch(), and widget_tab().
| 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 | ||
| ) |
Definition at line 59 of file interface_utils.c.
References BLI_snprintf(), ELEM, height, IFACE_, NULL, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_COLOR_GAMMA, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_PERCENTAGE, PROP_POINTER, PROP_STRING, PROP_TEXTEDIT_UPDATE, ptr, RNA_property_array_check(), RNA_property_collection_length(), RNA_property_flag(), RNA_property_pointer_get(), RNA_property_pointer_type(), RNA_property_subtype(), RNA_property_type(), RNA_struct_ui_icon(), PointerRNA::type, UI_BTYPE_CHECKBOX, UI_BTYPE_COLOR, UI_BTYPE_ICON_TOGGLE, UI_BTYPE_LABEL, UI_BTYPE_MENU, UI_BTYPE_NUM, UI_BTYPE_NUM_SLIDER, UI_BTYPE_SEARCH_MENU, UI_BTYPE_TEXT, UI_BUT_DISABLED, UI_but_flag_enable(), UI_BUT_TEXTEDIT_UPDATE, UI_BUT_VALUE_CLEAR, uiDefBut(), uiDefButR_prop(), uiDefIconButR_prop(), uiDefIconTextButR_prop(), width, x, and y.
Referenced by ANIM_channel_draw_widgets(), outliner_draw_rnabuts(), template_search_add_button_name(), ui_item_array(), ui_item_with_label(), uiItemFullR(), and uiTemplateLayers().
| eAutoPropButsReturn uiDefAutoButsRNA | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| bool(*)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data) | check_prop, | ||
| void * | user_data, | ||
| struct PropertyRNA * | prop_activate_init, | ||
| eButLabelAlign | label_align, | ||
| const bool | compact | ||
| ) |
| uiBut* uiDefBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6338 of file interface.c.
References uiBut::block_create_func, height, str, UI_BTYPE_BLOCK, ui_but_update(), ui_def_but(), width, x, and y.
Referenced by CurveProfile_buttons_layout(), and ui_popup_context_menu_for_button().
| uiBut* uiDefBlockButN | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | argN, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6355 of file interface.c.
References uiBut::block_create_func, uiBut::func_argN, height, MEM_freeN, NULL, str, UI_BTYPE_BLOCK, ui_but_update(), ui_def_but(), width, x, and y.
Referenced by template_add_button_search_menu(), uiTemplateComponentMenu(), and uiTemplateIconView().
| 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 | ||
| ) |
Definition at line 4687 of file interface.c.
References height, max, min, str, type, ui_but_update(), ui_def_but(), width, x, and y.
Referenced by colorband_buttons_layout(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), envelope_panel_draw(), file_draw_list(), file_draw_preview(), merged_element_search_menu(), node_draw_basis(), node_draw_hidden(), node_draw_reroute(), node_find_menu(), outliner_buttons(), outliner_draw_userbuts(), template_common_search_menu(), template_ID(), ui_block_colorpicker(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_slot_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_item_array(), ui_item_disabled(), ui_item_with_label(), ui_layout_add_padding_button(), ui_layout_box(), ui_node_menu_column(), UI_pie_menu_begin(), UI_popup_menu_begin_ex(), ui_template_node_link_menu(), uiDefAutoButR(), uiDefButBit(), uiDefButC(), uiDefButF(), uiDefButI(), uiDefButS(), uiItemFullR(), uiItemL_(), uiItemS_ex(), uiItemsFullEnumO_items(), uiItemSpacer(), uiTemplateHistogram(), uiTemplateList(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateNodeSocket(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), v3d_editvertex_buts(), v3d_object_dimension_buts(), wm_block_dialog_create(), wm_block_search_menu(), wm_block_splash_add_label(), and wm_enum_search_menu().
Definition at line 4728 of file interface.c.
References height, uiWidgetColors::text, bTheme::tui, UI_GetTheme(), UI_icon_alert_imbuf_get(), uiDefButImage(), ThemeUI::wcol_menu_back, width, x, and y.
Referenced by uiItemsAlertBox().
| 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 | ||
| ) |
Definition at line 5112 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_CHAR, uiDefButBit(), width, x, and y.
Referenced by block_create__close_file_dialog().
| uiBut* uiDefButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| 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 | ||
| ) |
Definition at line 4926 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_FLOAT, uiDefButBit(), width, x, and y.
| 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 | ||
| ) |
Definition at line 4988 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_INT, uiDefButBit(), width, x, and y.
Referenced by curvemap_clipping_func(), and uiTemplateMarker().
| 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 | ||
| ) |
Definition at line 5050 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_SHORT, uiDefButBit(), width, x, and y.
Referenced by v3d_editvertex_buts().
| 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 | ||
| ) |
Definition at line 5082 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_CHAR, uiDefBut(), width, x, and y.
Referenced by ui_block_colorpicker().
| 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 | ||
| ) |
Definition at line 4896 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_FLOAT, uiDefBut(), width, x, and y.
Referenced by curvemap_buttons_layout(), curvemap_clipping_func(), CurveProfile_buttons_layout(), ui_block_colorpicker(), uiTemplateMarker(), uvedit_vertex_buttons(), v3d_editvertex_buts(), v3d_object_dimension_buts(), and view3d_panel_vgroup().
| 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 | ||
| ) |
Definition at line 4958 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_INT, uiDefBut(), width, x, and y.
Referenced by curvemap_buttons_layout(), ui_def_but_rna__menu(), uiItemV(), and uiTemplateList().
| uiBut* uiDefButImage | ( | uiBlock * | block, |
| void * | imbuf, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const uchar | color[4] | ||
| ) |
Definition at line 4710 of file interface.c.
References uiBut::col, copy_v4_v4_uchar(), height, UI_BTYPE_IMAGE, ui_but_update(), ui_def_but(), width, x, and y.
Referenced by uiDefButAlert(), wm_block_create_about(), and wm_block_create_splash().
| uiBut* uiDefButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5204 of file interface.c.
References height, NULL, ot, str, type, uiDefButO_ptr(), width, WM_operatortype_find(), x, and y.
Referenced by uiTemplateReportsBanner().
| uiBut* uiDefButO_ptr | ( | uiBlock * | block, |
| int | type, | ||
| struct wmOperatorType * | ot, | ||
| int | opcontext, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5189 of file interface.c.
References height, ot, str, type, ui_but_update(), ui_def_but_operator_ptr(), width, x, and y.
Referenced by uiDefButO(), uiItemFullO_ptr_ex(), and view3d_panel_vgroup().
| 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 | ||
| ) |
Definition at line 5144 of file interface.c.
References height, max, min, ptr, str, type, ui_but_update(), ui_def_but_rna_propname(), width, x, and y.
Referenced by ANIM_channel_draw_widgets(), ED_area_header_switchbutton(), ED_file_path_button(), file_panel_execution_buttons_draw(), graph_panel_key_properties(), template_ID(), uiTemplatePalette(), and v3d_editvertex_buts().
| 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 | ||
| ) |
Definition at line 5166 of file interface.c.
References height, max, min, ptr, str, type, ui_but_update(), ui_def_but_rna(), width, x, and y.
Referenced by template_ID_tabs(), ui_block_colorpicker(), ui_colorpicker_circle(), ui_colorpicker_square(), ui_item_array(), ui_item_enum_expand_elem_exec(), ui_item_with_label(), uiDefAutoButR(), uiItemFullR(), uiTemplateColorPicker(), and uiTemplateList().
| 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 | ||
| ) |
Definition at line 5020 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_SHORT, uiDefBut(), width, x, and y.
Referenced by colorband_buttons_layout(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_slot_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), and uiTemplatePreview().
| uiBut* uiDefHotKeyevtButS | ( | uiBlock * | block, |
| int | retval, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| short * | keypoin, | ||
| const short * | modkeypoin, | ||
| const char * | tip | ||
| ) |
Definition at line 6541 of file interface.c.
References height, uiBut::modifier_key, str, UI_BTYPE_HOTKEY_EVENT, UI_BUT_POIN_SHORT, ui_but_update(), ui_def_but(), width, x, and y.
| uiBut* uiDefIconBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| int | retval, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6487 of file interface.c.
References uiBut::block_create_func, uiBut::drawflag, height, UI_BTYPE_BLOCK, UI_BUT_ICON_LEFT, ui_but_update(), ui_def_but(), ui_def_but_icon(), UI_HAS_ICON, width, x, and y.
Referenced by colorband_buttons_layout(), curvemap_buttons_layout(), and CurveProfile_buttons_layout().
| 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 | ||
| ) |
Definition at line 5223 of file interface.c.
References height, max, min, type, ui_but_update_and_icon_set(), ui_def_but(), width, x, and y.
Referenced by curvemap_buttons_layout(), CurveProfile_buttons_layout(), draw_constraint_header(), envelope_panel_draw(), file_draw_icon(), fmodifier_panel_header(), graph_draw_driver_settings_panel(), node_add_error_message_button(), node_draw_basis(), outliner_draw_mode_column_toggle(), outliner_draw_overrides_buts(), template_ID(), tselem_draw_icon(), uiDefIconButBit(), uiDefIconButC(), uiDefIconButF(), uiDefIconButI(), uiDefIconButS(), uiItemDecoratorR_prop(), uiItemL_(), uiItemsFullEnumO_items(), uiTemplateIcon(), uiTemplateIconView(), and uiTemplateTextureShow().
| 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 | ||
| ) |
Definition at line 5495 of file interface.c.
References height, max, min, type, UI_BUT_POIN_CHAR, uiDefIconButBit(), width, x, and y.
Referenced by draw_setting_widget().
| uiBut* uiDefIconButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5309 of file interface.c.
References height, max, min, type, UI_BUT_POIN_FLOAT, uiDefIconButBit(), width, x, and y.
| 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 | ||
| ) |
Definition at line 5371 of file interface.c.
References height, max, min, type, UI_BUT_POIN_INT, uiDefIconButBit(), width, x, and y.
Referenced by draw_setting_widget(), modifier_panel_header(), outliner_draw_restrictbuts(), uiTemplateList(), and uiTemplateMarker().
| 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 | ||
| ) |
Definition at line 5433 of file interface.c.
References height, max, min, type, UI_BUT_POIN_SHORT, uiDefIconButBit(), width, x, and y.
Referenced by draw_setting_widget(), outliner_draw_restrictbuts(), outliner_draw_userbuts(), and uiTemplateEditModeSelection().
| uiBut* uiDefIconButC | ( | uiBlock * | block, |
| int | type, | ||
| 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 | ||
| ) |
Definition at line 5465 of file interface.c.
References height, max, min, type, UI_BUT_POIN_CHAR, uiDefIconBut(), width, x, and y.
| uiBut* uiDefIconButF | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| float * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5279 of file interface.c.
References height, max, min, type, UI_BUT_POIN_FLOAT, uiDefIconBut(), width, x, and y.
| 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 | ||
| ) |
Definition at line 5341 of file interface.c.
References height, max, min, type, UI_BUT_POIN_INT, uiDefIconBut(), width, x, and y.
Referenced by uiItemV(), uiTemplateHistogram(), uiTemplateList(), uiTemplateTrack(), uiTemplateVectorscope(), and uiTemplateWaveform().
| uiBut* uiDefIconButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5587 of file interface.c.
References height, ot, type, uiDefIconButO_ptr(), width, WM_operatortype_find(), x, and y.
Referenced by ANIM_channel_draw_widgets(), template_ID(), template_keymap_item_properties(), template_search_add_button_operator(), ui_block_colorpicker(), ui_item_with_label(), uiTemplatePalette(), and uiTemplateReportsBanner().
| uiBut* uiDefIconButO_ptr | ( | uiBlock * | block, |
| int | type, | ||
| struct wmOperatorType * | ot, | ||
| int | opcontext, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5572 of file interface.c.
References height, ot, type, ui_but_update_and_icon_set(), ui_def_but_operator_ptr(), width, x, and y.
Referenced by uiDefIconButO(), uiDefIconTextButO(), and uiItemFullO_ptr_ex().
| 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 | ||
| ) |
Definition at line 5527 of file interface.c.
References height, max, min, ptr, type, ui_but_update_and_icon_set(), ui_def_but_rna_propname(), width, x, and y.
Referenced by template_ID().
| 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 | ||
| ) |
Definition at line 5549 of file interface.c.
References height, max, min, ptr, type, ui_but_update_and_icon_set(), ui_def_but_rna(), width, x, and y.
Referenced by clip_draw_dopesheet_channels(), outliner_draw_restrictbuts(), ui_icon_view_menu_cb(), ui_item_enum_expand_elem_exec(), uiDefAutoButR(), and uiItemFullR().
| 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 | ||
| ) |
Definition at line 5403 of file interface.c.
References height, max, min, type, UI_BUT_POIN_SHORT, uiDefIconBut(), width, x, and y.
Referenced by uiTemplatePreview().
| uiBut* uiDefIconMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6435 of file interface.c.
References uiBut::drawflag, height, uiBut::menu_create_func, UI_BTYPE_PULLDOWN, UI_BUT_ICON_LEFT, ui_but_update(), ui_def_but(), ui_def_but_icon(), UI_HAS_ICON, width, x, and y.
Referenced by ui_item_menu(), uiTemplateNodeLink(), and uiTemplatePalette().
| uiBut* uiDefIconTextBlockBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6458 of file interface.c.
References uiBut::block_create_func, uiBut::drawflag, uiBut::flag, height, str, UI_BTYPE_BLOCK, UI_BUT_ICON_LEFT, ui_but_submenu_enable(), ui_but_update(), ui_def_but(), ui_def_but_icon(), UI_HAS_ICON, width, x, and y.
| 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 | ||
| ) |
Definition at line 5603 of file interface.c.
References uiBut::drawflag, height, max, min, str, type, UI_BUT_ICON_LEFT, ui_but_update_and_icon_set(), ui_def_but(), width, x, and y.
Referenced by block_create_autorun_warning(), colorband_buttons_layout(), colorband_tools_func(), curvemap_tools_func(), CurveProfile_buttons_layout(), CurveProfile_presets_func(), CurveProfile_tools_func(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_float_vector(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_left_column_cell(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_top_row_cell(), graph_draw_driver_settings_panel(), template_ID(), template_id_def_new_but(), template_operator_property_buts_draw_single(), template_texture_user_menu(), ui_node_menu_column(), UI_pie_menu_begin(), ui_pie_menu_level_create(), ui_popup_context_menu_for_button(), UI_popup_menu_begin_ex(), uiDefIconTextButBit(), uiDefIconTextButC(), uiDefIconTextButF(), uiDefIconTextButI(), uiDefIconTextButS(), uiItemL_(), uiTemplateRunningJobs(), wm_block_file_close_cancel_button(), wm_block_file_close_discard_button(), and wm_block_file_close_save_button().
| uiBut* uiDefIconTextButBitC | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5893 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_CHAR, uiDefIconTextButBit(), width, x, and y.
| uiBut* uiDefIconTextButBitF | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| 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 | ||
| ) |
Definition at line 5695 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_FLOAT, uiDefIconTextButBit(), width, x, and y.
| uiBut* uiDefIconTextButBitI | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| 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 | ||
| ) |
Definition at line 5761 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_INT, uiDefIconTextButBit(), width, x, and y.
| uiBut* uiDefIconTextButBitS | ( | uiBlock * | block, |
| int | type, | ||
| int | bit, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5827 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_SHORT, uiDefIconTextButBit(), width, x, and y.
| uiBut* uiDefIconTextButC | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| char * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5861 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_CHAR, uiDefIconTextBut(), width, x, and y.
| 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 | ||
| ) |
Definition at line 5663 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_FLOAT, uiDefIconTextBut(), width, x, and y.
| 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 | ||
| ) |
Definition at line 5729 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_INT, uiDefIconTextBut(), width, x, and y.
Referenced by ui_def_but_rna__menu(), and uiItemV().
| uiBut* uiDefIconTextButO | ( | uiBlock * | block, |
| int | type, | ||
| const char * | opname, | ||
| int | opcontext, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5992 of file interface.c.
References height, ot, str, type, uiDefIconButO_ptr(), uiDefIconTextButO_ptr(), width, WM_operatortype_find(), x, and y.
Referenced by template_ID(), template_id_def_new_but(), and uiTemplateCryptoPicker().
| uiBut* uiDefIconTextButO_ptr | ( | uiBlock * | block, |
| int | type, | ||
| struct wmOperatorType * | ot, | ||
| int | opcontext, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 5975 of file interface.c.
References uiBut::drawflag, height, ot, str, type, UI_BUT_ICON_LEFT, ui_but_update_and_icon_set(), ui_def_but_operator_ptr(), width, x, and y.
Referenced by uiDefIconTextButO(), and uiItemFullO_ptr_ex().
| 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 | ||
| ) |
Definition at line 5927 of file interface.c.
References uiBut::drawflag, height, max, min, ptr, str, type, UI_BUT_ICON_LEFT, ui_but_update_and_icon_set(), ui_def_but_rna_propname(), width, x, and y.
Referenced by node_geometry_add_attribute_search_button().
| 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 | ||
| ) |
Definition at line 5951 of file interface.c.
References uiBut::drawflag, height, max, min, ptr, str, type, UI_BUT_ICON_LEFT, ui_but_update_and_icon_set(), ui_def_but_rna(), width, x, and y.
Referenced by ui_icon_view_menu_cb(), ui_item_enum_expand_elem_exec(), uiDefAutoButR(), uiItemFullR(), and uiTemplateList().
| uiBut* uiDefIconTextButS | ( | uiBlock * | block, |
| int | type, | ||
| int | retval, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| short * | poin, | ||
| float | min, | ||
| float | max, | ||
| float | a1, | ||
| float | a2, | ||
| const char * | tip | ||
| ) |
Definition at line 5795 of file interface.c.
References height, max, min, str, type, UI_BUT_POIN_SHORT, uiDefIconTextBut(), width, x, and y.
| uiBut* uiDefIconTextMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| int | icon, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6410 of file interface.c.
References uiBut::drawflag, height, uiBut::menu_create_func, str, UI_BTYPE_PULLDOWN, UI_BUT_ICON_LEFT, ui_but_submenu_enable(), ui_but_update(), ui_def_but(), ui_def_but_icon(), UI_HAS_ICON, width, x, and y.
Referenced by ui_item_menu(), and uiTemplateTextureUser().
| uiBut* uiDefKeyevtButS | ( | uiBlock * | block, |
| int | retval, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| short * | spoin, | ||
| const char * | tip | ||
| ) |
Definition at line 6511 of file interface.c.
References height, str, UI_BTYPE_KEY_EVENT, UI_BUT_POIN_SHORT, ui_but_update(), ui_def_but(), width, x, and y.
| uiBut* uiDefMenuBut | ( | uiBlock * | block, |
| uiMenuCreateFunc | func, | ||
| void * | arg, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6393 of file interface.c.
References height, uiBut::menu_create_func, str, UI_BTYPE_PULLDOWN, ui_but_update(), ui_def_but(), width, x, and y.
Referenced by ui_item_menu(), uiblock_layer_pass_buttons(), uiTemplateNodeLink(), and uiTemplateTextureUser().
| uiBut* uiDefPulldownBut | ( | uiBlock * | block, |
| uiBlockCreateFunc | func, | ||
| void * | arg, | ||
| const char * | str, | ||
| int | x, | ||
| int | y, | ||
| short | width, | ||
| short | height, | ||
| const char * | tip | ||
| ) |
Definition at line 6376 of file interface.c.
References uiBut::block_create_func, height, str, UI_BTYPE_PULLDOWN, ui_but_update(), ui_def_but(), width, x, and y.
| 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 | ||
| ) |
Definition at line 6573 of file interface.c.
References uiBut::drawflag, height, UI_BTYPE_SEARCH_MENU, UI_BUT_ICON_LEFT, UI_BUT_TEXT_LEFT, ui_but_update(), ui_def_but(), ui_def_but_icon(), UI_HAS_ICON, width, x, and y.
Referenced by merged_element_search_menu(), node_find_menu(), template_common_search_menu(), uiDefSearchButO_ptr(), uiTemplateMenuSearch(), uiTemplateOperatorSearch(), and wm_block_search_menu().
| uiBut* uiDefSearchButO_ptr | ( | uiBlock * | block, |
| wmOperatorType * | ot, | ||
| 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 | ||
| ) |
Same parameters as for uiDefSearchBut, with additional operator type and properties, used by callback to call again the right op with the right options (properties values).
Definition at line 6783 of file interface.c.
References PointerRNA::data, height, IDP_CopyProperty(), NULL, uiBut::opcontext, operator_enum_search_exec_fn(), operator_enum_search_update_fn(), uiBut::optype, ot, ptr, UI_but_func_search_set(), UI_but_operator_ptr_get(), ui_searchbox_create_generic(), uiDefSearchBut(), width, WM_OP_EXEC_DEFAULT, x, and y.
Referenced by wm_enum_search_menu().
| void uiItemBooleanO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1719 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_boolean_set(), uiLayout::root, UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by modifier_ops_extra_draw(), pose_ik_add_invoke(), ui_popup_context_menu_for_button(), and uv_mark_seam_invoke().
| void uiItemDecoratorR | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | index | ||
| ) |
Insert a decorator item for a button with the same property as prop. To force inserting a blank dummy element, NULL can be passed for ptr and propname.
Definition at line 3021 of file interface_layout.c.
References NULL, ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), and uiItemDecoratorR_prop().
Referenced by data_panel_draw(), panel_draw(), ui_node_draw_input(), and uiTemplateCacheFile().
| void uiItemDecoratorR_prop | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index | ||
| ) |
Insert a decorator item for a button with the same property as prop. To force inserting a blank dummy element, NULL can be passed for ptr and prop.
Definition at line 2959 of file interface_layout.c.
References uiLayoutRoot::block, uiButDecorator::but, col, ELEM, uiBut::flag, NULL, ptr, RNA_property_animateable(), RNA_property_array_check(), RNA_property_array_length(), uiButDecorator::rnaindex, uiButDecorator::rnapoin, uiButDecorator::rnaprop, uiLayout::root, TIP_, UI_block_layout_set_current(), UI_BTYPE_DECORATOR, ui_but_anim_decorate_cb(), UI_BUT_DISABLED, UI_BUT_DRAG_LOCK, UI_but_func_set(), UI_BUT_UNDO, UI_EMBOSS_NONE, ui_item_rna_is_expand(), UI_UNIT_X, UI_UNIT_Y, uiDefIconBut(), and uiLayoutColumn().
Referenced by uiItemDecoratorR(), and uiItemFullR().
| void uiItemEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | name, | ||
| int | icon, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1389 of file interface_layout.c.
References ot, RNA_warning, ui_item_disabled(), uiItemEnumO_ptr(), and WM_operatortype_find().
Referenced by armature_parent_set_invoke(), and node_group_separate_invoke().
| void uiItemEnumO_ptr | ( | uiLayout * | layout, |
| struct wmOperatorType * | ot, | ||
| const char * | name, | ||
| int | icon, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1365 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root, PointerRNA::type, ui_menu_enumpropname(), uiItemFullO_ptr(), and WM_operator_properties_create_ptr().
Referenced by parent_set_invoke_menu(), text_resolve_conflict_invoke(), and uiItemEnumO().
| void uiItemEnumO_string | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | value | ||
| ) |
Definition at line 1671 of file interface_layout.c.
References uiLayoutRoot::block, PointerRNA::data, uiBlock::evil_C, free(), MEM_freeN, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root, PointerRNA::type, ui_menu_enumpropname(), UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
| void uiItemEnumO_value | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1641 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root, PointerRNA::type, ui_menu_enumpropname(), UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by ui_template_palette_menu().
| void uiItemEnumR | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 2497 of file interface_layout.c.
References NULL, ptr, RNA_ENUM_VALUE, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), and uiItemFullR().
| void uiItemEnumR_prop | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | value | ||
| ) |
Definition at line 2480 of file interface_layout.c.
References PROP_ENUM, ptr, RNA_ENUM_VALUE, RNA_property_identifier(), RNA_property_type(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), and uiItemFullR().
Referenced by uiItemsEnumR().
| void uiItemEnumR_string | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | value, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2566 of file interface_layout.c.
References NULL, ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), uiItemEnumR_string_prop(), and UNLIKELY.
| void uiItemEnumR_string_prop | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| const char * | value, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2515 of file interface_layout.c.
References Freestyle::a, uiLayoutRoot::block, CTX_IFACE_, uiBlock::evil_C, free(), EnumPropertyItem::identifier, MEM_freeN, NULL, PROP_ENUM, ptr, RNA_ENUM_VALUE, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_identifier(), RNA_property_translation_context(), RNA_property_type(), RNA_struct_identifier(), RNA_warning, uiLayout::root, PointerRNA::type, ui_item_disabled(), UI_ITEM_R_ICON_ONLY, uiItemFullR(), and UNLIKELY.
Referenced by uiItemEnumR_string().
| void uiItemFloatO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| float | value | ||
| ) |
Definition at line 1753 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_float_set(), uiLayout::root, UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
| void uiItemFullO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | name, | ||
| int | icon, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag, | ||
| struct PointerRNA * | r_opptr | ||
| ) |
Definition at line 1320 of file interface_layout.c.
References context, ot, PointerRNA_NULL, UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), and WM_operatortype_find().
Referenced by gpencil_modifier_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), modifier_ops_extra_draw(), node_composit_buts_file_output_ex(), node_composit_buts_switch_view_ex(), node_composit_buts_viewlayers(), panel_draw(), recent_files_menu_draw(), screen_area_options_invoke(), subdivisions_panel_draw(), ui_popup_context_menu_for_button(), uiItemO(), uiTemplateOperatorRedoProperties(), uiTemplateRecentFiles(), and view3d_panel_vgroup().
| void uiItemFullO_ptr | ( | uiLayout * | layout, |
| struct wmOperatorType * | ot, | ||
| const char * | name, | ||
| int | icon, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag, | ||
| struct PointerRNA * | r_opptr | ||
| ) |
Definition at line 1294 of file interface_layout.c.
References context, ot, and uiItemFullO_ptr_ex().
Referenced by draw_socket_list(), dyntopo_warning_popup(), make_override_library_invoke(), make_proxy_invoke(), move_to_collection_menu_create(), node_composit_buts_file_output_ex(), parent_set_invoke_menu(), poselib_add_menu_invoke__replacemenu(), screen_user_menu_draw(), template_operator_property_buts_draw_single(), ui_but_menu_add_path_operators(), ui_popup_context_menu_for_button(), uiItemBooleanO(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemFloatO(), uiItemFullO(), uiItemIntO(), uiItemsFullEnumO_items(), uiItemStringO(), unpack_menu(), WM_operator_confirm_message_ex(), and workspace_append_button().
| void uiItemFullOMenuHold_ptr | ( | uiLayout * | layout, |
| struct wmOperatorType * | ot, | ||
| const char * | name, | ||
| int | icon, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag, | ||
| const char * | menu_id, | ||
| struct PointerRNA * | r_opptr | ||
| ) |
Definition at line 1306 of file interface_layout.c.
References BLI_strdup(), context, ot, UI_but_func_hold_set(), ui_item_menu_hold(), and uiItemFullO_ptr_ex().
| void uiItemFullR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| int | index, | ||
| int | value, | ||
| int | flag, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 1970 of file interface_layout.c.
References Freestyle::a, uiBut::a1, uiLayout::activate_init, BLI_assert, BLI_insertlinkafter(), BLI_remlink(), uiLayoutRoot::block, uiBlock::buttons, uiBut::drawflag, ELEM, uiBut::emboss, uiLayout::emboss, ListBase::first, uiBlock::flag, uiItem::flag, uiBut::icon, uiLayout::item, ListBase::last, len, max_ii(), uiBut::next, NULL, PROP_BOOLEAN, PROP_ENUM, PROP_ENUM_FLAG, PROP_FLOAT, PROP_ICONS_CONSECUTIVE, PROP_INT, PROP_POINTER, PROP_STRING, ptr, uiLayout::redalert, RNA_ENUM_VALUE, RNA_NO_INDEX, RNA_property_array_check(), RNA_property_array_item_char(), RNA_property_array_length(), RNA_property_boolean_get(), RNA_property_boolean_get_index(), RNA_property_enum_get(), RNA_property_flag(), RNA_property_type(), RNA_property_ui_icon(), RNA_property_ui_name(), uiBut::rnaindex, uiBut::rnapoin, uiBut::rnaprop, uiLayout::root, uiLayout::space, uiButNumber::step_size, str, uiBut::str, STRNCPY_RLEN, uiBut::type, uiLayoutRoot::type, type, UI_block_layout_set_current(), UI_BLOCK_LIST_ITEM, ui_block_new_button_group(), UI_BTYPE_CHECKBOX, UI_BTYPE_CHECKBOX_N, UI_BTYPE_ICON_TOGGLE, UI_BTYPE_ICON_TOGGLE_N, UI_BTYPE_LABEL, UI_BTYPE_NUM, UI_BTYPE_NUM_SLIDER, UI_BTYPE_ROW, UI_BTYPE_TEXT, UI_BTYPE_TOGGLE, UI_BUT_ACTIVATE_ON_INIT, ui_but_add_search(), ui_but_change_type(), UI_BUT_CHECKBOX_INVERT, UI_but_flag_enable(), UI_BUT_LIST_ITEM, UI_BUT_REDALERT, UI_BUT_TEXT_LEFT, UI_BUT_TEXT_RIGHT, ui_def_but_icon_clear(), UI_EMBOSS_NONE, UI_EMBOSS_NONE_OR_STATUS, ui_item_array(), ui_item_enum_expand(), UI_ITEM_INSIDE_PROP_SEP, ui_item_name_add_colon(), UI_ITEM_PROP_DECORATE, UI_ITEM_PROP_DECORATE_NO_PAD, UI_ITEM_PROP_SEP, UI_ITEM_PROP_SEP_DIVIDE, ui_item_prop_split_layout_hack(), UI_ITEM_R_CHECKBOX_INVERT, UI_ITEM_R_COMPACT, UI_ITEM_R_EXPAND, UI_ITEM_R_FORCE_BLANK_DECORATE, UI_ITEM_R_ICON_NEVER, UI_ITEM_R_ICON_ONLY, UI_ITEM_R_NO_BG, UI_ITEM_R_SLIDER, UI_ITEM_R_SPLIT_EMPTY_NAME, UI_ITEM_R_TOGGLE, ui_item_rna_is_expand(), ui_item_rna_size(), ui_item_with_label(), ui_layout_heading_find(), ui_layout_heading_label_add(), UI_LAYOUT_HORIZONTAL, UI_LAYOUT_MENU, UI_LAYOUT_PIEMENU, UI_MAX_DRAW_STR, UI_MAX_NAME_STR, UI_UNIT_Y, uiDefAutoButR(), uiDefBut(), uiDefButR_prop(), uiDefIconButR_prop(), uiDefIconTextButR_prop(), uiItemDecoratorR_prop(), uiLayoutColumn(), uiLayoutGetLocalDir(), uiLayoutRow(), uiLayoutSplit(), and w().
Referenced by blur_panel_draw(), CurveProfile_buttons_layout(), generator_panel_draw(), panel_draw(), screen_user_menu_draw(), template_keymap_item_properties(), transparency_panel_draw(), UI_pie_menu_invoke_from_rna_enum(), uiDefAutoButsRNA(), uiItemEnumR(), uiItemEnumR_prop(), uiItemEnumR_string_prop(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemR(), uilist_draw_item_default(), and uiTemplateAnyID().
| 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 | ||
| ) |
Definition at line 2449 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::buttons, ListBase::last, uiBut::next, NULL, ptr, RNA_property_identifier(), RNA_struct_identifier(), RNA_warning, uiBut::rnaprop, uiLayout::root, uiBut::type, PointerRNA::type, UI_BTYPE_MENU, ui_but_rna_menu_convert_to_menu_type(), ui_item_disabled(), and uiItemFullR().
| void uiItemFullR_with_popover | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index, | ||
| int | value, | ||
| int | flag, | ||
| const char * | name, | ||
| int | icon, | ||
| const char * | panel_type | ||
| ) |
Use a wrapper function since re-implementing all the logic in this function would be messy.
Definition at line 2418 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::buttons, ELEM, ListBase::last, uiBut::next, NULL, ptr, RNA_property_identifier(), RNA_struct_identifier(), RNA_warning, uiBut::rnaprop, uiLayout::root, uiBut::type, PointerRNA::type, UI_BTYPE_COLOR, UI_BTYPE_MENU, ui_but_rna_menu_convert_to_panel_type(), ui_item_disabled(), and uiItemFullR().
| void uiItemIntO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| int | value | ||
| ) |
Definition at line 1736 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_int_set(), uiLayout::root, UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by ED_collection_hide_menu_draw(), move_to_collection_menu_create(), move_to_collection_menus_items(), pose_groups_menu_invoke(), poselib_add_menu_invoke(), repeat_history_invoke(), and undo_history_invoke().
| void uiItemL | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3177 of file interface_layout.c.
References uiItemL_().
Referenced by baking_panel_draw(), block_create__close_file_dialog(), block_create_autorun_warning(), buttons_panel_context_draw(), draw_constraint_header(), driver_dvar_invalid_name_query_cb(), dyntopo_warning_popup(), fmodifier_panel_header(), generator_panel_draw(), gpencil_modifier_panel_end(), gpencil_modifier_panel_header(), graph_draw_driven_property_panel(), graph_draw_driver_settings_panel(), graph_panel_drivers_popover(), graph_panel_key_properties(), graph_panel_properties(), image_new_draw(), menu_add_shortcut(), menu_change_shortcut(), metadata_panel_draw_field(), modifier_panel_end(), nla_panel_animdata(), nla_panel_stripname(), node_buts_image_user(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_colorcorrection(), node_composit_buts_colorcorrection_ex(), node_composit_buts_cryptomatte(), node_composit_buts_cryptomatte_legacy(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_denoise(), node_composit_buts_distance_matte(), node_composit_buts_double_edge_mask(), node_composit_buts_file_output(), node_composit_buts_file_output_ex(), node_composit_buts_vecblur(), node_file_output_socket_draw(), node_shader_buts_vertex_color(), node_socket_button_label(), node_socket_undefined_draw(), node_socket_undefined_interface_draw(), node_sockets_panel(), panel_draw(), recent_files_menu_draw(), screen_user_menu_draw(), shaderfx_panel_end(), shaderfx_panel_header(), spreadsheet_footer_region_draw(), std_node_socket_draw(), template_keymap_item_properties(), template_operator_property_buts_draw_single(), template_texture_user_menu(), transparency_panel_draw(), ui_def_but_rna__menu(), ui_def_but_rna__menu_type(), ui_def_but_rna__panel_type(), ui_item_enum_expand_exec(), ui_item_menu_hold(), ui_item_with_label(), ui_layout_heading_label_add(), ui_node_draw_input(), ui_node_menu_column(), ui_paneltype_draw_impl(), UI_popup_menu_reports(), ui_template_node_link_menu(), ui_template_palette_menu(), uiDefAutoButsRNA(), uiItemsEnumR(), uiItemsFullEnumO_items(), uilist_draw_item_default(), uiTemplateAnyID(), uiTemplateEventFromKeymapItem(), uiTemplateImageInfo(), uiTemplateImageSettings(), uiTemplateInputStatus(), uiTemplateList(), uiTemplateMovieclipInformation(), uiTemplateTextureUser(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_posearmature_buts(), v3d_transform_butsR(), and WM_window_modal_keymap_status_draw().
| void uiItemL_ex | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const bool | highlight, | ||
| const bool | redalert | ||
| ) |
Definition at line 3162 of file interface_layout.c.
References UI_but_flag_enable(), UI_BUT_REDALERT, UI_SELECT_DRAW, and uiItemL_().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), and wm_block_create_about().
Definition at line 3205 of file interface_layout.c.
References uiPropertySplitWrapper::decorate_column, uiItem::flag, uiLayout::item, uiPropertySplitWrapper::label_column, uiPropertySplitWrapper::property_row, UI_block_layout_set_current(), ui_item_name_add_colon(), UI_ITEM_PROP_SEP, UI_MAX_NAME_STR, uiItemL_(), uiItemPropertySplitWrapperCreate(), and uiLayoutGetBlock().
Referenced by graph_panel_key_properties(), template_ID(), ui_item_with_label(), and ui_layout_heading_label_add().
| void uiItemLDrag | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3227 of file interface_layout.c.
References PointerRNA::owner_id, ptr, RNA_struct_is_ID(), PointerRNA::type, UI_but_drag_set_id(), and uiItemL_().
Referenced by buttons_panel_context_draw().
| void uiItemM | ( | uiLayout * | layout, |
| const char * | menuname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2932 of file interface_layout.c.
References NULL, RNA_warning, uiItemM_ptr(), and WM_menutype_find().
Referenced by context_menu_invoke(), and template_operator_property_buts_draw_single().
Definition at line 2912 of file interface_layout.c.
References CTX_IFACE_, MenuType::description, MenuType::label, NULL, uiLayout::root, TIP_, MenuType::translation_context, uiLayoutRoot::type, ui_item_menu(), ui_item_menutype_func(), and UI_LAYOUT_MENU.
Referenced by screen_user_menu_draw(), and uiItemM().
| void uiItemMContents | ( | uiLayout * | layout, |
| const char * | menuname | ||
| ) |
Definition at line 2942 of file interface_layout.c.
References uiLayoutRoot::block, C, uiBlock::evil_C, NULL, RNA_warning, uiLayout::root, UI_menutype_draw(), and WM_menutype_find().
Referenced by outliner_operator_menu().
| void uiItemMenuEnumO | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3430 of file interface_layout.c.
References C, ot, RNA_warning, wmOperatorType::srna, ui_item_disabled(), UI_OPERATOR_ERROR_RET, uiItemMenuEnumO_ptr(), and WM_operatortype_find().
Referenced by graph_panel_modifiers(), and nla_panel_modifiers().
| void uiItemMenuEnumO_ptr | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct wmOperatorType * | ot, | ||
| const char * | propname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3395 of file interface_layout.c.
References BLI_assert, BLI_strncpy(), uiLayoutRoot::block, C, uiBlock::flag, wmOperatorType::idname, wmOperatorType::invoke, MEM_callocN, menu_item_enum_opname_menu(), NULL, uiLayoutRoot::opcontext, MenuItemLevel::opcontext, MenuItemLevel::opname, ot, wmOperatorType::prop, MenuItemLevel::propname, uiLayout::root, wmOperatorType::srna, uiLayoutRoot::type, UI_BLOCK_LOOP, ui_but_add_shortcut(), ui_item_menu(), UI_LAYOUT_MENU, WM_key_event_operator_string(), and WM_operatortype_name().
Referenced by uiItemMenuEnumO().
| void uiItemMenuEnumR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3484 of file interface_layout.c.
References ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), and uiItemMenuEnumR_prop().
| void uiItemMenuEnumR_prop | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3459 of file interface_layout.c.
References BLI_strncpy(), MEM_callocN, menu_item_enum_rna_menu(), NULL, uiLayoutRoot::opcontext, MenuItemLevel::opcontext, MenuItemLevel::propname, ptr, RNA_property_description(), RNA_property_identifier(), RNA_property_ui_name(), MenuItemLevel::rnapoin, uiLayout::root, uiLayoutRoot::type, ui_item_menu(), and UI_LAYOUT_MENU.
Referenced by uiItemMenuEnumR().
| void uiItemMenuF | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| uiMenuCreateFunc | func, | ||
| void * | arg | ||
| ) |
Definition at line 3351 of file interface_layout.c.
References NULL, and ui_item_menu().
Referenced by gpencil_modifier_panel_header(), modifier_panel_header(), move_to_collection_menus_items(), poselib_add_menu_invoke(), shaderfx_panel_header(), ui_popup_context_menu_for_button(), and workspace_add_invoke().
| void uiItemMenuFN | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| uiMenuCreateFunc | func, | ||
| void * | argN | ||
| ) |
Version of uiItemMenuF that free's argN.
Definition at line 3363 of file interface_layout.c.
References ui_item_menu().
Referenced by workspace_add_invoke().
| void uiItemO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname | ||
| ) |
Definition at line 1789 of file interface_layout.c.
References NULL, uiLayoutRoot::opcontext, uiLayout::root, and uiItemFullO().
Referenced by baking_panel_draw(), buttons_panel_context_draw(), colorband_tools_func(), draw_constraint_header(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ED_screens_navigation_bar_tools_menu_create(), file_panel_execution_cancel_button(), file_panel_execution_execute_button(), generate_panel_draw(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_panel_header(), gpencil_shaderfx_ops_extra_draw(), graph_draw_driver_settings_panel(), graph_panel_cursor(), graph_panel_drivers_popover(), graph_panel_modifiers(), modifier_ops_extra_draw(), modifier_panel_header(), nla_panel_actclip(), nla_panel_modifiers(), node_composit_buts_cryptomatte_legacy_ex(), node_composit_buts_file_output_ex(), node_shader_buts_script(), panel_draw(), parent_set_invoke_menu(), shaderfx_panel_header(), shape_panel_draw(), subdivisions_panel_draw(), ui_popup_context_menu_for_button(), uiTemplateCacheFile(), uiTemplateImage(), uiTemplateMovieClip(), uiTemplateOperatorRedoProperties(), and workspace_add_invoke().
| void uiItemPointerR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | searchptr, | ||
| const char * | searchpropname, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2793 of file interface_layout.c.
References ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, and uiItemPointerR_prop().
Referenced by draw_property_for_socket(), edbm_blend_from_shape_ui(), gpencil_modifier_masking_panel_draw(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__transChan(), layers_panel_draw(), modifier_vgroup_ui(), node_composit_buts_keyingscreen(), node_composit_buts_planetrackdeform(), node_composit_buts_trackpos(), node_shader_buts_normal_map(), node_shader_buts_tangent(), node_shader_buts_tex_pointdensity(), node_shader_buts_uvmap(), node_shader_buts_vertex_color(), panel_draw(), texture_panel_draw(), vertex_group_panel_draw(), vgroup_panel_draw(), and weightvg_ui_common().
| void uiItemPointerR_prop | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| struct PointerRNA * | searchptr, | ||
| struct PropertyRNA * | searchprop, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2735 of file interface_layout.c.
References ELEM, uiItem::flag, uiLayout::item, PROP_COLLECTION, PROP_ENUM, PROP_POINTER, PROP_STRING, ptr, RNA_property_identifier(), RNA_property_pointer_type(), RNA_property_type(), RNA_property_ui_name(), RNA_struct_identifier(), RNA_struct_ui_icon(), RNA_warning, type, PointerRNA::type, ui_block_new_button_group(), ui_but_add_search(), ui_item_name_add_colon(), UI_ITEM_PROP_SEP, ui_item_rna_size(), ui_item_with_label(), UI_MAX_NAME_STR, UI_UNIT_X, uiLayoutGetBlock(), and w().
Referenced by uiItemPointerR().
| void uiItemPopoverPanel | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| const char * | panel_type, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3069 of file interface_layout.c.
References C, NULL, RNA_warning, uiItemPopoverPanel_ptr(), and WM_paneltype_find().
| void uiItemPopoverPanel_ptr | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PanelType * | pt, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 3040 of file interface_layout.c.
References C, CTX_IFACE_, PanelType::description, PanelType::draw_header, uiBut::flag, PanelType::label, NULL, PNL_POPOVER, PanelType::poll, uiLayout::root, PanelType::translation_context, uiBut::type, uiLayoutRoot::type, Panel::type, UI_BTYPE_POPOVER, UI_BUT_DISABLED, ui_item_menu(), ui_item_paneltype_func(), UI_LAYOUT_MENU, and uiLayoutRow().
Referenced by uiItemPopoverPanel(), and uiItemPopoverPanelFromGroup().
| void uiItemPopoverPanelFromGroup | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| int | space_id, | ||
| int | region_id, | ||
| const char * | context, | ||
| const char * | category | ||
| ) |
Definition at line 3080 of file interface_layout.c.
References BKE_regiontype_from_id(), BKE_spacetype_from_id(), C, context, LISTBASE_FOREACH, NULL, ARegionType::paneltypes, RNA_warning, STREQ, and uiItemPopoverPanel_ptr().
| uiPropertySplitWrapper uiItemPropertySplitWrapperCreate | ( | uiLayout * | parent_layout | ) |
Normally, we handle the split layout in uiItemFullR(), but there are other cases where the logic is needed. Ideally, uiItemFullR() could just call this, but it currently has too many special needs.
Definition at line 3187 of file interface_layout.c.
References uiLayout::alignment, uiPropertySplitWrapper::decorate_column, uiPropertySplitWrapper::label_column, NULL, uiPropertySplitWrapper::property_row, UI_ITEM_PROP_SEP_DIVIDE, ui_item_prop_split_layout_hack(), UI_LAYOUT_ALIGN_RIGHT, uiLayoutColumn(), uiLayoutRow(), and uiLayoutSplit().
Referenced by ui_node_draw_input(), and uiItemL_respect_property_split().
| void uiItemR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | flag, | ||
| const char * | name, | ||
| int | icon | ||
| ) |
Definition at line 2401 of file interface_layout.c.
References ptr, RNA_NO_INDEX, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_item_disabled(), and uiItemFullR().
Referenced by advanced_panel_draw(), apply_armature_pose2bones_ui(), axis_mapping_panel_draw(), baking_panel_draw(), block_create_autorun_warning(), blur_panel_draw(), caps_panel_draw(), chaining_panel_draw(), clamp_panel_draw(), colorband_buttons_layout(), component_menu(), constant_offset_draw(), constant_offset_header_draw(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), custom_range_header_draw(), custom_range_panel_draw(), cycles_panel_draw(), data_panel_draw(), draw_constraint_header(), draw_fill_tile(), draw_property_for_socket(), draw_socket_list(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ed_screens_statusbar_menu_create(), ED_time_scrub_channel_search_draw(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_decimate_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), edge_data_panel_draw(), edge_panel_draw(), edge_panel_draw_header(), envelope_panel_draw(), face_corner_panel_draw(), face_corner_panel_draw_header(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), face_panel_draw(), face_panel_draw_header(), fade_header_draw(), fade_panel_draw(), falloff_panel_draw(), fmodifier_frame_range_draw(), fmodifier_frame_range_header_draw(), fmodifier_influence_draw(), fmodifier_panel_header(), fn_attribute_map_range_layout(), fn_generator_panel_draw(), fn_node_boolean_math_layout(), fn_node_input_string_layout(), fn_node_input_vector_layout(), frame_range_header_draw(), frame_range_panel_draw(), generate_panel_draw(), generator_panel_draw(), geo_node_align_rotation_to_vector_layout(), geo_node_attribute_clamp_layout(), geo_node_attribute_combine_xyz_layout(), geo_node_attribute_compare_layout(), geo_node_attribute_convert_layout(), geo_node_attribute_fill_layout(), geo_node_attribute_math_layout(), geo_node_attribute_mix_layout(), geo_node_attribute_proximity_layout(), geo_node_attribute_random_layout(), geo_node_attribute_separate_xyz_layout(), geo_node_attribute_vector_math_layout(), geo_node_boolean_layout(), geo_node_collection_info_layout(), geo_node_float_compare_layout(), geo_node_mesh_primitive_circle_layout(), geo_node_mesh_primitive_cone_layout(), geo_node_mesh_primitive_cylinder_layout(), geo_node_mesh_primitive_line_layout(), geo_node_object_info_layout(), geo_node_point_distribute_layout(), geo_node_point_instance_layout(), geo_node_point_rotate_layout(), geo_node_point_scale_layout(), geo_node_point_translate_layout(), geo_node_points_to_volume_layout(), geo_node_triangulate_layout(), geo_node_volume_to_mesh_layout(), geometry_panel_draw(), gpencil_interpolate_seq_ui(), gpencil_modifier_curve_header_draw(), gpencil_modifier_masking_panel_draw(), gpencil_modifier_panel_header(), graph_draw_driver_settings_panel(), graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_properties(), image_new_draw(), limits_panel_draw(), materials_panel_draw(), menu_add_shortcut(), menu_change_shortcut(), mix_mode_panel_draw(), modifier_panel_header(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_properties(), nla_panel_stripname(), node_buts_frame_ex(), node_buts_image_user(), node_buts_image_views(), node_buts_math(), node_buts_mix_rgb(), node_buts_normal(), node_buts_output_linestyle(), node_buts_output_shader(), node_buts_rgb(), node_buts_texture(), node_buts_time(), node_buts_value(), node_composit_buts_alphaover(), node_composit_buts_antialiasing(), node_composit_buts_bilateralblur(), node_composit_buts_blur(), node_composit_buts_bokehblur(), node_composit_buts_bokehimage(), node_composit_buts_boxmask(), node_composit_buts_brightcontrast(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_colorbalance_ex(), node_composit_buts_colorcorrection(), node_composit_buts_colorcorrection_ex(), node_composit_buts_composite(), node_composit_buts_crop(), node_composit_buts_cryptomatte(), node_composit_buts_cryptomatte_legacy(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_denoise(), node_composit_buts_despeckle(), node_composit_buts_diff_matte(), node_composit_buts_dilateerode(), node_composit_buts_distance_matte(), node_composit_buts_double_edge_mask(), node_composit_buts_ellipsemask(), node_composit_buts_file_output(), node_composit_buts_file_output_ex(), node_composit_buts_filter(), node_composit_buts_flip(), node_composit_buts_glare(), node_composit_buts_id_mask(), node_composit_buts_inpaint(), node_composit_buts_invert(), node_composit_buts_keying(), node_composit_buts_lensdist(), node_composit_buts_luma_matte(), node_composit_buts_map_range(), node_composit_buts_map_uv(), node_composit_buts_map_value(), node_composit_buts_mask(), node_composit_buts_moviedistortion(), node_composit_buts_planetrackdeform(), node_composit_buts_premulkey(), node_composit_buts_rotate(), node_composit_buts_scale(), node_composit_buts_set_alpha(), node_composit_buts_splitviewer(), node_composit_buts_stabilize2d(), node_composit_buts_sunbeams(), node_composit_buts_switch(), node_composit_buts_tonemap(), node_composit_buts_trackpos(), node_composit_buts_transform(), node_composit_buts_translate(), node_composit_buts_vecblur(), node_composit_buts_view_levels(), node_composit_buts_viewer(), node_composit_buts_viewer_ex(), node_composit_buts_viewlayers(), node_composit_buts_ycc(), node_composit_buts_zcombine(), node_geometry_add_attribute_search_button(), node_shader_buts_ambient_occlusion(), node_shader_buts_anisotropic(), node_shader_buts_attribute(), node_shader_buts_bevel(), node_shader_buts_bump(), node_shader_buts_clamp(), node_shader_buts_displacement(), node_shader_buts_glossy(), node_shader_buts_hair(), node_shader_buts_ies(), node_shader_buts_map_range(), node_shader_buts_mapping(), node_shader_buts_normal_map(), node_shader_buts_output_aov(), node_shader_buts_principled(), node_shader_buts_principled_hair(), node_shader_buts_script(), node_shader_buts_script_ex(), node_shader_buts_subsurface(), node_shader_buts_tangent(), node_shader_buts_tex_brick(), node_shader_buts_tex_coord(), node_shader_buts_tex_environment(), node_shader_buts_tex_environment_ex(), node_shader_buts_tex_gradient(), node_shader_buts_tex_image(), node_shader_buts_tex_magic(), node_shader_buts_tex_musgrave(), node_shader_buts_tex_noise(), node_shader_buts_tex_pointdensity(), node_shader_buts_tex_sky(), node_shader_buts_tex_voronoi(), node_shader_buts_tex_wave(), node_shader_buts_toon(), node_shader_buts_uvalongstroke(), node_shader_buts_uvmap(), node_shader_buts_vect_math(), node_shader_buts_vect_transform(), node_shader_buts_vector_rotate(), node_shader_buts_white_noise(), node_shader_buts_wireframe(), node_texture_buts_bricks(), node_texture_buts_output(), node_texture_buts_proc(), noise_panel_draw(), normals_panel_draw(), object_add_ui(), object_convert_ui(), object_offset_draw(), object_offset_header_draw(), occlusion_panel_draw(), offset_panel_draw(), panel_draw(), path_panel_draw(), path_panel_draw_header(), position_panel_draw(), profile_panel_draw(), random_header_draw(), random_panel_draw(), random_panel_header_draw(), relative_offset_draw(), relative_offset_header_draw(), restrictions_panel_draw(), sequencer_split_ui(), shaderfx_panel_header(), shading_panel_draw(), solver_options_panel_draw(), std_node_socket_draw(), std_node_socket_interface_draw(), stepped_panel_draw(), style_panel_draw(), symmetry_panel_draw(), symmetry_panel_header_draw(), texture_panel_draw(), tile_add_draw(), time_panel_draw(), time_remapping_panel_draw(), transform_panel_draw(), transparency_panel_draw(), transparency_panel_draw_header(), ui_gpencil_import_svg_settings(), ui_node_draw_input(), ui_popup_context_menu_for_panel(), uilist_draw_filter_default(), uiTemplateCacheFile(), uiTemplateColormanagedViewSettings(), uiTemplateColorspaceSettings(), uiTemplateImage(), uiTemplateImageFormatViews(), uiTemplateImageSettings(), uiTemplateImageStereo3d(), uiTemplateMovieClip(), uiTemplatePaintModeSelection(), uiTemplatePathBuilder(), uiTemplatePreview(), uiTemplateViewsFormat(), uv_panel_draw(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_transform_butsR(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_panel_draw_header(), vertex_vgroup_panel_draw(), vgroup_panel_draw(), view3d_panel_vgroup(), wave_header_draw(), wave_panel_draw(), weightvg_ui_common(), wm_open_mainfile_ui(), and wm_stereo3d_set_draw().
| void uiItemS | ( | uiLayout * | layout | ) |
Definition at line 3312 of file interface_layout.c.
References uiItemS_ex().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), draw_constraint_header(), draw_socket_list(), dyntopo_warning_popup(), ED_region_header_layout(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), edbm_bevel_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), fmodifier_influence_draw(), fmodifier_panel_header(), geometry_panel_draw(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_panel_header(), gpencil_shaderfx_ops_extra_draw(), graph_draw_driver_settings_panel(), graph_panel_drivers_popover(), modifier_ops_extra_draw(), modifier_panel_header(), move_to_collection_menu_create(), nla_panel_animdata(), nla_panel_properties(), node_composit_buts_dblur(), node_composit_buts_file_output_ex(), node_shader_buts_script_ex(), outliner_operator_menu(), panel_draw(), pose_groups_menu_invoke(), screen_area_options_invoke(), screen_user_menu_draw(), sequencer_split_ui(), shaderfx_panel_header(), subdivisions_panel_draw(), template_keymap_item_properties(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_slot_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_item_enum_expand_exec(), ui_node_draw_input(), ui_paneltype_draw_impl(), ui_popup_context_menu_for_button(), UI_popup_menu_begin_ex(), UI_popup_menu_reports(), uiItemsEnumR(), uiItemsFullEnumO_items(), uiTemplateColorPicker(), uiTemplateImage(), uiTemplatePreview(), workspace_add_invoke(), and workspace_add_menu().
Definition at line 3284 of file interface_layout.c.
References uiLayoutRoot::block, NULL, uiLayout::root, UI_block_can_add_separator(), ui_block_is_menu(), UI_block_layout_set_current(), UI_BTYPE_SEPR, UI_BTYPE_SEPR_LINE, UI_UNIT_X, and uiDefBut().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), uiItemS(), and wm_block_create_about().
| uiLayout* uiItemsAlertBox | ( | uiBlock * | block, |
| const int | size, | ||
| const eAlertIcon | icon | ||
| ) |
Helper to add a big icon and create a split layout for alert popups. Returns the layout to place further items into the alert box.
Definition at line 5929 of file interface_layout.c.
References uiStyle::columnspace, float(), MAX2, uiFontStyle::points, size(), UI_block_layout(), UI_LAYOUT_ALIGN_LEFT, UI_LAYOUT_PANEL, UI_LAYOUT_VERTICAL, UI_style_get_dpi(), uiDefButAlert(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetAlignment(), uiLayoutSplit(), uiStyle::widget, and uiStyle::widgetlabel.
Referenced by block_create__close_file_dialog(), and block_create_autorun_warning().
| void uiItemsEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | propname | ||
| ) |
Definition at line 1635 of file interface_layout.c.
References NULL, uiLayoutRoot::opcontext, uiLayout::root, and uiItemsFullEnumO().
Referenced by gpencil_layer_change_invoke(), insert_key_menu_invoke(), keyingset_active_menu_invoke(), menu_item_enum_opname_menu(), outliner_operator_menu(), select_orientation_invoke(), toggle_cyclic_invoke(), UI_pie_menu_invoke_from_operator_enum(), and unpack_all_invoke().
| void uiItemsEnumR | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 2582 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::buttons, uiBut::drawflag, uiBlock::evil_C, uiBlock::flag, free(), ListBase::last, MEM_freeN, PROP_ENUM, ptr, RNA_property_enum_items_gettexted(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root, blender::io::alembic::split(), PointerRNA::type, UI_BLOCK_NO_FLIP, UI_BUT_TEXT_LEFT, ui_but_tip_from_enum_item(), ui_item_disabled(), uiItemEnumR_prop(), uiItemL(), uiItemS(), uiLayoutColumn(), and uiLayoutSplit().
Referenced by menu_item_enum_rna_menu().
| void uiItemsFullEnumO | ( | uiLayout * | layout, |
| const char * | opname, | ||
| const char * | propname, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag | ||
| ) |
Definition at line 1568 of file interface_layout.c.
References BLI_assert, uiLayoutRoot::block, context, uiBlock::evil_C, free(), MEM_freeN, NULL, ot, PROP_ENUM, ptr, RNA_property_enum_items_gettexted(), RNA_property_enum_items_gettexted_all(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root, wmOperatorType::srna, PointerRNA::type, ui_item_disabled(), ui_layout_is_radial(), uiItemsFullEnumO_items(), WM_operator_properties_create_ptr(), WM_operator_properties_sanitize(), and WM_operatortype_find().
Referenced by uiItemsEnumO(), unpack_item_invoke(), and WM_menu_invoke_ex().
| void uiItemsFullEnumO_items | ( | uiLayout * | layout, |
| struct wmOperatorType * | ot, | ||
| struct PointerRNA | ptr, | ||
| struct PropertyRNA * | prop, | ||
| struct IDProperty * | properties, | ||
| int | context, | ||
| int | flag, | ||
| const struct EnumPropertyItem * | item_array, | ||
| int | totitem | ||
| ) |
Referenced by ui_pie_menu_level_invoke().
| void uiItemSpacer | ( | uiLayout * | layout | ) |
Definition at line 3318 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::direction, NULL, uiLayout::root, ui_block_is_popup_any(), UI_block_layout_set_current(), UI_BTYPE_SEPR_SPACER, UI_DIR_RIGHT, UI_UNIT_X, UI_UNIT_Y, and uiDefBut().
Referenced by buttons_panel_context_draw(), and spreadsheet_footer_region_draw().
| void uiItemStringO | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| const char * | opname, | ||
| const char * | propname, | ||
| const char * | value | ||
| ) |
Definition at line 1771 of file interface_layout.c.
References PointerRNA::data, NULL, uiLayoutRoot::opcontext, ot, ptr, RNA_string_set(), uiLayout::root, UI_OPERATOR_ERROR_RET, uiItemFullO_ptr(), WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by modifier_panel_header(), and select_grouped_collection().
| 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 | ||
| ) |
Definition at line 3497 of file interface_layout.c.
References uiLayoutRoot::block, C, NULL, ptr, uiLayout::root, UI_block_layout_set_current(), ui_item_enum_expand_tabs(), and UI_UNIT_Y.
| void uiItemV | ( | uiLayout * | layout, |
| const char * | name, | ||
| int | icon, | ||
| int | argval | ||
| ) |
Definition at line 3239 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::handle, NULL, uiPopupBlockHandle::retvalue, uiLayout::root, uiLayoutRoot::type, UI_block_layout_set_current(), UI_BTYPE_BUT, UI_LAYOUT_MENU, ui_text_icon_width(), UI_UNIT_Y, uiDefButI(), uiDefIconButI(), uiDefIconTextButI(), and w().
Definition at line 4818 of file interface_layout.c.
References uiLayoutRoot::block, uiLayout::item, ITEM_LAYOUT_ABSOLUTE, MEM_callocN, uiLayout::root, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by ui_item_array(), uiLayoutAbsoluteBlock(), and uiTemplateReportsBanner().
Definition at line 4830 of file interface_layout.c.
References uiLayoutAbsolute(), and uiLayoutGetBlock().
Referenced by image_panel_uv(), uiTemplateColorRamp(), uiTemplateHeader(), uiTemplateIcon(), uiTemplateIconView(), uiTemplateMarker(), v3d_editvertex_buts(), v3d_object_dimension_buts(), and view3d_panel_vgroup().
Definition at line 4775 of file interface_layout.c.
References UI_BTYPE_ROUNDBOX, and ui_layout_box().
Referenced by graph_draw_driver_settings_panel(), and template_keymap_item_properties().
Definition at line 4672 of file interface_layout.c.
References uiLayoutRoot::block, uiStyle::buttonspacey, uiLayout::item, ITEM_LAYOUT_COLUMN, MEM_callocN, uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by advanced_panel_draw(), axis_mapping_panel_draw(), baking_panel_draw(), block_create__close_file_dialog(), block_create_autorun_warning(), blur_panel_draw(), caps_panel_draw(), clamp_panel_draw(), component_menu(), constant_offset_draw(), curvemap_buttons_layout(), custom_range_panel_draw(), cycles_panel_draw(), data_panel_draw(), draw_fill_tile(), draw_socket_list(), ED_screens_header_tools_menu_create(), edbm_bevel_ui(), edbm_decimate_ui(), edge_data_panel_draw(), envelope_panel_draw(), fade_panel_draw(), fmodifier_frame_range_draw(), fn_generator_panel_draw(), fn_node_input_vector_layout(), frame_range_panel_draw(), generate_panel_draw(), generator_panel_draw(), geo_node_align_rotation_to_vector_layout(), geo_node_attribute_combine_xyz_layout(), geo_node_attribute_mix_layout(), geo_node_point_rotate_layout(), gpencil_interpolate_seq_ui(), gpencil_modifier_masking_panel_draw(), gpencil_modifier_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), graph_draw_driver_settings_panel(), graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_properties(), hud_panel_operator_redo_draw(), image_new_draw(), layers_panel_draw(), limits_panel_draw(), materials_panel_draw(), modifier_ops_extra_draw(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time_header(), nla_panel_properties(), node_buts_image_user(), node_buts_image_views(), node_buts_mix_rgb(), node_buts_output_linestyle(), node_buts_rgb(), node_composit_buts_alphaover(), node_composit_buts_antialiasing(), node_composit_buts_bilateralblur(), node_composit_buts_blur(), node_composit_buts_channel_matte(), node_composit_buts_chroma_matte(), node_composit_buts_color_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_crop(), node_composit_buts_cryptomatte(), node_composit_buts_cryptomatte_legacy(), node_composit_buts_dblur(), node_composit_buts_defocus(), node_composit_buts_despeckle(), node_composit_buts_diff_matte(), node_composit_buts_distance_matte(), node_composit_buts_double_edge_mask(), node_composit_buts_file_output_ex(), node_composit_buts_invert(), node_composit_buts_keyingscreen(), node_composit_buts_lensdist(), node_composit_buts_luma_matte(), node_composit_buts_map_range(), node_composit_buts_map_value(), node_composit_buts_planetrackdeform(), node_composit_buts_splitviewer(), node_composit_buts_tonemap(), node_composit_buts_trackpos(), node_composit_buts_vecblur(), node_composit_buts_viewer_ex(), node_composit_buts_viewlayers(), node_composit_buts_zcombine(), node_shader_buts_tex_brick(), node_shader_buts_tex_sky(), node_texture_buts_bricks(), node_texture_buts_proc(), noise_panel_draw(), normals_panel_draw(), object_offset_draw(), occlusion_panel_draw(), panel_draw(), path_panel_draw(), position_panel_draw(), profile_panel_draw(), relative_offset_draw(), solver_options_panel_draw(), std_node_socket_draw(), std_node_socket_interface_draw(), stepped_panel_draw(), symmetry_panel_draw(), template_add_button_search_menu(), template_operator_property_buts_draw_single(), texture_panel_draw(), tile_add_draw(), time_panel_draw(), transparency_panel_draw(), ui_def_but_rna__menu(), ui_gpencil_import_svg_settings(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_item_local_sublayout(), ui_node_draw_input(), ui_node_menu_column(), ui_paneltype_draw_impl(), ui_popup_context_menu_for_button(), ui_template_node_link_menu(), uiDefAutoButsRNA(), uiItemDecoratorR_prop(), uiItemFullR(), uiItemPropertySplitWrapperCreate(), uiItemsAlertBox(), uiItemsEnumR(), uiItemsFullEnumO_items(), uiLayoutColumnWithHeading(), uiTemplateColormanagedViewSettings(), uiTemplateColorPicker(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateImageInfo(), uiTemplateImageSettings(), uiTemplateImageStereo3d(), uiTemplateInputStatus(), uiTemplateLayers(), uiTemplateList(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateMovieclipInformation(), uiTemplatePalette(), uiTemplatePreview(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateViewsFormat(), uiTemplateWaveform(), undo_history_invoke(), uv_panel_draw(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_posearmature_buts(), v3d_transform_butsR(), vertex_group_panel_draw(), vgroup_panel_draw(), view3d_panel_transform(), view3d_panel_vgroup(), wm_block_create_about(), wm_block_create_redo(), wm_block_dialog_create(), wm_open_mainfile_ui(), and wm_stereo3d_set_draw().
Definition at line 4698 of file interface_layout.c.
References uiLayout::align, uiLayoutRoot::block, uiStyle::columnspace, uiLayout::item, ITEM_LAYOUT_COLUMN_FLOW, uiLayoutItemFlow::litem, MEM_callocN, uiLayoutItemFlow::number, uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by template_keymap_item_properties().
Variant of uiLayoutColumn() that sets a heading label for the layout if the first item is added through uiItemFullR(). If split layout is used and the item has no string to add to the first split-column, the heading is added there instead. Otherwise the heading inserted with a new row.
Definition at line 4691 of file interface_layout.c.
References ui_layout_heading_set(), and uiLayoutColumn().
Referenced by chaining_panel_draw(), edbm_bevel_ui(), nla_panel_properties(), panel_draw(), and shading_panel_draw().
| void uiLayoutContextCopy | ( | uiLayout * | layout, |
| struct bContextStore * | context | ||
| ) |
Definition at line 5632 of file interface_layout.c.
References uiLayoutRoot::block, context, uiLayout::context, uiBlock::contexts, CTX_store_add_all(), and uiLayout::root.
Referenced by ui_popover_create_block(), ui_popup_context_menu_for_button(), and ui_popup_menu_create().
| bool uiLayoutGetActivateInit | ( | uiLayout * | layout | ) |
Definition at line 4954 of file interface_layout.c.
References uiLayout::activate_init.
| bool uiLayoutGetActive | ( | uiLayout * | layout | ) |
Definition at line 4944 of file interface_layout.c.
References uiLayout::active.
| bool uiLayoutGetActiveDefault | ( | uiLayout * | layout | ) |
Definition at line 4949 of file interface_layout.c.
References uiLayout::active_default.
| int uiLayoutGetAlignment | ( | uiLayout * | layout | ) |
Definition at line 4974 of file interface_layout.c.
References uiLayout::alignment.
Referenced by uiItemL_().
Definition at line 5478 of file interface_layout.c.
References uiLayoutRoot::block, and uiLayout::root.
Referenced by curvemap_buttons_layout(), CurveProfile_buttons_layout(), draw_constraint_header(), envelope_panel_draw(), file_panel_execution_buttons_draw(), file_panel_operator(), fmodifier_panel_header(), gpencil_modifier_panel_get_property_pointers(), graph_draw_driver_settings_panel(), graph_panel_key_properties(), graph_panel_modifiers(), modifier_panel_get_property_pointers(), modifier_panel_header(), move_to_collection_menu_create(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), node_file_output_socket_draw(), node_geometry_add_attribute_search_button(), panel_draw(), shaderfx_panel_header(), template_ID(), template_ID_tabs(), template_keymap_item_properties(), template_operator_property_buts_draw_single(), template_search_buttons(), template_texture_user_menu(), ui_but_change_type(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_slot_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_layout_add_but(), ui_node_draw_input(), ui_node_menu_column(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), ui_template_node_link_menu(), uiblock_layer_pass_buttons(), uiItemL_respect_property_split(), uiItemPointerR_prop(), uiLayoutAbsoluteBlock(), uiTemplateColorPicker(), uiTemplateComponentMenu(), uiTemplateConstraintHeader(), uiTemplateCryptoPicker(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateEditModeSelection(), uiTemplateFileSelectPath(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateKeymapItemProperties(), uiTemplateLayers(), uiTemplateList(), uiTemplateMarker(), uiTemplateMenuSearch(), uiTemplateMovieClip(), uiTemplateNodeLink(), uiTemplateNodeSocket(), uiTemplateOperatorRedoProperties(), uiTemplateOperatorSearch(), uiTemplatePalette(), uiTemplatePreview(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateTextureShow(), uiTemplateTextureUser(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), view3d_panel_transform(), and wm_block_dialog_create().
| struct bContextStore* uiLayoutGetContextStore | ( | uiLayout * | layout | ) |
Definition at line 5627 of file interface_layout.c.
References uiLayout::context.
Referenced by ui_popup_context_menu_for_button(), and uiTemplateList().
| eUIEmbossType uiLayoutGetEmboss | ( | uiLayout * | layout | ) |
Definition at line 5004 of file interface_layout.c.
References uiLayoutRoot::block, uiBlock::emboss, uiLayout::emboss, uiLayout::root, and UI_EMBOSS_UNDEFINED.
| bool uiLayoutGetEnabled | ( | uiLayout * | layout | ) |
Definition at line 4959 of file interface_layout.c.
References uiLayout::enabled.
| bool uiLayoutGetFixedSize | ( | uiLayout * | layout | ) |
Definition at line 5561 of file interface_layout.c.
References uiItem::flag, uiLayout::item, and UI_ITEM_FIXED_SIZE.
| bool uiLayoutGetKeepAspect | ( | uiLayout * | layout | ) |
Definition at line 4969 of file interface_layout.c.
References uiLayout::keepaspect.
| int uiLayoutGetLocalDir | ( | const uiLayout * | layout | ) |
Definition at line 416 of file interface_layout.c.
References uiLayout::item, ITEM_LAYOUT_ABSOLUTE, ITEM_LAYOUT_BOX, ITEM_LAYOUT_COLUMN, ITEM_LAYOUT_COLUMN_FLOW, ITEM_LAYOUT_GRID_FLOW, ITEM_LAYOUT_OVERLAP, ITEM_LAYOUT_ROOT, ITEM_LAYOUT_ROW, ITEM_LAYOUT_SPLIT, uiItem::type, UI_LAYOUT_HORIZONTAL, and UI_LAYOUT_VERTICAL.
Referenced by ui_item_enum_expand_elem_exec(), ui_item_local_sublayout(), uiItemFullR(), and uiItemsFullEnumO_items().
| int uiLayoutGetOperatorContext | ( | uiLayout * | layout | ) |
Definition at line 5483 of file interface_layout.c.
References uiLayoutRoot::opcontext, and uiLayout::root.
| bool uiLayoutGetPropDecorate | ( | uiLayout * | layout | ) |
Definition at line 4934 of file interface_layout.c.
References uiItem::flag, uiLayout::item, and UI_ITEM_PROP_DECORATE.
| bool uiLayoutGetPropSep | ( | uiLayout * | layout | ) |
Definition at line 4924 of file interface_layout.c.
References uiItem::flag, uiLayout::item, and UI_ITEM_PROP_SEP.
| bool uiLayoutGetRedAlert | ( | uiLayout * | layout | ) |
Definition at line 4964 of file interface_layout.c.
References uiLayout::redalert.
Definition at line 4984 of file interface_layout.c.
References uiLayout::scale.
Definition at line 4989 of file interface_layout.c.
References uiLayout::scale.
Definition at line 4994 of file interface_layout.c.
References uiLayout::units.
Referenced by ui_block_func_POPUP().
Definition at line 4999 of file interface_layout.c.
References uiLayout::units.
| int uiLayoutGetWidth | ( | uiLayout * | layout | ) |
Definition at line 4979 of file interface_layout.c.
References uiLayout::w.
Referenced by curvemap_buttons_layout(), CurveProfile_buttons_layout(), ED_region_header_layout(), ui_popup_context_menu_for_button(), and uiTemplatePalette().
| uiLayout* uiLayoutGridFlow | ( | uiLayout * | layout, |
| bool | row_major, | ||
| int | columns_len, | ||
| bool | even_columns, | ||
| bool | even_rows, | ||
| bool | align | ||
| ) |
Definition at line 4712 of file interface_layout.c.
References uiLayout::align, uiLayoutRoot::block, uiLayoutItemGridFlow::columns_len, uiStyle::columnspace, uiLayoutItemGridFlow::even_columns, uiLayoutItemGridFlow::even_rows, uiLayout::item, ITEM_LAYOUT_GRID_FLOW, uiLayoutItemGridFlow::litem, MEM_callocN, uiLayout::root, uiLayoutItemGridFlow::row_major, uiLayout::space, uiLayoutRoot::style, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
| uiLayout* uiLayoutListBox | ( | uiLayout * | layout, |
| struct uiList * | ui_list, | ||
| struct PointerRNA * | actptr, | ||
| struct PropertyRNA * | actprop | ||
| ) |
Definition at line 4797 of file interface_layout.c.
References uiBut::custom_data, uiBut::flag, RNA_property_description(), uiBut::rnapoin, uiBut::rnaprop, uiLayoutItemBx::roundbox, uiBut::tip, UI_BTYPE_LISTBOX, UI_BUT_UNDO, and ui_layout_box().
Referenced by uiTemplateList().
Definition at line 4838 of file interface_layout.c.
References uiLayoutRoot::block, uiLayout::item, ITEM_LAYOUT_OVERLAP, MEM_callocN, uiLayout::root, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by uiTemplateList().
Definition at line 4749 of file interface_layout.c.
References uiLayoutRoot::block, uiLayout::item, ITEM_LAYOUT_RADIAL, uiLayout::items, uiLayoutRoot::layout, LISTBASE_FOREACH, MEM_callocN, uiLayout::root, uiLayoutRoot::type, uiItem::type, UI_block_layout_set_current(), ui_item_local_sublayout(), UI_LAYOUT_PIEMENU, and ui_litem_init_from_parent().
Referenced by ui_item_enum_expand_exec(), UI_pie_menu_invoke_from_operator_enum(), UI_pie_menu_invoke_from_rna_enum(), ui_pie_menu_level_invoke(), and uiItemsFullEnumO_items().
Definition at line 4649 of file interface_layout.c.
References uiLayoutRoot::block, uiStyle::buttonspacex, uiLayout::item, ITEM_LAYOUT_ROW, MEM_callocN, uiLayout::root, uiLayout::space, uiLayoutRoot::style, uiItem::type, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by advanced_panel_draw(), buttons_panel_context_draw(), clamp_panel_draw(), colorband_buttons_layout(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), data_panel_draw(), draw_constraint_header(), draw_socket_list(), ED_collection_hide_menu_draw(), ed_panel_draw(), edbm_bevel_ui(), edbm_decimate_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), envelope_panel_draw(), falloff_panel_draw(), file_panel_execution_buttons_draw(), file_panel_execution_cancel_button(), file_panel_execution_execute_button(), fmodifier_influence_draw(), fmodifier_panel_header(), generate_panel_draw(), generator_panel_draw(), geometry_panel_draw(), gpencil_interpolate_seq_ui(), gpencil_modifier_masking_panel_draw(), gpencil_modifier_panel_end(), gpencil_modifier_panel_header(), graph_draw_driven_property_panel(), graph_draw_driver_settings_panel(), graph_panel_driverVar__singleProp(), graph_panel_modifiers(), metadata_panel_draw_field(), mix_mode_panel_draw(), modifier_panel_end(), modifier_panel_header(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), node_buts_mix_rgb(), node_buts_output_linestyle(), node_buts_time(), node_composit_buts_blur(), node_composit_buts_boxmask(), node_composit_buts_channel_matte(), node_composit_buts_color_spill(), node_composit_buts_colorbalance(), node_composit_buts_colorcorrection(), node_composit_buts_colorcorrection_ex(), node_composit_buts_cryptomatte(), node_composit_buts_cryptomatte_legacy(), node_composit_buts_distance_matte(), node_composit_buts_ellipsemask(), node_composit_buts_file_output_ex(), node_composit_buts_scale(), node_composit_buts_splitviewer(), node_composit_buts_viewlayers(), node_file_output_socket_draw(), node_shader_buts_ies(), node_shader_buts_script(), node_shader_buts_tangent(), node_texture_buts_proc(), node_update_basis(), object_add_ui(), panel_draw(), profile_panel_draw(), sequencer_split_ui(), shaderfx_panel_end(), shaderfx_panel_header(), shape_panel_draw(), subdivisions_panel_draw(), template_add_button_search_menu(), template_keymap_item_properties(), template_operator_property_buts_draw_single(), template_search_buttons(), transparency_panel_draw(), ui_item_local_sublayout(), ui_item_prop_split_layout_hack(), ui_item_with_label(), ui_node_draw_input(), ui_paneltype_draw_impl(), ui_template_id(), ui_template_palette_menu(), uiblock_layer_pass_buttons(), uiItemFullR(), uiItemPopoverPanel_ptr(), uiItemPropertySplitWrapperCreate(), uiItemsAlertBox(), uiLayoutRowWithHeading(), uilist_draw_filter_default(), uiTemplateAnyID(), uiTemplateCacheFile(), uiTemplateColormanagedViewSettings(), uiTemplateColorPicker(), uiTemplateEditModeSelection(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateInputStatus(), uiTemplateLayers(), uiTemplateList(), uiTemplateMovieClip(), uiTemplatePaintModeSelection(), uiTemplatePalette(), uiTemplatePathBuilder(), uiTemplatePreview(), uiTemplateRunningJobs(), vertex_group_panel_draw(), vgroup_panel_draw(), view3d_panel_vgroup(), wm_block_create_about(), WM_window_modal_keymap_status_draw(), and workspace_add_menu().
See uiLayoutColumnWithHeading().
Definition at line 4665 of file interface_layout.c.
References ui_layout_heading_set(), and uiLayoutRow().
Referenced by advanced_panel_draw(), data_panel_draw(), edbm_decimate_ui(), fmodifier_influence_draw(), limits_panel_draw(), nla_panel_actclip(), panel_draw(), restrictions_panel_draw(), stepped_panel_draw(), and uiTemplateCacheFile().
| void uiLayoutSetActivateInit | ( | uiLayout * | layout, |
| bool | activate_init | ||
| ) |
Definition at line 4874 of file interface_layout.c.
References uiLayout::activate_init.
Referenced by uiDefAutoButsRNA().
| void uiLayoutSetActive | ( | uiLayout * | layout, |
| bool | active | ||
| ) |
Definition at line 4864 of file interface_layout.c.
References blender::compositor::active, and uiLayout::active.
Referenced by advanced_panel_draw(), clamp_panel_draw(), constant_offset_draw(), curve_header_draw(), curve_panel_draw(), custom_range_header_draw(), custom_range_panel_draw(), data_panel_draw(), ED_screens_header_tools_menu_create(), edbm_bevel_ui(), edbm_decimate_ui(), edge_panel_draw(), face_corner_panel_draw(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), face_panel_draw(), fade_panel_draw(), falloff_panel_draw(), fmodifier_frame_range_draw(), fmodifier_get_pointers(), fmodifier_influence_draw(), geometry_panel_draw(), gpencil_modifier_masking_panel_draw(), graph_panel_cursor(), limits_panel_draw(), materials_panel_draw(), modifier_panel_header(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_properties(), node_composit_buts_defocus(), node_composit_buts_file_output_ex(), node_composit_buts_lensdist(), node_composit_buts_map_value(), node_texture_buts_proc(), node_update_basis(), object_add_ui(), object_offset_draw(), offset_panel_draw(), panel_draw(), path_panel_draw(), profile_panel_draw(), random_panel_draw(), relative_offset_draw(), shaderfx_panel_header(), shading_panel_draw(), stepped_panel_draw(), symmetry_panel_draw(), template_keymap_item_properties(), transparency_panel_draw(), uiTemplateCacheFile(), uiTemplateImage(), uiTemplateMarker(), uiTemplateRunningJobs(), v3d_transform_butsR(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_vgroup_panel_draw(), wave_panel_draw(), and wm_open_mainfile_ui().
| void uiLayoutSetActiveDefault | ( | uiLayout * | layout, |
| bool | active_default | ||
| ) |
Definition at line 4869 of file interface_layout.c.
References uiLayout::active_default.
Referenced by file_panel_execution_execute_button().
| void uiLayoutSetAlignment | ( | uiLayout * | layout, |
| char | alignment | ||
| ) |
Definition at line 4894 of file interface_layout.c.
References uiLayout::alignment.
Referenced by buttons_panel_context_draw(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), fmodifier_panel_header(), gpencil_modifier_panel_header(), graph_draw_driven_property_panel(), graph_draw_driver_settings_panel(), modifier_panel_header(), nla_panel_animdata(), node_update_basis(), spreadsheet_footer_region_draw(), ui_layout_heading_label_add(), ui_node_draw_input(), uiItemsAlertBox(), uiTemplateAnyID(), uiTemplateImageInfo(), uiTemplateInputStatus(), uiTemplateMovieclipInformation(), and wm_block_create_about().
Definition at line 5638 of file interface_layout.c.
References PointerRNA::data, NULL, uiBut::opptr, RNA_pointer_create(), RNA_Property, uiBut::rnapoin, uiBut::rnaprop, and uiLayoutSetContextPointer().
Referenced by graph_panel_drivers_popover(), ui_item_menu_hold(), and ui_popup_context_menu_for_button().
| void uiLayoutSetContextPointer | ( | uiLayout * | layout, |
| const char * | name, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 5621 of file interface_layout.c.
References uiLayoutRoot::block, uiLayout::context, uiBlock::contexts, CTX_store_add(), ptr, and uiLayout::root.
Referenced by colorband_tools_func(), draw_constraint_header(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_panel_get_property_pointers(), gpencil_modifier_panel_header(), gpencil_shaderfx_ops_extra_draw(), graph_panel_drivers_popover(), modifier_ops_extra_draw(), modifier_panel_get_property_pointers(), modifier_panel_header(), node_composit_buts_cryptomatte(), node_composit_buts_image(), node_composit_buts_image_ex(), node_shader_buts_tex_environment(), node_shader_buts_tex_image(), node_update_basis(), shaderfx_panel_get_property_pointers(), template_ID(), uiLayoutSetContextFromBut(), uiTemplateCacheFile(), uiTemplateImage(), and uiTemplateMovieClip().
| void uiLayoutSetEmboss | ( | uiLayout * | layout, |
| eUIEmbossType | emboss | ||
| ) |
Definition at line 4919 of file interface_layout.c.
References uiLayout::emboss.
Referenced by buttons_panel_context_draw(), draw_constraint_header(), fmodifier_panel_header(), gpencil_modifier_panel_header(), modifier_panel_header(), shaderfx_panel_header(), and v3d_transform_butsR().
| void uiLayoutSetEnabled | ( | uiLayout * | layout, |
| bool | enabled | ||
| ) |
Definition at line 4879 of file interface_layout.c.
References enabled, and uiLayout::enabled.
Referenced by baking_panel_draw(), chaining_panel_draw(), gpencil_modifier_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), graph_panel_properties(), hud_panel_operator_redo_draw(), modifier_ops_extra_draw(), nla_panel_animated_strip_time(), nla_panel_evaluation(), node_buts_image_user(), occlusion_panel_draw(), panel_draw(), shape_panel_draw(), style_panel_draw(), subdivisions_panel_draw(), transparency_panel_draw(), transparency_panel_draw_header(), ui_popup_context_menu_for_button(), uiTemplateImage(), vgroup_panel_draw(), view3d_panel_vgroup(), wm_block_create_redo(), and wm_open_mainfile_ui().
| void uiLayoutSetFixedSize | ( | uiLayout * | layout, |
| bool | fixed_size | ||
| ) |
Definition at line 5551 of file interface_layout.c.
References uiItem::flag, uiLayout::item, and UI_ITEM_FIXED_SIZE.
Referenced by file_panel_execution_cancel_button(), and file_panel_execution_execute_button().
| void uiLayoutSetFunc | ( | uiLayout * | layout, |
| uiMenuHandleFunc | handlefunc, | ||
| void * | argv | ||
| ) |
Definition at line 5571 of file interface_layout.c.
References uiLayoutRoot::argv, uiLayoutRoot::handlefunc, and uiLayout::root.
| void uiLayoutSetKeepAspect | ( | uiLayout * | layout, |
| bool | keepaspect | ||
| ) |
Definition at line 4889 of file interface_layout.c.
References uiLayout::keepaspect.
Referenced by uiTemplatePreview().
| void uiLayoutSetOperatorContext | ( | uiLayout * | layout, |
| int | opcontext | ||
| ) |
Definition at line 5566 of file interface_layout.c.
References uiLayoutRoot::opcontext, and uiLayout::root.
Referenced by draw_constraint_header(), ED_collection_hide_menu_draw(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ED_screens_navigation_bar_tools_menu_create(), file_panel_execution_buttons_draw(), gpencil_modifier_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), menu_item_enum_opname_menu(), menu_item_enum_rna_menu(), menu_items_from_ui_create(), modifier_ops_extra_draw(), move_to_collection_invoke(), node_group_separate_invoke(), outliner_operator_menu(), poselib_add_menu_invoke(), poselib_add_menu_invoke__replacemenu(), recent_files_menu_draw(), ui_popover_create_block(), ui_popup_context_menu_for_button(), UI_popup_menu_begin_ex(), ui_popup_menu_create(), unpack_all_invoke(), unpack_item_invoke(), uv_mark_seam_invoke(), and WM_menu_invoke_ex().
| void uiLayoutSetPropDecorate | ( | uiLayout * | layout, |
| bool | is_sep | ||
| ) |
Definition at line 4939 of file interface_layout.c.
References uiItem::flag, uiLayout::item, SET_FLAG_FROM_TEST, and UI_ITEM_PROP_DECORATE.
Referenced by cycles_panel_draw(), data_panel_draw(), draw_fill_tile(), draw_socket_list(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), envelope_panel_draw(), fmodifier_frame_range_draw(), fn_generator_panel_draw(), generator_panel_draw(), geo_node_align_rotation_to_vector_layout(), geo_node_attribute_combine_xyz_layout(), geo_node_attribute_compare_layout(), geo_node_attribute_fill_layout(), geo_node_attribute_math_layout(), geo_node_attribute_mix_layout(), geo_node_attribute_separate_xyz_layout(), geo_node_attribute_vector_math_layout(), geo_node_mesh_primitive_circle_layout(), geo_node_mesh_primitive_cone_layout(), geo_node_mesh_primitive_cylinder_layout(), geo_node_mesh_primitive_line_layout(), geo_node_point_rotate_layout(), geo_node_point_scale_layout(), geo_node_point_translate_layout(), geo_node_points_to_volume_layout(), geo_node_volume_to_mesh_layout(), gpencil_interpolate_seq_ui(), gpencil_modifier_masking_panel_draw(), graph_panel_cursor(), graph_panel_key_properties(), graph_panel_properties(), image_new_draw(), limits_panel_draw(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_properties(), noise_panel_draw(), panel_draw(), profile_panel_draw(), screenshot_draw(), sequencer_split_ui(), stepped_panel_draw(), template_operator_property_buts_draw_single(), tile_add_draw(), transparency_panel_draw(), ui_gpencil_import_svg_settings(), ui_node_draw_input(), uiTemplateCacheFile(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateViewsFormat(), and wm_stereo3d_set_draw().
| void uiLayoutSetPropSep | ( | uiLayout * | layout, |
| bool | is_sep | ||
| ) |
Definition at line 4929 of file interface_layout.c.
References uiItem::flag, uiLayout::item, SET_FLAG_FROM_TEST, and UI_ITEM_PROP_SEP.
Referenced by advanced_panel_draw(), axis_mapping_panel_draw(), baking_panel_draw(), blur_panel_draw(), caps_panel_draw(), chaining_panel_draw(), clamp_panel_draw(), constant_offset_draw(), CurveProfile_buttons_layout(), custom_range_panel_draw(), cycles_panel_draw(), data_panel_draw(), draw_fill_tile(), draw_socket_list(), edbm_average_normals_ui(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_decimate_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), edbm_point_normals_ui(), edge_data_panel_draw(), edge_panel_draw(), envelope_panel_draw(), face_corner_panel_draw(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), face_panel_draw(), fade_panel_draw(), falloff_panel_draw(), fmodifier_frame_range_draw(), fn_generator_panel_draw(), frame_range_panel_draw(), generate_panel_draw(), generator_panel_draw(), geo_node_align_rotation_to_vector_layout(), geo_node_attribute_combine_xyz_layout(), geo_node_attribute_compare_layout(), geo_node_attribute_fill_layout(), geo_node_attribute_math_layout(), geo_node_attribute_mix_layout(), geo_node_attribute_separate_xyz_layout(), geo_node_attribute_vector_math_layout(), geo_node_mesh_primitive_circle_layout(), geo_node_mesh_primitive_cone_layout(), geo_node_mesh_primitive_cylinder_layout(), geo_node_mesh_primitive_line_layout(), geo_node_point_rotate_layout(), geo_node_point_scale_layout(), geo_node_point_translate_layout(), geo_node_points_to_volume_layout(), geo_node_volume_to_mesh_layout(), geometry_panel_draw(), gpencil_interpolate_seq_ui(), gpencil_modifier_masking_panel_draw(), graph_panel_cursor(), graph_panel_key_properties(), graph_panel_properties(), image_new_draw(), layers_panel_draw(), limits_panel_draw(), materials_panel_draw(), mix_mode_panel_draw(), nla_panel_actclip(), nla_panel_animated_strip_time(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_properties(), noise_panel_draw(), normals_panel_draw(), object_add_ui(), object_convert_ui(), object_offset_draw(), occlusion_panel_draw(), offset_panel_draw(), panel_draw(), path_panel_draw(), position_panel_draw(), profile_panel_draw(), random_panel_draw(), relative_offset_draw(), restrictions_panel_draw(), screenshot_draw(), sequencer_split_ui(), shading_panel_draw(), solver_options_panel_draw(), stepped_panel_draw(), style_panel_draw(), symmetry_panel_draw(), template_operator_property_buts_draw_single(), texture_panel_draw(), tile_add_draw(), time_panel_draw(), time_remapping_panel_draw(), transform_panel_draw(), transparency_panel_draw(), ui_gpencil_import_svg_settings(), ui_item_prop_split_layout_hack(), ui_node_draw_node(), uiDefAutoButsRNA(), uiTemplateCacheFile(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateViewsFormat(), uv_panel_draw(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_vgroup_panel_draw(), vgroup_panel_draw(), wave_panel_draw(), weightvg_ui_common(), and wm_stereo3d_set_draw().
| void uiLayoutSetRedAlert | ( | uiLayout * | layout, |
| bool | redalert | ||
| ) |
Definition at line 4884 of file interface_layout.c.
References uiLayout::redalert.
Referenced by axis_mapping_panel_draw(), draw_constraint_header(), gpencil_modifier_masking_panel_draw(), gpencil_modifier_panel_header(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), modifier_panel_header(), panel_draw(), and shaderfx_panel_header().
Definition at line 4899 of file interface_layout.c.
References uiLayout::scale.
Referenced by file_panel_execution_cancel_button(), file_panel_execution_execute_button(), and uiTemplatePreview().
Definition at line 4904 of file interface_layout.c.
References uiLayout::scale.
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), and file_panel_execution_buttons_draw().
Definition at line 4909 of file interface_layout.c.
References uiLayout::units.
Referenced by gpencil_modifier_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), and modifier_ops_extra_draw().
Definition at line 4914 of file interface_layout.c.
References uiLayout::units.
Definition at line 4850 of file interface_layout.c.
References uiLayoutRoot::block, uiStyle::columnspace, ITEM_LAYOUT_SPLIT, MEM_callocN, uiLayout::root, blender::io::alembic::split(), uiLayoutRoot::style, UI_block_layout_set_current(), and ui_litem_init_from_parent().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), colorband_buttons_layout(), curvemap_buttons_layout(), generator_panel_draw(), graph_panel_key_properties(), node_buts_image_user(), node_composit_buts_colorbalance(), node_shader_buts_tangent(), node_sockets_panel(), std_node_socket_draw(), ui_def_but_rna__menu(), ui_template_node_link_menu(), uiItemFullR(), uiItemPropertySplitWrapperCreate(), uiItemsAlertBox(), uiItemsEnumR(), uiItemsFullEnumO_items(), uiTemplateAnyID(), uiTemplateMovieClip(), undo_history_invoke(), v3d_transform_butsR(), and view3d_panel_vgroup().
| void uiTemplateAnyID | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | proptypename, | ||
| const char * | text | ||
| ) |
This is for selecting the type of ID-block to use, and then from the relevant type choosing the block to use.
| propname | property identifier for property that ID-pointer gets stored to. |
| proptypename | property identifier for property used to determine the type of ID-pointer that can be used. |
Definition at line 1584 of file interface_templates.c.
References IFACE_, PROP_ENUM, PROP_POINTER, ptr, RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, blender::io::alembic::split(), PointerRNA::type, UI_ITEM_R_ICON_ONLY, UI_LAYOUT_ALIGN_EXPAND, UI_LAYOUT_ALIGN_LEFT, uiItemFullR(), uiItemL(), uiLayoutRow(), uiLayoutSetAlignment(), and uiLayoutSplit().
Referenced by graph_panel_driverVar__singleProp().
| void uiTemplateCacheFile | ( | uiLayout * | layout, |
| const struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Referenced by panel_draw().
| void uiTemplateColormanagedViewSettings | ( | struct uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Referenced by uiTemplateImageSettings().
| void uiTemplateColorPicker | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| bool | value_slider, | ||
| bool | lock, | ||
| bool | lock_luminosity, | ||
| bool | cubic | ||
| ) |
Definition at line 5191 of file interface_templates.c.
References uiBut::a2, uiButHSVCube::but, col, uiBut::custom_data, uiButHSVCube::gradient_type, len_v3(), ColorPicker::luminosity_lock_value, NULL, ptr, RNA_property_float_get_array(), RNA_property_float_ui_range(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, ui_block_colorpicker_create(), UI_BTYPE_HSVCIRCLE, UI_BTYPE_HSVCUBE, UI_DPI_FAC, UI_GRAD_HS, UI_GRAD_HV, UI_GRAD_L_ALT, UI_GRAD_SV, UI_GRAD_V_ALT, uiDefButR_prop(), uiItemS(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), ColorPicker::use_color_cubic, ColorPicker::use_color_lock, ColorPicker::use_luminosity_lock, USER_CP_CIRCLE_HSL, USER_CP_CIRCLE_HSV, USER_CP_SQUARE_HS, USER_CP_SQUARE_HV, USER_CP_SQUARE_SV, and WHEEL_SIZE.
Referenced by node_buts_rgb(), node_composit_buts_colorbalance(), and node_composit_buts_colorbalance_ex().
| void uiTemplateColorRamp | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| bool | expand | ||
| ) |
Definition at line 3418 of file interface_templates.c.
References colorband_buttons_layout(), PointerRNA::data, ERROR_LIBDATA_MESSAGE, ID_IS_LINKED, MEM_callocN, MEM_freeN, PointerRNA::owner_id, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, ptr, RNA_ColorRamp, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, UI_block_lock_clear(), UI_block_lock_set(), UI_UNIT_X, uiLayoutAbsoluteBlock(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by geo_node_attribute_color_ramp_layout(), node_buts_colorramp(), and panel_draw().
| void uiTemplateColorspaceSettings | ( | struct uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 7094 of file interface_templates.c.
References IFACE_, ptr, RNA_property_pointer_get(), RNA_struct_find_property(), RNA_struct_identifier(), PointerRNA::type, and uiItemR().
Referenced by node_composit_buts_movieclip_ex(), uiTemplateImage(), and uiTemplateMovieClip().
| void uiTemplateComponentMenu | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | name | ||
| ) |
Definition at line 7180 of file interface_templates.c.
References BLI_strncpy(), component_menu(), MEM_callocN, ComponentMenuArgs::propname, ComponentMenuArgs::ptr, ptr, RNA_struct_find_property(), uiBut::rnaindex, uiBut::rnapoin, uiBut::rnaprop, UI_block_align_begin(), UI_block_align_end(), UI_UNIT_X, UI_UNIT_Y, uiDefBlockButN(), and uiLayoutGetBlock().
Referenced by std_node_socket_draw().
| void uiTemplateConstraintHeader | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 2725 of file interface_templates.c.
References PointerRNA::data, draw_constraint_header(), ERROR_LIBDATA_MESSAGE, GS, Object::id, ID_IS_LINKED, ID_OB, if(), ID::name, PointerRNA::owner_id, ptr, RNA_Constraint, RNA_struct_is_a(), RNA_warning, PointerRNA::type, UI_block_lock_set(), and uiLayoutGetBlock().
| void uiTemplateCryptoPicker | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | icon | ||
| ) |
Definition at line 5525 of file interface_templates.c.
References ptr, RNA_property_ui_description(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiBut::rnaindex, uiBut::rnapoin, uiBut::rnaprop, PointerRNA::type, UI_BTYPE_BUT, UI_UNIT_X, UI_UNIT_Y, uiDefIconTextButO(), uiLayoutGetBlock(), and WM_OP_INVOKE_DEFAULT.
Referenced by node_composit_buts_cryptomatte(), and node_composit_buts_cryptomatte_legacy().
| void uiTemplateCurveMapping | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | type, | ||
| bool | levels, | ||
| bool | brush, | ||
| bool | neg_slope, | ||
| bool | tone | ||
| ) |
Definition at line 4540 of file interface_templates.c.
References curvemap_buttons_layout(), PointerRNA::data, ERROR_LIBDATA_MESSAGE, ID_IS_LINKED, MEM_callocN, MEM_freeN, PointerRNA::owner_id, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, ptr, RNA_CurveMapping, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_is_a(), RNA_warning, type, PointerRNA::type, UI_block_lock_clear(), UI_block_lock_set(), and uiLayoutGetBlock().
Referenced by falloff_panel_draw(), gpencil_interpolate_seq_ui(), gpencil_modifier_curve_panel_draw(), node_buts_curvecol(), node_buts_curvevec(), node_buts_time(), node_composit_buts_huecorrect(), and uiTemplateColormanagedViewSettings().
| void uiTemplateCurveProfile | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Template for a path creation widget intended for custom bevel profiles. This section is quite similar to uiTemplateCurveMapping, but with reduced complexity.
Definition at line 5144 of file interface_templates.c.
References CurveProfile_buttons_layout(), PointerRNA::data, ERROR_LIBDATA_MESSAGE, ID_IS_LINKED, MEM_callocN, MEM_freeN, PointerRNA::owner_id, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, ptr, RNA_CurveProfile, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_is_a(), RNA_warning, PointerRNA::type, UI_block_lock_clear(), UI_block_lock_set(), and uiLayoutGetBlock().
Referenced by edbm_bevel_ui(), and profile_panel_draw().
Definition at line 129 of file view3d_header.c.
References B_SEL_EDGE, B_SEL_FACE, B_SEL_VERT, BKE_editmesh_from_object(), C, ceilf, CTX_data_edit_object(), do_view3d_header_buttons(), NULL, OB_MESH, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, BMEditMesh::selectmode, TIP_, Object::type, UI_block_func_handle_set(), UI_BTYPE_TOGGLE, UI_but_flag_disable(), UI_BUT_UNDO, UI_UNIT_X, UI_UNIT_Y, uiDefIconButBitS(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by uiTemplateHeader3D_mode().
| bool uiTemplateEventFromKeymapItem | ( | struct uiLayout * | layout, |
| const char * | text, | ||
| const struct wmKeyMapItem * | kmi, | ||
| bool | text_fallback | ||
| ) |
Definition at line 7059 of file interface_templates.c.
References ARRAY_SIZE, wmKeyMapItem::type, UI_icon_from_keymap_item(), uiItemL(), and WM_key_event_string().
Referenced by WM_window_modal_keymap_status_draw().
| void uiTemplateFileSelectPath | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct FileSelectParams * | params | ||
| ) |
Definition at line 7358 of file interface_templates.c.
References C, CTX_wm_screen(), CTX_wm_space_file(), ED_file_path_button(), params, and uiLayoutGetBlock().
| void uiTemplateGpencilColorPreview | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| int | rows, | ||
| int | cols, | ||
| float | scale, | ||
| int | filter | ||
| ) |
Definition at line 1512 of file interface_templates.c.
References C, filter(), NULL, ptr, UI_ID_BROWSE, UI_ID_DELETE, UI_ID_PREVIEWS, and ui_template_id().
| uiLayout* uiTemplateGpencilModifier | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 116 of file interface_templates.c.
References C, ED_area_header_switchbutton(), and uiLayoutAbsoluteBlock().
Definition at line 220 of file view3d_header.c.
References C, CTX_data_edit_object(), CTX_data_gpencil_data(), CTX_data_view_layer(), ELEM, bGPdata::flag, GP_DATA_STROKE_EDITMODE, Object::mode, NULL, OB_MODE_SCULPT, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, OBACT, uiTemplateEditModeSelection(), and uiTemplatePaintModeSelection().
| void uiTemplateHistogram | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 3646 of file interface_templates.c.
References col, PointerRNA::data, Histogram::height, if(), PROP_POINTER, ptr, RNA_Histogram, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, UI_BTYPE_GRIP, UI_BTYPE_HISTOGRAM, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconButI(), uiLayoutColumn(), and uiLayoutGetBlock().
| icon_scale | Scale of the icon, 1x == button height. |
Definition at line 3462 of file interface_templates.c.
References NULL, UI_BTYPE_LABEL, UI_BUT_ICON_PREVIEW, ui_def_but_icon(), UI_HAS_ICON, UI_UNIT_X, UI_UNIT_Y, uiDefIconBut(), and uiLayoutAbsoluteBlock().
| void uiTemplateIconView | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| bool | show_labels, | ||
| float | icon_scale, | ||
| float | icon_scale_popup | ||
| ) |
| icon_scale | Scale of the icon, 1x == button height. |
Definition at line 3573 of file interface_templates.c.
References uiBlock::evil_C, IconViewMenuArgs::icon_scale, MEM_callocN, MEM_freeN, NULL, IconViewMenuArgs::prop, PROP_ENUM, IconViewMenuArgs::ptr, ptr, RNA_enum_icon_from_value(), RNA_property_editable(), RNA_property_enum_get(), RNA_property_enum_items(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, IconViewMenuArgs::show_labels, PointerRNA::type, UI_BTYPE_LABEL, UI_BUT_ICON_PREVIEW, ui_def_but_icon(), UI_HAS_ICON, ui_icon_view_menu_cb(), UI_UNIT_X, UI_UNIT_Y, uiDefBlockButN(), uiDefIconBut(), and uiLayoutAbsoluteBlock().
| 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, | ||
| const bool | live_icon, | ||
| const char * | text | ||
| ) |
Referenced by geo_node_attribute_sample_texture_layout(), nla_panel_animdata(), node_composit_buts_cryptomatte(), node_composit_buts_defocus(), node_composit_buts_image(), node_composit_buts_keyingscreen(), node_composit_buts_mask(), node_composit_buts_movieclip(), node_composit_buts_movieclip_ex(), node_composit_buts_moviedistortion(), node_composit_buts_planetrackdeform(), node_composit_buts_stabilize2d(), node_composit_buts_trackpos(), node_composit_buts_viewlayers(), node_shader_buts_tex_environment(), node_shader_buts_tex_image(), node_texture_buts_image(), panel_draw(), texture_panel_draw(), uiTemplateImage(), uiTemplateMovieClip(), and weightvg_ui_common().
| 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 | ||
| ) |
Definition at line 1452 of file interface_templates.c.
References C, filter(), NULL, ptr, UI_ID_BROWSE, UI_ID_RENAME, and ui_template_id().
Referenced by node_draw_buttons_group().
| 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, | ||
| const bool | hide_buttons | ||
| ) |
Definition at line 1481 of file interface_templates.c.
References C, filter(), NULL, ptr, UI_ID_BROWSE, UI_ID_DELETE, UI_ID_PREVIEWS, UI_ID_RENAME, and ui_template_id().
| void uiTemplateIDTabs | ( | uiLayout * | layout, |
| bContext * | C, | ||
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| const char * | newop, | ||
| const char * | menu, | ||
| int | filter | ||
| ) |
Version of uiTemplateID using tabs.
Definition at line 1543 of file interface_templates.c.
References C, filter(), NULL, ptr, UI_ID_BROWSE, UI_ID_RENAME, and ui_template_id().
| void uiTemplateImage | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | userptr, | ||
| bool | compact, | ||
| bool | multiview | ||
| ) |
Definition at line 758 of file image_buttons.c.
References BKE_image_acquire_ibuf(), BKE_image_acquire_renderresult(), BKE_image_has_filepath(), BKE_image_has_packedfile(), BKE_image_is_animated(), BKE_image_is_dirty(), BKE_image_release_ibuf(), BKE_image_release_renderresult(), BKE_image_user_frame_calc(), C, RenderData::cfra, col, Image::colorspace_settings, CTX_data_scene(), CTX_wm_space_image(), PointerRNA::data, ImBuf::flags, Image::gen_type, IB_halffloat, IFACE_, IMA_GENTYPE_BLANK, IMA_SRC_GENERATED, IMA_SRC_MOVIE, IMA_SRC_VIEWER, IMA_TYPE_COMPOSITE, IMA_TYPE_MULTILAYER, IMA_TYPE_R_RESULT, image_has_alpha(), IMB_colormanagement_space_name_is_data(), RNAUpdateCb::iuser, SpaceImage::iuser, MEM_callocN, ColorManagedColorspaceSettings::name, NULL, RNAUpdateCb::prop, PROP_POINTER, RNAUpdateCb::ptr, ptr, Scene::r, R_MULTIVIEW, ImBuf::rect_float, Image::render_slot, RNA_boolean_get(), RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), rna_update_cb(), Image::rr, RenderData::scemode, scene, Image::source, Image::type, PointerRNA::type, UI_block_funcN_set(), UI_DPI_FAC, UI_ITEM_R_EXPAND, UI_TEMPLATE_ID_FILTER_ALL, uiblock_layer_pass_buttons(), uiItemO(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetContextPointer(), uiLayoutSetEnabled(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), uiTemplateColorspaceSettings(), uiTemplateID(), uiTemplateImageInfo(), and uiTemplateImageViews().
Referenced by node_composit_buts_image_ex(), node_shader_buts_tex_environment_ex(), node_shader_buts_tex_image_ex(), and node_texture_buts_image_ex().
| void uiTemplateImageFormatViews | ( | uiLayout * | layout, |
| struct PointerRNA * | imfptr, | ||
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 1156 of file image_buttons.c.
References PointerRNA::data, ImageFormatData::imtype, NULL, ptr, R_IMF_IMTYPE_MULTILAYER, RNA_boolean_get(), RNA_property_pointer_get(), RNA_struct_find_property(), uiItemR(), and uiTemplateViewsFormat().
Referenced by image_open_draw(), image_save_as_draw(), node_composit_buts_file_output_ex(), and sequencer_add_draw().
| void uiTemplateImageInfo | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct Image * | ima, | ||
| struct ImageUser * | iuser | ||
| ) |
Definition at line 1200 of file image_buttons.c.
References Image::anims, BKE_image_acquire_ibuf(), BKE_image_has_anim(), BKE_image_release_ibuf(), BKE_image_user_frame_get(), BLI_path_slash_rfind(), BLI_snprintf(), BLI_strncpy_rlen(), C, CFRA, ImBuf::channels, col, CTX_data_scene(), ELEM, ListBase::first, IMA_SRC_MOVIE, IMA_SRC_SEQUENCE, IMB_anim_get_duration(), IMB_TC_RECORD_RUN, len, MAX_IMAGE_INFO_LEN, ImBuf::name, NULL, ImBuf::planes, R_IMF_PLANES_RGBA, ImBuf::rect_float, scene, Image::source, str, TIP_, UI_LAYOUT_ALIGN_RIGHT, uiItemL(), uiLayoutColumn(), uiLayoutSetAlignment(), ImBuf::x, ImBuf::y, ImBuf::zbuf, and ImBuf::zbuf_float.
Referenced by uiTemplateImage().
| void uiTemplateImageLayers | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct Image * | ima, | ||
| struct ImageUser * | iuser | ||
| ) |
Definition at line 1181 of file image_buttons.c.
References BKE_image_acquire_renderresult(), BKE_image_release_renderresult(), C, CTX_data_scene(), IMA_TYPE_R_RESULT, NULL, Image::render_slot, scene, Image::type, UI_DPI_FAC, and uiblock_layer_pass_buttons().
| void uiTemplateImageSettings | ( | uiLayout * | layout, |
| struct PointerRNA * | imfptr, | ||
| bool | color_management | ||
| ) |
Definition at line 993 of file image_buttons.c.
References BKE_imtype_requires_linear_float(), BKE_imtype_supports_compress(), BKE_imtype_supports_quality(), BKE_imtype_supports_zbuf(), BKE_imtype_valid_depths(), col, PointerRNA::data, ELEM, ImageFormatData::flag, GS, id, ID_SCE, IFACE_, ImageFormatData::imtype, ID::name, NULL, PointerRNA::owner_id, R_IMF_CHAN_DEPTH_1, R_IMF_CHAN_DEPTH_10, R_IMF_CHAN_DEPTH_12, R_IMF_CHAN_DEPTH_16, R_IMF_CHAN_DEPTH_24, R_IMF_CHAN_DEPTH_32, R_IMF_CHAN_DEPTH_8, R_IMF_FLAG_PREVIEW_JPG, R_IMF_IMTYPE_CINEON, R_IMF_IMTYPE_DPX, R_IMF_IMTYPE_JP2, R_IMF_IMTYPE_MULTILAYER, R_IMF_IMTYPE_OPENEXR, R_IMF_IMTYPE_TIFF, RNA_property_pointer_get(), RNA_struct_find_property(), UI_ITEM_R_EXPAND, uiItemL(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateColormanagedViewSettings().
Referenced by image_save_as_draw(), node_composit_buts_file_output_ex(), and screenshot_draw().
| void uiTemplateImageStereo3d | ( | uiLayout * | layout, |
| struct PointerRNA * | stereo3d_format_ptr | ||
| ) |
Definition at line 1091 of file image_buttons.c.
References ATTR_FALLTHROUGH, col, PointerRNA::data, Stereo3dFormat::display_mode, NULL, S3D_DISPLAY_ANAGLYPH, S3D_DISPLAY_INTERLACE, S3D_DISPLAY_SIDEBYSIDE, S3D_DISPLAY_TOPBOTTOM, uiItemR(), and uiLayoutColumn().
Referenced by uiTemplateViewsFormat().
| void uiTemplateImageViews | ( | uiLayout * | layout, |
| struct PointerRNA * | imaptr | ||
| ) |
Definition at line 1138 of file image_buttons.c.
References PointerRNA::data, IMA_TYPE_MULTILAYER, NULL, RNA_property_pointer_get(), RNA_struct_find_property(), Image::type, and uiTemplateViewsFormat().
Referenced by uiTemplateImage().
Definition at line 6923 of file interface_templates.c.
References C, col, CTX_wm_window(), CTX_wm_workspace(), NULL, WorkSpace::status_text, UI_LAYOUT_ALIGN_LEFT, uiItemL(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetAlignment(), WM_window_cursor_keymap_status_get(), and WM_window_modal_keymap_status_draw().
| void uiTemplateKeymapItemProperties | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr | ||
| ) |
Definition at line 7028 of file interface_templates.c.
References uiBlock::buttons, PointerRNA::data, keymap_item_modified(), ListBase::last, uiBut::next, NULL, ptr, RNA_pointer_get(), uiBut::rnaprop, template_keymap_item_properties(), UI_but_flag_enable(), UI_but_func_set(), UI_BUT_UPDATE_DELAY, uiLayoutGetBlock(), and WM_operator_properties_sanitize().
| void uiTemplateLayers | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| PointerRNA * | used_ptr, | ||
| const char * | used_propname, | ||
| int | active_layer | ||
| ) |
Definition at line 5585 of file interface_templates.c.
References col, handle_layer_buttons(), NULL, POINTER_FROM_INT, ptr, RNA_property_array_length(), RNA_property_boolean_get_index(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiBut::type, PointerRNA::type, UI_BTYPE_TOGGLE, UI_but_func_set(), UI_UNIT_X, UI_UNIT_Y, uiDefAutoButR(), uiLayoutColumn(), uiLayoutGetBlock(), and uiLayoutRow().
| 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, | ||
| bool | sort_reverse, | ||
| bool | sort_lock | ||
| ) |
Definition at line 5954 of file interface_templates.c.
References BLI_addtail(), BLI_findstring(), BLI_snprintf(), BLI_strncpy(), C, col, uiBut::context, CTX_wm_menu(), CTX_wm_region(), PointerRNA::data, uiListType::draw_filter, uiListType::draw_item, uiList::dyn_data, uiListLayoutdata::end_idx, uiList::filter_flag, uiListType::filter_items, uiList::filter_sort_flag, uiList::flag, _uilist_item::flt_flag, uiListDyn::height, uiListType::idname, _uilist_item::item, uiListDyn::items_filter_flags, uiListDyn::items_filter_neworder, uiListDyn::items_len, uiListDyn::items_shown, uiList::layout_type, len, uiList::list_grip, uiList::list_id, uiList::list_last_activei, uiList::list_scroll, MEM_callocN, MEM_freeN, MEM_mallocN, MEM_SAFE_FREE, NULL, _uilist_item::org_idx, PROP_COLLECTION, PROP_INT, uiListDyn::resize, uiListDyn::resize_prev, RNA_PROP_BEGIN, RNA_PROP_END, RNA_property_collection_length(), RNA_property_int_get(), RNA_property_int_set(), RNA_property_pointer_type(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_struct_ui_icon(), RNA_warning, uiListLayoutdata::start_idx, STREQ, TIP_, type, uiList::type, PointerRNA::type, UI_block_emboss_set(), UI_block_flag_disable(), UI_block_flag_enable(), UI_BLOCK_LIST_ITEM, UI_BTYPE_GRIP, UI_BTYPE_LISTROW, UI_BTYPE_NUM, UI_BTYPE_SCROLL, UI_BTYPE_SEPR, UI_BTYPE_TOGGLE, UI_BUT_DISABLED, UI_but_drawflag_enable(), UI_but_flag_disable(), UI_but_flag_enable(), UI_but_func_set(), UI_but_func_tooltip_set(), UI_BUT_NO_TOOLTIP, UI_BUT_UNDO, UI_EMBOSS, UI_EMBOSS_NONE, UI_icon_from_rnaptr(), ui_layout_list_set_labels_active(), UI_LIST_AUTO_SIZE_THRESHOLD, ARegion::ui_lists, UI_MAX_NAME_STR, UI_UL_DEFAULT_CLASS_NAME, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefButI(), uiDefButR_prop(), uiDefIconButBitI(), uiDefIconButI(), uiDefIconTextButR_prop(), uiItemL(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutGetContextStore(), uiLayoutListBox(), uiLayoutOverlap(), uiLayoutRow(), uilist_draw_filter_default(), uilist_draw_item_default(), uilist_filter_items_default(), uilist_item_tooltip_func(), uilist_item_use_dynamic_tooltip(), uilist_prepare(), uilist_resize_update_cb(), UILST_FLT_EXCLUDE, UILST_FLT_ITEM, UILST_FLT_SHOW, UILST_FLT_SORT_LOCK, UILST_FLT_SORT_REVERSE, UILST_LAYOUT_COMPACT, UILST_LAYOUT_DEFAULT, UILST_LAYOUT_GRID, UILST_SCROLL_TO_ACTIVE_ITEM, V2D_SCROLL_WIDTH, uiListDyn::visual_height, uiListLayoutdata::visual_items, and WM_uilisttype_find().
Referenced by draw_socket_list(), and node_composit_buts_file_output_ex().
| void uiTemplateMarker | ( | struct uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | userptr, | ||
| struct PointerRNA * | trackptr, | ||
| bool | compact | ||
| ) |
Definition at line 393 of file clip_buttons.c.
References add_v2_v2v2(), B_MARKER_FLAG, B_MARKER_OFFSET, B_MARKER_PAT_DIM, B_MARKER_POS, B_MARKER_SEARCH_DIM, B_MARKER_SEARCH_POS, BKE_movieclip_get_size(), BKE_movieclip_remap_scene_to_clip_frame(), BKE_tracking_marker_get(), BKE_tracking_marker_pattern_minmax(), MarkerUpdateCb::clip, col, MarkerUpdateCb::compact, PointerRNA::data, MovieTrackingMarker::flag, MarkerUpdateCb::framenr, height, IFACE_, MarkerUpdateCb::marker, marker_block_handler(), MARKER_DISABLED, MarkerUpdateCb::marker_flag, MarkerUpdateCb::marker_pat, MarkerUpdateCb::marker_pos, MarkerUpdateCb::marker_search, MarkerUpdateCb::marker_search_pos, marker_update_cb(), MEM_callocN, mul_v2_fl(), NULL, MovieTrackingMarker::pos, PROP_POINTER, ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), MovieTrackingMarker::search_max, MovieTrackingMarker::search_min, sub_v2_v2v2(), TIP_, to_pixel_space(), MarkerUpdateCb::track, TRACK_LOCKED, MarkerUpdateCb::track_offset, PointerRNA::type, UI_block_align_begin(), UI_block_align_end(), UI_block_func_handle_set(), UI_block_funcN_set(), UI_BTYPE_CHECKBOX_N, UI_BTYPE_LABEL, UI_BTYPE_NUM, UI_BTYPE_TOGGLE_N, UI_but_drawflag_enable(), UI_but_funcN_set(), UI_BUT_ICON_REVERSE, UI_but_number_precision_set(), UI_but_number_step_size_set(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefButBitI(), uiDefButF(), uiDefIconButBitI(), uiLayoutAbsoluteBlock(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutSetActive(), MarkerUpdateCb::user, and width.
| void uiTemplateMenuSearch | ( | uiLayout * | layout | ) |
Definition at line 1161 of file interface_template_search_menu.c.
References MenuSearch_Data::block, MenuSearch_Data::but, UI_block_layout_set_current(), UI_but_func_menu_search(), UI_UNIT_X, UI_UNIT_Y, uiDefSearchBut(), and uiLayoutGetBlock().
| void uiTemplateMovieClip | ( | struct uiLayout * | layout, |
| struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| bool | compact | ||
| ) |
Definition at line 103 of file clip_buttons.c.
References C, col, PointerRNA::data, IFACE_, NULL, PROP_POINTER, ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), blender::io::alembic::split(), PointerRNA::type, UI_BTYPE_LABEL, UI_TEMPLATE_ID_FILTER_ALL, uiDefBut(), uiItemO(), uiItemR(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetContextPointer(), uiLayoutSplit(), uiTemplateColorspaceSettings(), and uiTemplateID().
| void uiTemplateMovieclipInformation | ( | struct uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | userptr | ||
| ) |
Definition at line 773 of file clip_buttons.c.
References MovieClip::anim, BKE_movieclip_filename_for_frame(), BKE_movieclip_get_ibuf_flag(), BKE_movieclip_get_size(), BKE_movieclip_remap_scene_to_clip_frame(), BLI_path_slash_rfind(), BLI_snprintf(), BLI_strncpy_rlen(), ImBuf::channels, col, PointerRNA::data, file, FILE_MAX, MovieClip::flag, height, IMB_anim_get_fps(), IMB_freeImBuf(), len, MovieClip::len, MCLIP_SRC_SEQUENCE, MOVIECLIP_CACHE_SKIP, NULL, ImBuf::planes, PROP_POINTER, ptr, R_IMF_PLANES_RGBA, ImBuf::rect_float, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), MovieClip::source, str, TIP_, PointerRNA::type, UI_LAYOUT_ALIGN_RIGHT, uiItemL(), uiLayoutColumn(), uiLayoutSetAlignment(), and width.
| void uiTemplateNodeLink | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct bNodeTree * | ntree, | ||
| struct bNode * | node, | ||
| struct bNodeSocket * | input | ||
| ) |
Definition at line 678 of file node_templates.c.
References C, uiBut::flag, bNodeSocket::flag, bNode::flag, bNodeLink::fromnode, uiBut::func_argN, bNodeSocket::link, MEM_callocN, node, NodeLinkArg::node, NODE_ACTIVE_TEXTURE, node_socket_color_get(), ntree, NodeLinkArg::ntree, NULL, uiBut::poin, RNA_Node, RNA_pointer_create(), NodeLinkArg::sock, SOCK_HIDE_VALUE, SOCK_SHADER, bNodeSocket::type, UI_block_layout_set_current(), UI_but_drawflag_enable(), UI_BUT_ICON_LEFT, UI_BUT_NODE_ACTIVE, UI_but_node_link_set(), UI_but_type_set_menu_from_pulldown(), UI_MAX_NAME_STR, ui_node_sock_name(), ui_template_node_link_menu(), UI_UNIT_X, UI_UNIT_Y, uiDefIconMenuBut(), uiDefMenuBut(), and uiLayoutGetBlock().
Referenced by node_sockets_panel(), and ui_node_draw_input().
| void uiTemplateNodeView | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct bNodeTree * | ntree, | ||
| struct bNode * | node, | ||
| struct bNodeSocket * | input | ||
| ) |
Definition at line 872 of file node_templates.c.
References C, ListBase::first, bNode::flag, bNode::next, node, NODE_TEST, bNodeTree::nodes, ntree, ui_node_draw_input(), and ui_node_draw_node().
| void uiTemplateOperatorPropertyButs | ( | const struct bContext * | C, |
| uiLayout * | layout, | ||
| struct wmOperator * | op, | ||
| eButLabelAlign | label_align, | ||
| short | flag | ||
| ) |
Referenced by file_panel_operator(), wm_block_create_redo(), wm_block_dialog_create(), and wm_operator_ui_create().
Referenced by hud_panel_operator_redo_draw().
| void uiTemplateOperatorSearch | ( | uiLayout * | layout | ) |
Definition at line 129 of file interface_template_search_operator.c.
References UI_block_layout_set_current(), UI_but_func_operator_search(), UI_UNIT_X, UI_UNIT_Y, uiDefSearchBut(), and uiLayoutGetBlock().
| void uiTemplatePalette | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| bool | colors | ||
| ) |
| void uiTemplatePathBuilder | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname, | ||
| struct PointerRNA * | root_ptr, | ||
| const char * | text | ||
| ) |
Referenced by graph_panel_driverVar__singleProp().
| void uiTemplatePreview | ( | uiLayout * | layout, |
| struct bContext * | C, | ||
| struct ID * | id, | ||
| bool | show_buttons, | ||
| struct ID * | parent, | ||
| struct MTex * | slot, | ||
| const char * | preview_id | ||
| ) |
Definition at line 2767 of file interface_templates.c.
References B_MATPRV, BKE_idtype_idcode_to_name(), BKE_scene_uses_blender_eevee(), BLI_addtail(), BLI_findstring(), BLI_snprintf(), BLI_strncpy(), BLT_I18NCONTEXT_ID_LIGHT, C, col, CTX_data_scene(), CTX_IFACE_, CTX_wm_region(), do_preview_buttons(), ED_preview_draw(), ELEM, GS, uiPreview::height, id, Material::id, ID_LA, ID_LS, ID_MA, ID_TE, ID_WO, IFACE_, MEM_callocN, ID::name, NULL, uiPreview::preview_id, RNA_Material, RNA_pointer_create(), RNA_Texture, RNA_warning, tex, TEX_PR_BOTH, TEX_PR_OTHER, TEX_PR_TEXTURE, UI_block_func_handle_set(), UI_BTYPE_EXTRA, UI_BTYPE_GRIP, UI_BTYPE_ROW, UI_but_func_drawextra_set(), UI_ITEM_R_EXPAND, UI_MAX_NAME_STR, ARegion::ui_previews, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefButS(), uiDefIconButS(), uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetKeepAspect(), and uiLayoutSetScaleX().
| int uiTemplateRecentFiles | ( | struct uiLayout * | layout, |
| int | rows | ||
| ) |
Definition at line 7327 of file interface_templates.c.
References BLI_path_basename(), BLO_has_bfile_extension(), G, LISTBASE_FOREACH_INDEX, NULL, ptr, RNA_boolean_set(), RNA_string_set(), uiItemFullO(), and WM_OP_INVOKE_DEFAULT.
Definition at line 6823 of file interface_templates.c.
References BKE_reports_last_displayable(), BLF_width(), C, uiBut::col, CTX_wm_reports(), wmTimer::customdata, if(), Report::len, max_ii(), Report::message, min_ii(), NULL, ReportList::reporttimer, SPACE_INFO, TIP_, Report::type, UI_block_align_begin(), UI_block_align_end(), UI_block_emboss_get(), UI_block_emboss_set(), UI_BTYPE_BUT, UI_BTYPE_ROUNDBOX, UI_DPI_FAC, UI_EMBOSS_NONE, UI_fontstyle_set(), UI_GetThemeColorType4ubv(), UI_icon_colorid_from_report_type(), UI_icon_from_report_type(), UI_style_get(), UI_text_colorid_from_report_type(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefButO(), uiDefIconButO(), uiFontStyle::uifont_id, uiLayoutAbsolute(), uiLayoutGetBlock(), uiStyle::widgetlabel, width, ReportTimerInfo::widthfac, and WM_OP_INVOKE_REGION_WIN.
Definition at line 6613 of file interface_templates.c.
References blender::compositor::active, blender::compositor::area(), B_STOPANIM, B_STOPCLIP, B_STOPCOMPO, B_STOPFILE, B_STOPOTHER, B_STOPRENDER, B_STOPSEQ, BLI_snprintf(), uiButProgressbar::but, C, CTX_data_main(), CTX_wm_area(), CTX_wm_manager(), do_running_jobs(), ED_screen_animation_no_scrub(), G, IFACE_, wmWindowManager::is_interface_locked, LISTBASE_FOREACH, MEM_mallocN, NULL, ProgressTooltip_Store::owner, uiButProgressbar::progress, progress_tooltip_func(), scene, Main::scenes, SPACE_NODE, TIP_, UI_block_func_handle_set(), UI_block_layout_set_current(), UI_BTYPE_BUT, UI_BTYPE_LABEL, UI_BTYPE_PROGRESS_BAR, UI_but_func_tooltip_set(), UI_fontstyle_string_width(), UI_FSTYLE_WIDGET, UI_UNIT_X, UI_UNIT_Y, uiDefIconTextBut(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetActive(), ProgressTooltip_Store::wm, WM_JOB_TYPE_ANY, WM_JOB_TYPE_CLIP_BUILD_PROXY, WM_JOB_TYPE_CLIP_PREFETCH, WM_JOB_TYPE_CLIP_SOLVE_CAMERA, WM_JOB_TYPE_CLIP_TRACK_MARKERS, WM_JOB_TYPE_COMPOSITE, WM_JOB_TYPE_DPAINT_BAKE, WM_JOB_TYPE_FILESEL_READDIR, WM_JOB_TYPE_OBJECT_BAKE, WM_JOB_TYPE_OBJECT_BAKE_TEXTURE, WM_JOB_TYPE_OBJECT_SIM_FLUID, WM_JOB_TYPE_OBJECT_SIM_OCEAN, WM_JOB_TYPE_POINTCACHE, WM_JOB_TYPE_RENDER, WM_JOB_TYPE_SEQ_BUILD_PREVIEW, WM_JOB_TYPE_SEQ_BUILD_PROXY, WM_jobs_is_stopped(), WM_jobs_name(), WM_jobs_progress(), and WM_jobs_test().
| void uiTemplateSearch | ( | uiLayout * | layout, |
| bContext * | C, | ||
| PointerRNA * | ptr, | ||
| const char * | propname, | ||
| PointerRNA * | searchptr, | ||
| const char * | searchpropname, | ||
| const char * | newop, | ||
| const char * | unlinkop | ||
| ) |
Search menu to pick an item from a collection. A version of uiTemplateID that works for non-ID types.
Definition at line 1843 of file interface_templates.c.
References C, MEM_freeN, NULL, ptr, template_search_buttons(), and template_search_setup().
| 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, | ||
| const int | rows, | ||
| const int | cols | ||
| ) |
Definition at line 1860 of file interface_templates.c.
References C, MEM_freeN, NULL, TemplateSearch::preview_cols, TemplateSearch::preview_rows, ptr, template_search_buttons(), template_search_setup(), and TemplateSearch::use_previews.
| void uiTemplateTextureShow | ( | uiLayout * | layout, |
| const struct bContext * | C, | ||
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop | ||
| ) |
Referenced by template_ID().
Definition at line 545 of file buttons_texture.c.
References BLI_strncpy(), C, CTX_wm_space_properties(), uiBut::flag, ButsTextureUser::icon, ButsTextureUser::name, NULL, template_texture_user_menu(), SpaceProperties::texuser, TIP_, UI_BUT_ICON_SUBMENU, UI_but_type_set_menu_from_pulldown(), UI_MAX_NAME_STR, UI_UNIT_X, UI_UNIT_Y, uiDefIconTextMenuBut(), uiDefMenuBut(), uiItemL(), uiLayoutGetBlock(), and ButsContextTexture::user.
| void uiTemplateTrack | ( | struct uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 162 of file clip_buttons.c.
References col, PointerRNA::data, if(), PROP_POINTER, ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), MovieClipScopes::track_preview_height, PointerRNA::type, UI_BTYPE_GRIP, UI_BTYPE_TRACK_PREVIEW, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconButI(), uiLayoutColumn(), and uiLayoutGetBlock().
| void uiTemplateVectorscope | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 3758 of file interface_templates.c.
References col, PointerRNA::data, if(), PROP_POINTER, ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_Scopes, RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, UI_BTYPE_GRIP, UI_BTYPE_VECTORSCOPE, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconButI(), uiLayoutColumn(), uiLayoutGetBlock(), and Scopes::vecscope_height.
| void uiTemplateWaveform | ( | uiLayout * | layout, |
| struct PointerRNA * | ptr, | ||
| const char * | propname | ||
| ) |
Definition at line 3696 of file interface_templates.c.
References col, PointerRNA::data, PROP_POINTER, ptr, RNA_property_pointer_get(), RNA_property_type(), RNA_Scopes, RNA_struct_find_property(), RNA_struct_is_a(), PointerRNA::type, UI_BTYPE_GRIP, UI_BTYPE_WAVEFORM, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconButI(), uiLayoutColumn(), uiLayoutGetBlock(), and Scopes::wavefrm_height.