Blender
V3.3
|
Classes | |
class | AbstractView |
class | AbstractViewItem |
class | AbstractViewItemDragController |
class | AbstractViewItemDropController |
class | AbstractGridViewItem |
struct | GridViewStyle |
class | AbstractGridView |
class | GridViewBuilder |
class | PreviewGridItem |
struct | ContextPathItem |
class | TreeViewItemContainer |
class | AbstractTreeView |
class | AbstractTreeViewItem |
Abstract base class for defining a customizable tree-view item. More... | |
class | BasicTreeViewItem |
class | TreeViewBuilder |
class | ViewItemAPIWrapper |
class | BuildOnlyVisibleButtonsHelper |
class | GridViewLayoutBuilder |
class | TreeViewLayoutBuilder |
Functions | |
void | context_path_add_generic (Vector< ContextPathItem > &path, StructRNA &rna_type, void *ptr, const BIFIconID icon_override=ICON_NONE) |
void | attribute_search_add_items (StringRefNull str, bool can_create_attribute, Span< const nodes::geometry_nodes_eval_log::GeometryAttributeInfo * > infos, uiSearchItems *items, bool is_first) |
static StringRef | attribute_data_type_string (const eCustomDataType type) |
static StringRef | attribute_domain_string (const eAttrDomain domain) |
static bool | attribute_search_item_add (uiSearchItems *items, const GeometryAttributeInfo &item) |
Breadcrumb Template | |
void | template_breadcrumbs (uiLayout &layout, Span< ContextPathItem > context_path) |
Renaming | |
static AbstractViewItem * | find_item_from_rename_button (const uiBut &rename_but) |
static void | rename_button_fn (bContext *UNUSED(C), void *arg, char *UNUSED(origstr)) |
Tree-View Item Container | |
Base class for tree-view and tree-view items, so both can contain children. | |
using | TreeViewOrItem = TreeViewItemContainer |
ENUM_OPERATORS (TreeViewItemContainer::IterOptions, TreeViewItemContainer::IterOptions::SkipCollapsed) | |
using blender::ui::TreeViewOrItem = typedef TreeViewItemContainer |
The container class is the base for both the tree-view and the items. This alias gives it a clearer name for handles that accept both. Use whenever something wants to act on child-items, irrespective of if they are stored at root level or as children of some other item.
Definition at line 102 of file UI_tree_view.hh.
|
static |
Definition at line 27 of file interface_template_attribute_search.cc.
References IFACE_, rna_enum_attribute_type_items, RNA_enum_name_from_value(), and type.
Referenced by attribute_search_item_add().
|
static |
Definition at line 34 of file interface_template_attribute_search.cc.
References IFACE_, rna_enum_attribute_domain_items, and RNA_enum_name_from_value().
Referenced by attribute_search_item_add().
void blender::ui::attribute_search_add_items | ( | StringRefNull | str, |
bool | can_create_attribute, | ||
Span< const nodes::geometry_nodes_eval_log::GeometryAttributeInfo * > | infos, | ||
uiSearchItems * | items, | ||
bool | is_first | ||
) |
Definition at line 52 of file interface_template_attribute_search.cc.
References blender::bke::allow_procedural_attribute_access(), ATTR_DOMAIN_FACE, attribute_search_item_add(), BLI_string_search_add(), BLI_string_search_free(), BLI_string_search_new(), BLI_string_search_query(), MEM_freeN, blender::nodes::geometry_nodes_eval_log::GeometryAttributeInfo::name, str, and UI_search_item_add().
Referenced by blender::ed::space_node::attribute_search_update_fn(), and attribute_search_update_fn().
|
static |
Definition at line 41 of file interface_template_attribute_search.cc.
References attribute_data_type_string(), attribute_domain_string(), blender::nodes::geometry_nodes_eval_log::GeometryAttributeInfo::data_type, blender::nodes::geometry_nodes_eval_log::GeometryAttributeInfo::domain, blender::nodes::geometry_nodes_eval_log::GeometryAttributeInfo::name, UI_BUT_HAS_SEP_CHAR, UI_MENU_ARROW_SEP, UI_search_item_add(), and UI_SEP_CHAR.
Referenced by attribute_search_add_items().
void blender::ui::context_path_add_generic | ( | Vector< ContextPathItem > & | path, |
StructRNA & | rna_type, | ||
void * | ptr, | ||
const BIFIconID | icon_override = ICON_NONE |
||
) |
Definition at line 24 of file interface_context_path.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), ptr, RNA_pointer_create(), RNA_struct_name_get_alloc(), RNA_struct_ui_icon(), and PointerRNA::type.
Referenced by blender::ed::space_node::context_path_add_node_tree_and_node_groups(), blender::ed::space_node::context_path_add_object_data(), blender::ed::space_node::get_context_path_node_compositor(), blender::ed::space_node::get_context_path_node_geometry(), and blender::ed::space_node::get_context_path_node_shader().
blender::ui::ENUM_OPERATORS | ( | TreeViewItemContainer::IterOptions | , |
TreeViewItemContainer::IterOptions::SkipCollapsed | |||
) |
|
static |
Definition at line 93 of file abstract_view_item.cc.
References BLI_assert, uiBut::block, uiBlock::buttons, blender::ui::AbstractViewItem::get_view(), blender::ui::AbstractViewItem::is_renaming(), LISTBASE_FOREACH, uiBut::poin, uiBut::type, UI_BTYPE_TEXT, UI_BTYPE_VIEW_ITEM, view, and uiButViewItem::view_item.
Referenced by rename_button_fn().
|
static |
Definition at line 115 of file abstract_view_item.cc.
References BLI_assert, find_item_from_rename_button(), and blender::ui::AbstractViewItem::rename_apply().
Referenced by blender::ui::AbstractViewItem::add_rename_button().
void blender::ui::template_breadcrumbs | ( | uiLayout & | layout, |
Span< ContextPathItem > | context_path | ||
) |
Definition at line 51 of file interface_context_path.cc.
References blender::Span< T >::index_range(), UI_LAYOUT_ALIGN_LEFT, uiItemL(), uiLayoutRow(), and uiLayoutSetAlignment().
Referenced by blender::ed::space_node::draw_tree_path().