16#include "RNA_prototypes.hh"
31 char name_buf[128], *name;
38 if (&rna_type == &RNA_NodeTree) {
43 path.
append({name, icon, 1});
45 if (name != name_buf) {
64 uiItemL(sub_row,
"", ICON_RIGHTARROW_THIN);
67 sub_row, context_path[i].name.c_str(), context_path[i].icon,
false,
false);
#define ID_REAL_USERS(id)
void UI_but_icon_indicator_number_set(uiBut *but, const int indicator_number)
void uiItemL(uiLayout *layout, const char *name, int icon)
uiLayout * uiLayoutRow(uiLayout *layout, bool align)
void uiLayoutSetAlignment(uiLayout *layout, char alignment)
uiBut * uiItemL_ex(uiLayout *layout, const char *name, int icon, bool highlight, bool redalert)
constexpr IndexRange index_range() const
void append(const T &value)
void MEM_freeN(void *vmemh)
void template_breadcrumbs(uiLayout &layout, Span< ContextPathItem > context_path)
void context_path_add_generic(Vector< ContextPathItem > &path, StructRNA &rna_type, void *ptr, const BIFIconID icon_override=ICON_NONE)
char * RNA_struct_name_get_alloc(PointerRNA *ptr, char *fixedbuf, int fixedlen, int *r_len)
int RNA_struct_ui_icon(const StructRNA *type)
PointerRNA RNA_pointer_create(ID *id, StructRNA *type, void *data)