Blender V4.5
blender::ed::outliner::TreeElementIDGPLegacy Class Referencefinal

#include <tree_element_id_gpencil_legacy.hh>

Inherits blender::ed::outliner::TreeElementID.

Public Member Functions

 TreeElementIDGPLegacy (TreeElement &legacy_te, bGPdata &gpd)
 
void expand (SpaceOutliner &) const override
 
- Public Member Functions inherited from blender::ed::outliner::TreeElementID
 TreeElementID (TreeElement &legacy_te, ID &id)
 
bool expand_poll (const SpaceOutliner &) const override
 
ID & get_ID ()
 
- 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::TreeElementID
static std::unique_ptr< TreeElementID > create_from_id (TreeElement &legacy_te, ID &id)
 
- 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::TreeElementID
void expand_animation_data (AnimData *) const
 
- 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::TreeElementID
ID & id_
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElement & legacy_te_
 
AbstractTreeDisplay * display_
 

Detailed Description

Definition at line 17 of file tree_element_id_gpencil_legacy.hh.

Constructor & Destructor Documentation

◆ TreeElementIDGPLegacy()

blender::ed::outliner::TreeElementIDGPLegacy::TreeElementIDGPLegacy ( TreeElement & legacy_te,
bGPdata & gpd )

Definition at line 20 of file tree_element_id_gpencil_legacy.cc.

Member Function Documentation

◆ expand()

void blender::ed::outliner::TreeElementIDGPLegacy::expand ( SpaceOutliner & ) const
overridevirtual

Let the type add its own children.

Reimplemented from blender::ed::outliner::TreeElementID.

Definition at line 25 of file tree_element_id_gpencil_legacy.cc.

References bGPdata::adt, and blender::ed::outliner::TreeElementID::expand_animation_data().


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