mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 15:13:45 +00:00
Tweaks some handling of guiTreeViewObj so you don't necessarily have to delete an object if you delete the tree item, as well as the ability to look up the object id via tree item.
Also removes spam in the event that an item on the tree is more of a data representation rather than literal object.
This commit is contained in:
parent
775ca57047
commit
a937bf44f0
2 changed files with 29 additions and 4 deletions
|
|
@ -554,6 +554,7 @@ class GuiTreeViewCtrl : public GuiArrayCtrl
|
|||
S32 findItemByName(const char *name);
|
||||
S32 findItemByValue(const char *name);
|
||||
S32 findItemByObjectId(S32 iObjId);
|
||||
S32 getItemObject(S32 itemId);
|
||||
|
||||
void sortTree( bool caseSensitive, bool traverseHierarchy, bool parentsFirst );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue