|
Blender V5.3
|
#include <tree_element_seq.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
| TreeElementStripDuplicate (TreeElement &legacy_te, Strip &strip) | |
| Strip & | get_strip () const |
| std::optional< BIFIconID > | get_icon () const override |
| Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| virtual | ~AbstractTreeElement ()=default |
| virtual bool | expand_poll (const SpaceOutliner &) const |
| TreeElement & | get_legacy_element () |
| virtual StringRefNull | get_warning () const |
| void | print_path () |
Static Public Member Functions | |
| static const void * | persistent_ptr (Strip &strip) |
| Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
Static Public Attributes | |
| static constexpr eTreeStoreElemType | element_type = TSE_STRIP_DUP |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| virtual void | expand (SpaceOutliner &) const |
| template<typename ElementType, typename... Args> | |
| TreeElement * | add_element (const TreeElementAddParams ¶ms, Args &&...args) const |
| TreeElement * | add_id_element (const TreeElementAddParams ¶ms, ID *id) const |
| Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 65 of file tree_element_seq.hh.
| blender::ed::outliner::TreeElementStripDuplicate::TreeElementStripDuplicate | ( | TreeElement & | legacy_te, |
| Strip & | strip ) |
Definition at line 119 of file tree_element_seq.cc.
References blender::ed::outliner::AbstractTreeElement::AbstractTreeElement(), blender::BLI_assert(), blender::animrig::Strip::data(), blender::ed::outliner::AbstractTreeElement::legacy_te_, blender::ed::outliner::TreeElement::name, blender::ed::outliner::TreeElement::store_elem, blender::TSE_STRIP_DUP, and blender::TreeStoreElem::type.
|
inlineoverridevirtual |
Define the icon to be displayed for this element. If this returns an icon, this will be displayed. Otherwise, tree_element_get_icon() may still determine an icon. By default no value is returned (#std::nullopt).
All elements should be ported to use this over tree_element_get_icon().
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 81 of file tree_element_seq.hh.
| Strip & blender::ed::outliner::TreeElementStripDuplicate::get_strip | ( | ) | const |
Definition at line 126 of file tree_element_seq.cc.
Referenced by blender::ed::outliner::tree_element_strip_dup_state_get().
|
inlinestatic |
Strips have no owner ID, identify them by the strip itself.
Definition at line 74 of file tree_element_seq.hh.
|
staticconstexpr |
Definition at line 69 of file tree_element_seq.hh.