Blender
V3.3
|
#include <tree_element_seq.hh>
Public Member Functions | |
TreeElementSequence (TreeElement &legacy_te, Sequence &sequence) | |
bool | expandPoll (const SpaceOutliner &) const override |
void | expand (SpaceOutliner &) const override |
Sequence & | getSequence () const |
![]() | |
virtual | ~AbstractTreeElement ()=default |
virtual bool | isExpandValid () const |
TreeElement & | getLegacyElement () |
virtual StringRefNull | getWarning () const |
virtual std::optional< BIFIconID > | getIcon () const |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< AbstractTreeElement > | createFromType (int type, TreeElement &legacy_te, void *idv) |
static void | uncollapse_by_default (TreeElement *legacy_te) |
![]() | |
AbstractTreeElement (TreeElement &legacy_te) | |
![]() | |
TreeElement & | legacy_te_ |
Definition at line 16 of file tree_element_seq.hh.
blender::ed::outliner::TreeElementSequence::TreeElementSequence | ( | TreeElement & | legacy_te, |
Sequence & | sequence | ||
) |
Definition at line 19 of file tree_element_seq.cc.
References BLI_assert, TreeElement::idcode, TreeElement::name, Sequence::name, TreeElement::store_elem, TSE_SEQUENCE, TreeStoreElem::type, and Sequence::type.
|
overridevirtual |
Let the type add its own children.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 38 of file tree_element_seq.cc.
References blender::ed::outliner::AbstractTreeElement::legacy_te_, LISTBASE_FOREACH, blender::ed::outliner::outliner_add_element(), SEQ_TYPE_META, Sequence::seqbase, Sequence::strip, 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 33 of file tree_element_seq.cc.
References SEQ_TYPE_EFFECT, and Sequence::type.
Sequence & blender::ed::outliner::TreeElementSequence::getSequence | ( | ) | const |
Definition at line 58 of file tree_element_seq.cc.
Referenced by sequence_fn(), tree_element_sequence_activate(), and tree_element_sequence_state_get().