torque Torque Game Engine Documentation
TGE Version 1.5.2

GuiDirectoryTreeCtrl Class Reference

#include <guiDirectoryTreeCtrl.h>

Inheritance diagram for GuiDirectoryTreeCtrl:

Inheritance graph
[legend]

Public Types

enum  {
  Icon_Folder = 1,
  Icon_FolderClosed
}

Public Member Functions

 GuiDirectoryTreeCtrl ()
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
bool onAdd ()
 Called when this object is added to the scene.
bool onVirtualParentExpand (Item *item)
void onItemSelected (Item *item)
StringTableEntry getSelectedPath ()
bool setSelectedPath (StringTableEntry path)
bool buildIconTable (const char *icons)
StringTableEntry getUnit (const char *string, U32 index, const char *set)
StringTableEntry getUnits (const char *string, S32 startIndex, S32 endIndex, const char *set)
U32 getUnitCount (const char *string, const char *set)
 DECLARE_CONOBJECT (GuiDirectoryTreeCtrl)

Protected Attributes

StringTableEntry mSelPath

Private Types

typedef GuiTreeViewCtrl Parent

Private Member Functions

void recurseInsert (Item *parent, StringTableEntry path)
void addPathToTree (StringTableEntry path)

Member Typedef Documentation

Reimplemented from GuiTreeViewCtrl.


Member Enumeration Documentation

anonymous enum

Enumerator:
Icon_Folder 
Icon_FolderClosed 


Constructor & Destructor Documentation

GuiDirectoryTreeCtrl::GuiDirectoryTreeCtrl (  ) 


Member Function Documentation

void GuiDirectoryTreeCtrl::recurseInsert ( Item parent,
StringTableEntry  path 
) [private]

void GuiDirectoryTreeCtrl::addPathToTree ( StringTableEntry  path  )  [private]

bool GuiDirectoryTreeCtrl::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiTreeViewCtrl.

bool GuiDirectoryTreeCtrl::onAdd (  )  [virtual]

Called when this object is added to the scene.

Reimplemented from GuiControl.

bool GuiDirectoryTreeCtrl::onVirtualParentExpand ( Item item  ) 

void GuiDirectoryTreeCtrl::onItemSelected ( Item item  ) 

StringTableEntry GuiDirectoryTreeCtrl::getSelectedPath (  ) 

bool GuiDirectoryTreeCtrl::setSelectedPath ( StringTableEntry  path  ) 

bool GuiDirectoryTreeCtrl::buildIconTable ( const char *  icons  ) 

Reimplemented from GuiTreeViewCtrl.

StringTableEntry GuiDirectoryTreeCtrl::getUnit ( const char *  string,
U32  index,
const char *  set 
)

StringTableEntry GuiDirectoryTreeCtrl::getUnits ( const char *  string,
S32  startIndex,
S32  endIndex,
const char *  set 
)

U32 GuiDirectoryTreeCtrl::getUnitCount ( const char *  string,
const char *  set 
)

GuiDirectoryTreeCtrl::DECLARE_CONOBJECT ( GuiDirectoryTreeCtrl   ) 


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen