|
Blender V4.5
|
Inherits blender::ui::AbstractTreeView.
Public Member Functions | |
| LayerTreeView (GreasePencil &grease_pencil) | |
| void | build_tree () override |
| Public Member Functions inherited from blender::ui::AbstractTreeView | |
| ~AbstractTreeView () override=default | |
| void | draw_overlays (const ARegion ®ion, const uiBlock &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 |
| AbstractTreeViewItem * | find_hovered (const ARegion ®ion, const int2 &xy) |
| void | set_default_rows (int default_rows) |
| 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 () |
| 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) |
Definition at line 36 of file interface_template_grease_pencil_layer_tree.cc.
|
inlineexplicit |
Definition at line 38 of file interface_template_grease_pencil_layer_tree.cc.
|
overridevirtual |
Implements blender::ui::AbstractTreeView.
Definition at line 527 of file interface_template_grease_pencil_layer_tree.cc.
References GreasePencilLayerTreeGroup::children, LISTBASE_FOREACH_BACKWARD, and GreasePencil::root_group_ptr.