MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / _isRootLevelItem

Function _isRootLevelItem

Engine/source/gui/controls/guiTreeViewCtrl.h:461–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 virtual bool isValidDragTarget( Item* item );
460
461 bool _isRootLevelItem( Item* item ) const
462 {
463 return ( item == mRoot && mShowRoot ) || ( item->mParent == mRoot && !mShowRoot );
464 }
465
466 /// For inspector tree views, this is hooked to the SetModificationSignal of sets
467 /// so that the tree view knows when it needs to refresh.

Callers 1

onRenderCellMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected