|
Blender V5.0
|
#include <tree_element_seq.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
| TreeElementStrip (TreeElement &legacy_te, Strip &strip) | |
| bool | expand_poll (const SpaceOutliner &) const override |
| void | expand (SpaceOutliner &) const override |
| Strip & | get_strip () const |
| StripType | get_strip_type () const |
| Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| virtual | ~AbstractTreeElement ()=default |
| TreeElement & | get_legacy_element () |
| virtual StringRefNull | get_warning () const |
| virtual std::optional< BIFIconID > | get_icon () const |
| void | print_path () |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static std::unique_ptr< AbstractTreeElement > | create_from_type (int type, TreeElement &legacy_te, ID *owner_id, void *create_data) |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
| Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| TreeElement * | add_element (ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) const |
| Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 20 of file tree_element_seq.hh.
| blender::ed::outliner::TreeElementStrip::TreeElementStrip | ( | TreeElement & | legacy_te, |
| Strip & | strip ) |
Definition at line 21 of file tree_element_seq.cc.
References blender::ed::outliner::AbstractTreeElement::AbstractTreeElement(), BLI_assert, blender::ed::outliner::TreeElement::name, blender::ed::outliner::TreeElement::store_elem, TSE_STRIP, and TreeStoreElem::type.
|
overridevirtual |
Let the type add its own children.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 33 of file tree_element_seq.cc.
References blender::ed::outliner::AbstractTreeElement::add_element(), blender::ed::outliner::AbstractTreeElement::legacy_te_, LISTBASE_FOREACH, Strip::seqbase, STRIP_TYPE_META, TSE_STRIP, and TSE_STRIP_DATA.
|
overridevirtual |
Check if the type is expandable in current context.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 28 of file tree_element_seq.cc.
| Strip & blender::ed::outliner::TreeElementStrip::get_strip | ( | ) | const |
Definition at line 51 of file tree_element_seq.cc.
Referenced by blender::ed::outliner::outliner_select_sync_from_strip(), blender::ed::outliner::outliner_select_sync_to_strip(), blender::ed::outliner::sequence_fn(), blender::ed::outliner::tree_element_strip_activate(), and blender::ed::outliner::tree_element_strip_state_get().
| StripType blender::ed::outliner::TreeElementStrip::get_strip_type | ( | ) | const |
Definition at line 56 of file tree_element_seq.cc.
Referenced by blender::ed::outliner::tree_element_get_icon().