Torque3D Documentation / _generateds / GuiFileTreeCtrl

GuiFileTreeCtrl

Engine/source/gui/controls/guiFileTreeCtrl.h

More...

Public Types

enum
_Anonymous_ {
  Icon_Folder = 1
  Icon_FolderClosed = 2
  Icon_Doc = 3
}

Protected Functions

Protected Static Functions

bool
_setFileFilterValue(void * object, const char * index, const char * data)

Public Functions

DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that displays <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> hierarchical tree view of <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> path in the game <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1a702945180aa732857b380a007a7e2a21">file</a> <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">system.\n</a>" "Note that <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> enable expanding/collapsing of directories, the <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> must <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">be\n</a>" "placed inside <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> GuiScrollCtrl." )
bool
matchesFilters(const char * filename)
bool

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

bool
setSelectedPath(const char * path)

Public Static Functions

Detailed Description

Public Types

@96

Enumerator

Icon_Folder = 1
Icon_FolderClosed = 2
Icon_Doc = 3
typedef GuiTreeViewCtrl Parent 

Protected Attributes

String mFileFilter 
Vector< String > mFilters 
String mRootPath 
String mSelPath 

Private Functions

addPathToTree(StringTableEntry path)

recurseInsert(Item * parent, StringTableEntry path)

Protected Functions

_initFilters()

Protected Static Functions

_setFileFilterValue(void * object, const char * index, const char * data)

Public Functions

GuiFileTreeCtrl()

DECLARE_CONOBJECT(GuiFileTreeCtrl )

DECLARE_DESCRIPTION("A <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> that displays <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> hierarchical tree view of <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> path in the game <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1a702945180aa732857b380a007a7e2a21">file</a> <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">system.\n</a>" "Note that <a href="/coding/file/cmdgram_8cpp/#cmdgram_8cpp_1a5bafda9519252aa2d0fd038153f77dca">to</a> enable expanding/collapsing of directories, the <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> must <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">be\n</a>" "placed inside <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> GuiScrollCtrl." )

getSelectedPath()

matchesFilters(const char * filename)

onItemSelected(Item * item)

Reimplemented from: GuiTreeViewCtrl

onVirtualParentExpand(Item * item)

Reimplemented from: GuiTreeViewCtrl

onWake()

Reimplemented from: GuiControl

setSelectedPath(const char * path)

updateTree()

Public Static Functions

initPersistFields()