|
Blender V4.3
|
#include <tree_element_seq.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
| TreeElementSequence (TreeElement &legacy_te, Sequence &sequence) | |
| bool | expand_poll (const SpaceOutliner &) const override |
| void | expand (SpaceOutliner &) const override |
| Sequence & | get_sequence () const |
| SequenceType | get_sequence_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::TreeElementSequence::TreeElementSequence | ( | TreeElement & | legacy_te, |
| Sequence & | sequence ) |
Definition at line 21 of file tree_element_seq.cc.
References BLI_assert, blender::ed::outliner::TreeElement::name, Sequence::name, blender::ed::outliner::TreeElement::store_elem, TSE_SEQUENCE, 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, SEQ_TYPE_META, Sequence::seqbase, Sequence::strip, blender::ed::outliner::TreeElement::subtree, TSE_SEQ_STRIP, TSE_SEQUENCE, and Sequence::type.
|
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.
References SEQ_TYPE_EFFECT, and Sequence::type.
| Sequence & blender::ed::outliner::TreeElementSequence::get_sequence | ( | ) | const |
Definition at line 51 of file tree_element_seq.cc.
Referenced by blender::ed::outliner::outliner_select_sync_from_sequence(), blender::ed::outliner::outliner_select_sync_to_sequence(), blender::ed::outliner::sequence_fn(), blender::ed::outliner::tree_element_sequence_activate(), and blender::ed::outliner::tree_element_sequence_state_get().
| SequenceType blender::ed::outliner::TreeElementSequence::get_sequence_type | ( | ) | const |
Definition at line 56 of file tree_element_seq.cc.
References Sequence::type.
Referenced by blender::ed::outliner::tree_element_get_icon().