Torque2D Reference
Loading...
Searching...
No Matches
GuiTreeViewCtrl::TreeItem Class Reference

#include <guiTreeViewCtrl.h>

Inheritance diagram for GuiTreeViewCtrl::TreeItem:

Public Member Functions

 TreeItem ()
virtual ~TreeItem ()
Public Member Functions inherited from GuiListBoxCtrl::LBItem
 LBItem ()
virtual ~LBItem ()

Public Attributes

bool isOpen
U16 level
RectI triangleArea
bool isVisible
vector< TreeItem * > branchList
TreeItemtrunk
S32 iconFrame
Public Attributes inherited from GuiListBoxCtrl::LBItem
StringTableEntry itemText
bool isSelected
bool isActive
S32 ID
void * itemData
ColorF color
bool hasColor

Additional Inherited Members

Static Public Member Functions inherited from GuiListBoxCtrl::LBItem
static bool compByID (const LBItem *a, const LBItem *b)
static bool compByText (const LBItem *a, const LBItem *b)
Static Public Attributes inherited from GuiListBoxCtrl::LBItem
static bool sIncreasing = true

Constructor & Destructor Documentation

◆ TreeItem()

TreeItem ( )
inline

◆ ~TreeItem()

virtual ~TreeItem ( )
inlinevirtual

Member Data Documentation

◆ branchList

vector<TreeItem*> branchList

◆ iconFrame

S32 iconFrame

Which frame of the tree's icon sheet this row draws, or -1 for none. Asked of script once when the row is built rather than every frame - onRenderItem runs for every visible row of every frame, so a callback here would be a console call per row per frame.

◆ isOpen

bool isOpen

◆ isVisible

bool isVisible

◆ level

U16 level

◆ triangleArea

RectI triangleArea

◆ trunk

TreeItem* trunk

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