Blender V4.3
blender::ed::outliner::TreeElementSequence Class Reference

#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
 
Sequenceget_sequence () const
 
SequenceType get_sequence_type () const
 
- Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
 
TreeElementget_legacy_element ()
 
virtual StringRefNull get_warning () const
 
virtual std::optional< BIFIconIDget_icon () const
 
void print_path ()
 

Additional Inherited Members

- Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static std::unique_ptr< AbstractTreeElementcreate_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)
 
TreeElementadd_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
TreeElementlegacy_te_
 
AbstractTreeDisplaydisplay_
 

Detailed Description

Definition at line 20 of file tree_element_seq.hh.

Constructor & Destructor Documentation

◆ TreeElementSequence()

blender::ed::outliner::TreeElementSequence::TreeElementSequence ( TreeElement & legacy_te,
Sequence & sequence )

Member Function Documentation

◆ expand()

◆ expand_poll()

bool blender::ed::outliner::TreeElementSequence::expand_poll ( const SpaceOutliner & ) const
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.

◆ get_sequence()

◆ get_sequence_type()

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().


The documentation for this class was generated from the following files: