|
Blender V5.3
|
Inherits blender::ui::AbstractTreeView.
Public Member Functions | |
| AssetCatalogTreeView (asset_system::AssetLibrary *library, FileAssetSelectParams *params, SpaceFile &space_file) | |
| void | build_tree () override |
| void | activate_catalog_by_id (CatalogID catalog_id) |
| Public Member Functions inherited from blender::ui::AbstractTreeView | |
| ~AbstractTreeView () override=default | |
| void | draw_overlays (const ARegion ®ion, const Block &block) const override |
| void | foreach_item (ItemIterFn iter_fn, IterOptions options=IterOptions::None) const |
| void | foreach_root_item (ItemIterFn iter_fn) const |
| bool | is_fully_visible () const override |
| void | scroll (ViewScrollDirection direction) override |
| void | set_default_rows (int default_rows) |
| TreeViewSortOrder | invert_sort_type_get () const |
| void | scroll_active_into_view (bContext *C, bool scroll_active_to_center=false) override |
| Public Member Functions inherited from blender::ui::AbstractView | |
| virtual | ~AbstractView ()=default |
| void | register_item (AbstractViewItem &item) |
| virtual std::unique_ptr< DropTargetInterface > | create_drop_target () |
| virtual bool | listen (const wmNotifier &) const |
| virtual bool | begin_filtering (const bContext &C) const |
| bool | is_renaming () const |
| bool | begin_renaming () |
| void | end_renaming () |
| Span< char > | get_rename_buffer () const |
| MutableSpan< char > | get_rename_buffer () |
| std::optional< rcti > | get_bounds () const |
| std::string | get_context_menu_title () const |
| void | set_context_menu_title (const std::string &title) |
| bool | get_popup_keep_open () const |
| void | set_popup_keep_open () |
| void | clear_search_highlight () |
| void | allow_multiselect_items () |
| bool | is_multiselect_supported () const |
| Public Member Functions inherited from blender::ui::TreeViewItemContainer | |
| template<class ItemT, typename... Args> | |
| ItemT & | add_tree_item (Args &&...args) |
| AbstractTreeViewItem & | add_tree_item (std::unique_ptr< AbstractTreeViewItem > item) |
Friends | |
| class | AssetCatalogTreeViewItem |
| class | AssetCatalogDropTarget |
| class | AssetCatalogTreeViewAllItem |
Definition at line 54 of file asset_catalog_tree_view.cc.
| blender::ed::asset_browser::AssetCatalogTreeView::AssetCatalogTreeView | ( | asset_system::AssetLibrary * | library, |
| FileAssetSelectParams * | params, | ||
| SpaceFile & | space_file ) |
Definition at line 190 of file asset_catalog_tree_view.cc.
| void blender::ed::asset_browser::AssetCatalogTreeView::activate_catalog_by_id | ( | CatalogID | catalog_id | ) |
Definition at line 272 of file asset_catalog_tree_view.cc.
References blender::FILE_SHOW_ASSETS_FROM_CATALOG, NC_SPACE, ND_SPACE_ASSET_PARAMS, and blender::WM_main_add_notifier().
Referenced by AssetCatalogTreeViewAllItem, blender::ed::asset_browser::AssetCatalogDropTarget::drop_asset_catalog_into_catalog(), blender::ed::asset_browser::AssetCatalogTreeViewItem::on_activate(), and blender::ed::asset_browser::AssetCatalogDragController::on_drag_start().
|
overridevirtual |
Implements blender::ui::AbstractTreeView.
Definition at line 207 of file asset_catalog_tree_view.cc.
References blender::ASSET_LIBRARY_ESSENTIALS, AssetCatalogTreeViewAllItem, blender::FILE_SHOW_ASSETS_WITHOUT_CATALOG, and blender::ui::AbstractTreeViewItem::uncollapse_by_default().
Referenced by AssetCatalogTreeViewAllItem.
|
friend |
Definition at line 62 of file asset_catalog_tree_view.cc.
References AssetCatalogDropTarget.
Referenced by AssetCatalogDropTarget.
|
friend |
Definition at line 63 of file asset_catalog_tree_view.cc.
References activate_catalog_by_id(), AssetCatalogTreeViewAllItem, and build_tree().
Referenced by AssetCatalogTreeViewAllItem, and build_tree().
|
friend |
Definition at line 61 of file asset_catalog_tree_view.cc.
References AssetCatalogTreeViewItem.
Referenced by AssetCatalogTreeViewItem.